public function actionView() { $object = CGrantManager::getGrant(CRequest::getInt("id")); $this->setData("object", $object); $this->renderView("__public/_grants/view.tpl"); }
public function actionGetAttachmentsSubform() { $form = new CGrantForm(); $form->grant = CGrantManager::getGrant(CRequest::getInt("id")); $this->setData("form", $form); $this->renderView("_grants/grant/subform.attachments.tpl"); }