public function getAllPermissionMessages() { $out = array(); foreach ($this->credits->allActions as $action) { $out[$action] = $this->credits->getErrorMessage($action); } return $out; }
public function fullActivate() { $navigation = OW::getNavigation(); $navigation->addMenuItem(OW_Navigation::MAIN, 'equestions-index', 'equestions', 'main_menu_list', OW_Navigation::VISIBLE_FOR_ALL); $widgetService = BOL_ComponentAdminService::getInstance(); $widget = $widgetService->addWidget('EQUESTIONS_CMP_IndexWidget', false); $widgetService->addWidgetToPlace($widget, BOL_ComponentService::PLACE_INDEX); require_once dirname(__FILE__) . DS . 'classes' . DS . 'credits.php'; $credits = new EQUESTIONS_CLASS_Credits(); $credits->triggerCreditActionsAdd(); }