/** * Página de resultado da pesquisa * * @return void */ public function listDocumentoAction() { $this->_service = "Documento"; $this->_fnConfigList = "_getConfigListDocumento"; $this->_fnListGrid = "listGridDocumento"; parent::listAction(); }
/** * Ação inicial de Modelos de Minutas */ public function createAction() { parent::createAction(); $this->view->arrTipoEtiqueta = $this->getService('TipoEtiqueta')->listItems(); $this->view->sqTipoEtiquetaEletronica = Core_Configuration::getSgdoceTipoEtiquetaEletronica(); $this->view->arrQtdeEtiqueta = $this->getService('QuantidadeEtiqueta')->listItems(); }
/** * Initialize * * @return void */ public function init() { parent::init(); $aliasManager = new Comments_Model_CommentAlias_Manager(); // get the Alias by the requested param $this->_alias = $aliasManager->getDbTable()->find($this->getRequest()->getParam('alias'))->current(); }
public function saveAction() { $this->getRequest()->setModuleName('artefato'); $this->getRequest()->setControllerName('area-trabalho'); $back = $this->getRequest()->getParam('back', null); if ($back) { $this->_redirect = str_replace('.', '/', $back); } parent::saveAction(); }
/** * Este metodo é resonsavel pela inclusão da combobox contendo os tipos de documentos */ public function editAction() { parent::editAction(); if ($this->view->data->getSqTipoArtefato()->getSqTipoArtefato() == 2) { $this->view->unidadeOrg = $this->getService('UnidadeOrg')->find($this->getRequest()->getParam('unidade')); $this->render('form-processo'); } else { $this->view->items = $this->getService('TipoDoc')->listItems(); } $this->view->gridLength = $this->getRequest()->getParam('gridLength'); }
/** * createAction */ public function createAction() { parent::createAction(); //Configura a opção DEFAULT para inAbreProcesso $this->view->data->setInAbreProcesso(FALSE); }
/** * Ação inicial da funcionalidade */ public function indexAction() { parent::indexAction(); $this->view->arrSituacao = array(0 => 'Aberta', 1 => 'Fechada'); }
/** * Add user */ public function editAction() { parent::editAction(); $this->render('create'); }
/** * Ação de edução de Carimbos */ public function editAction() { parent::editAction(); $this->view->items = $this->getService('TipoArtefato')->listItems(); }
/** * Ação para edição de mensagem */ public function editAction() { parent::editAction(); $this->view->actionName = $this->getRequest()->getActionName(); $this->view->items = $this->getService('TipoDoc')->listItems(); }
/** * @see Core_Controller_Action::postDispatch() */ public function postDispatch() { parent::postDispatch(); // custom grid and index if ('grid' == $this->_getParam('action') || 'index' == $this->_getParam('action')) { $this->_setDefaultScriptPath(); } }
/** * método que monta tela de edição */ public function editAction() { parent::editAction(); $this->view->items = $this->getService('Prioridade')->listItems(); }
public function listAction() { $this->view->limitComment = self::T_ARTEFATO_COMENTARIO_LIMIT_COMMENT_GRID; $this->view->hasPermission = $this->_checkPermissaoArtefato($this->getRequest()->getParam('sqArtefato')); $this->view->demandaAberta = $this->getService('Solicitacao')->getSolicitacaoAberta(\Core_Dto::factoryFromData($this->getRequest()->getParams(), 'search')); parent::listAction(); }
/** * Initialize * * @return void */ public function init() { parent::init(); }