Example #1
0
 /**
  * @return Bengine_Admin_Controller_Abstract
  */
 protected function init()
 {
     Core::getLanguage()->load("AI_User");
     $perms = Core::getQuery()->select("permissions", array("permissionid", "permission"), "ORDER BY permission ASC");
     Core::getTPL()->addLoop("perms", $perms->fetchAll());
     return parent::init();
 }
Example #2
0
 /**
  * Initialisation
  *
  * @return Bengine_Admin_Controller_Cms
  */
 protected function init()
 {
     Core::getLanguage()->load("AI_CMS");
     return parent::init();
 }