authorise('core.create', 'com_pagebuilderck') || (count($user->getAuthorisedCategories('com_pagebuilderck', 'core.create')))); if ($authorised !== true) { throw new Exception(JText::_('JERROR_ALERTNOAUTHOR'), 403); return false; } $this->menus = $this->get('Menus'); $this->articles = $this->get('ArticleCategoriesRoot'); $this->items = $this->get('Files'); parent::display($tpl); } }