/** * (non-PHPdoc) * @see Zend_Controller_Action::init() */ public function init() { parent::init(); $sistema = $this->getService('Sistema')->systemsActives(); $this->view->sistemas = $sistema; $this->view->pageTitle = 'Pesquisar Menu'; }
/** * Realiza operacoes iniciais * * @return void */ public function init() { parent::init(); $this->view->sistemas = $this->getService('Sistema')->systemsActives(); $this->view->arrMenu = array(); $this->view->isEdit = false; }
public function init() { parent::init(); $this->view->cmb = $this->getService('UsuarioExterno')->getAllCombos(); if ($this->getRequest()->getActionName() == 'create') { $this->_helper->layout->setLayout('create-usuario-externo'); } }
public function init() { $sqPerfil = \Core_Integration_Sica_User::getUserProfile(); if ($sqPerfil) { $this->_sqTipoPerfil = $this->getService('Perfil')->find($sqPerfil)->getSqTipoPerfil()->getSqTipoPerfil(); parent::init(); } else { $this->_redirect('/usuario/login'); } }
/** * Inicializa operacoes iniciais */ public function init() { parent::init(); }
/** * Inicializa operacoes iniciais */ public function init() { parent::init(); $this->view->sqTipoPessoa = $this->_getParam('sqTipoPessoa'); $this->getCombos(); }