예제 #1
0
 function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     if (FleximportConfig::get("MAXIMUM_EXECUTION_TIME")) {
         set_time_limit(FleximportConfig::get("MAXIMUM_EXECUTION_TIME"));
     }
 }
예제 #2
0
 function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     if (!$GLOBALS['perm']->have_perm("root")) {
         throw new AccessDeniedException();
     }
     Navigation::activateItem("/fleximport/config");
 }
예제 #3
0
 function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     Navigation::activateItem("/admin/config/lernmarktplatz");
     if (!$GLOBALS['perm']->have_perm("root")) {
         throw new AccessDeniedException();
     }
 }
예제 #4
0
 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");
 }
예제 #5
0
 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");
 }
예제 #6
0
파일: streams.php 프로젝트: ratbird/hope
 function before_filter($action, $args)
 {
     parent::before_filter($action, $args);
     $this->assets_url = $this->plugin->getPluginURL() . '/assets/';
     PageLayout::setHelpKeyword("Basis/InteraktionBlubber");
 }
예제 #7
0
 function before_filter(&$action, &$args)
 {
     parent::before_filter($action, $args);
     PageLayout::setTitle(_("Lernmaterialien"));
 }