Seditio Source
Root |
./othercms/xenForo 2.2.8/src/XF/AdminSearch/Notice.php
<?php

namespace XF\AdminSearch;

class
Notice extends AbstractFieldSearch
{
    public function
getDisplayOrder()
    {
        return
45;
    }

    protected function
getFinderName()
    {
        return
'XF:Notice';
    }

    protected function
getContentIdName()
    {
        return
'notice_id';
    }

    protected function
getRouteName()
    {
        return
'notices/edit';
    }

    public function
isSearchable()
    {
        return \
XF::visitor()->hasAdminPermission('notice');
    }
}