コード例 #1
0
ファイル: AxstockController.php プロジェクト: netixx/Stock
 function getlibellesbyidcategorieAction()
 {
     $oMapper = new Application_Model_Mapper_RefItems();
     $oSelect = new Zend_Form_Element_Select(Form_AjoutProduit::LIBELLE);
     $oSelect->setMultiOptions($oMapper->getLibelleByIdCategorie($this->_getParam('idCategorie')))->setDecorators(array('ViewHelper'));
     $this->view->element = $oSelect->render();
 }