public function actionAddProductsInOpportunity($optId) { $data = Costbook::getAll(); $view = new AddProductsView($data, $optId, NULL); $view1 = new MyAddProductsView(ZurmoDefaultViewUtil::makeStandardViewForCurrentUser($this, $view)); echo $view1->render(); }