public function othersAction() { $r = $this->getRequest(); $guid = $r->getParam('g'); $this->view->catalogGuid = $guid; $bpm = new Kutu_Core_Bpm_Relation(); $this->view->aData = $bpm->getOthers($guid); }
public function __construct($catalogGuid) { $this->view = new Zend_View(); $this->view->setScriptPath(dirname(__FILE__)); $this->catalogGuid = $catalogGuid; $this->view->addHelperPath(KUTU_ROOT_DIR . '/lib/Kutu/View/Helper', 'Kutu_View_Helper'); $bpm = new Kutu_Core_Bpm_Relation(); $this->view->aData = $bpm->getOthers($catalogGuid); //print_r($a2); //die(); $this->view->catalogGuid = $catalogGuid; }