*/
class DefaultPageMenuItemProvider extends DatabaseObjectDecorator implements IPageMenuItemProvider {
/**
- * @see wcf\data\DatabaseObjectDecorator::$baseClass
+ * @see wcf\data\DatabaseObjectDecorator::$baseClass
*/
protected static $baseClass = 'wcf\data\page\menu\item\PageMenuItem';
/**
- * @see wcf\system\menu\page\IPageMenuItemProvider::isVisible()
+ * @see wcf\system\menu\page\IPageMenuItemProvider::isVisible()
*/
public function isVisible() {
return true;
}
/**
- * @see wcf\system\menu\page\IPageMenuItemProvider::getNotifications()
+ * @see wcf\system\menu\page\IPageMenuItemProvider::getNotifications()
*/
public function getNotifications() {
return 0;
/**
* Returns true if the associated menu item should be visible for the active user.
*
- * @return boolean
+ * @return boolean
*/
public function isVisible();
/**
* Returns the number of notifications for the associated menu item.
*
- * @return boolean
+ * @return boolean
*/
public function getNotifications();
}
*/
class PageMenu extends TreeMenu {
/**
- * @see wcf\system\menu\TreeMenu::loadCache()
+ * @see wcf\system\menu\TreeMenu::loadCache()
*/
protected function loadCache() {
parent::loadCache();
}
/**
- * @see wcf\system\menu\TreeMenu::checkMenuItem()
+ * @see wcf\system\menu\TreeMenu::checkMenuItem()
*/
protected function checkMenuItem(ITreeMenuItem $item) {
if (!parent::checkMenuItem($item)) return false;