function before_filter(&$action, &$args) { parent::before_filter($action, $args); if (FleximportConfig::get("MAXIMUM_EXECUTION_TIME")) { set_time_limit(FleximportConfig::get("MAXIMUM_EXECUTION_TIME")); } }
function before_filter(&$action, &$args) { parent::before_filter($action, $args); if (!$GLOBALS['perm']->have_perm("root")) { throw new AccessDeniedException(); } Navigation::activateItem("/fleximport/config"); }
function before_filter(&$action, &$args) { parent::before_filter($action, $args); Navigation::activateItem("/admin/config/lernmarktplatz"); if (!$GLOBALS['perm']->have_perm("root")) { throw new AccessDeniedException(); } }
function before_filter(&$action, &$args) { parent::before_filter($action, $args); if (!$GLOBALS['perm']->have_perm("root")) { throw new AccessDeniedException(); } PageLayout::addScript($this->plugin->getPluginURL() . "/assets/fleximport.js"); Navigation::activateItem("/fleximport/config"); }
function before_filter(&$action, &$args) { parent::before_filter($action, $args); if (!$GLOBALS['perm']->have_perm("root")) { throw new AccessDeniedException(); } if (FleximportConfig::get("MAXIMUM_EXECUTION_TIME")) { set_time_limit(FleximportConfig::get("MAXIMUM_EXECUTION_TIME")); } PageLayout::addScript($this->plugin->getPluginURL() . "/assets/fleximport.js"); Navigation::activateItem("/fleximport"); }
function before_filter($action, $args) { parent::before_filter($action, $args); $this->assets_url = $this->plugin->getPluginURL() . '/assets/'; PageLayout::setHelpKeyword("Basis/InteraktionBlubber"); }
function before_filter(&$action, &$args) { parent::before_filter($action, $args); PageLayout::setTitle(_("Lernmaterialien")); }