Exemple #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'));
 }
Exemple #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'));
 }
Exemple #3
0
 public function init()
 {
     parent::init();
     ini_set('html_errors', 'Off');
 }
 public function init()
 {
     parent::init();
     $this->addPermission('can_access_dashboard', "Can log into dashboard");
 }