Esempio n. 1
0
 public function init()
 {
     parent::init();
     $this->addComponent('wyf.model_controller');
     $wyf = $this->wyfModelControllerComponent;
     $wyf->listFields = array('firstname', 'lastname', 'username');
     $wyf->addOperation('Assign Roles', 'assign_roles');
     TemplateEngine::appendPath(Ntentan::getPluginPath('wyf/views/system_module'));
 }
Esempio n. 2
0
 public function init()
 {
     parent::init();
     $this->addComponent('wyf.model_controller');
     $wyf = $this->wyfModelControllerComponent;
     $wyf->addOperation('Set Permissions', 'set_permissions');
     $wyf->listFields = array('name', 'description');
     TemplateEngine::appendPath(Ntentan::getPluginPath('wyf/views/system_module'));
 }
Esempio n. 3
0
 public function init()
 {
     parent::init();
     ini_set('html_errors', 'Off');
 }
Esempio n. 4
0
 public function init()
 {
     parent::init();
     $this->addPermission('can_access_dashboard', "Can log into dashboard");
 }