XenForo
Administrative
- Thread starter
- Admin
- #1
Well, xF Nodes entity doesn't have a search handler.
So I added my own for a custom function:
Spoiler
PHP:
Read more
ادامه مطلب...
So I added my own for a custom function:
Spoiler
PHP:
Code:
class Node extends AbstractData
{
public function getEntityWith($forView = false)
{
$get = [];
if ($forView)
{
$visitor = \XF::visitor();
$get[] = 'Permissions|' . $visitor->permission_combination_id;
}
return $get;
}
public function getIndexData(Entity $entity)
{
if...
Read more
ادامه مطلب...