/** * (non-PHPdoc) * @see \Micro\Application\Controller::init() */ public function init() { parent::init(); $nomStatuses = new \Nomenclatures\Model\DesignStatuses(); $this->view->assign('nomStatuses', $nomStatuses->fetchCachedPairs()); $nomNotifiers = new \Nomenclatures\Model\Notifiers(); $this->view->assign('nomNotifiers', $nomNotifiers->fetchCachedPairs()); }
/** * (non-PHPdoc) * @see \Micro\Application\Controller::init() */ public function init() { parent::init(); $nomStatuses = new \Nomenclatures\Model\Statuses(); $this->view->assign('nomStatuses', $nomStatuses->fetchCachedPairs()); $nomTypes = new \Nomenclatures\Model\Types(); $this->view->assign('nomTypes', $nomTypes->fetchCachedPairs()); $nomNotifiers = new \Nomenclatures\Model\Notifiers(); $this->view->assign('nomNotifiers', $nomNotifiers->fetchCachedPairs()); $nomClasses = new \Nomenclatures\Model\BrandClasses(); $this->view->assign('nomClasses', $nomClasses->fetchCachedPairs()); $this->view->assign('nomClassesCodes', $nomClasses->fetchCachedPairs(null, array('id', 'code'))); }