* @return boolean
*/
public function isAccessible(User $user = null);
-}
\ No newline at end of file
+}
<?php
namespace wcf\data\article\category;
use wcf\data\category\AbstractDecoratedCategory;
-use wcf\data\IAccessibleObject;
use wcf\data\user\User;
use wcf\data\user\UserProfile;
+use wcf\data\IAccessibleObject;
use wcf\data\ITitledLinkObject;
use wcf\system\category\CategoryHandler;
use wcf\system\category\CategoryPermissionHandler;
<?php
namespace wcf\system\page\handler;
use wcf\data\category\AbstractDecoratedCategory;
-use wcf\data\ILinkableObject;
use wcf\data\object\type\ObjectTypeCache;
+use wcf\data\ILinkableObject;
use wcf\system\database\util\PreparedStatementConditionBuilder;
use wcf\system\exception\ParentClassException;
use wcf\system\WCF;
return $results;
}
-}
\ No newline at end of file
+}
// fallback to default value of AbstractMenuPageHandler::isVisible()
return true;
}
-}
\ No newline at end of file
+}
* @since 3.0
*/
trait TDecoratedCategoryOnlineLocationLookupPageHandler {
- use TDecoratedCategoryOnlineLocationPageHandler;
use TDecoratedCategoryLookupPageHandler;
use TDecoratedCategoryMenuPageHandler;
+ use TDecoratedCategoryOnlineLocationPageHandler;
}
<?php
namespace wcf\system\page\handler;
use wcf\data\category\AbstractDecoratedCategory;
-use wcf\data\IAccessibleObject;
use wcf\data\page\Page;
use wcf\data\user\online\UserOnline;
+use wcf\data\IAccessibleObject;
use wcf\system\exception\ParentClassException;
use wcf\system\WCF;
* @since 3.0
*/
class UserPageHandler extends AbstractLookupPageHandler implements IOnlineLocationPageHandler {
- use TUserOnlineLocationPageHandler;
use TUserLookupPageHandler;
+ use TUserOnlineLocationPageHandler;
/**
* @inheritDoc