/** * action edit * * @param \GK\Stdapp\Domain\Model\Resource $editResource * @return void */ public function editAction(\GK\Stdapp\Domain\Model\Resource $editResource = NULL) { parent::editAction($editResource); $customer = $this->portalUser->getCustomer(); $submitMsg = $this->resourceRepository->findByType(11, $customer)->getFirst(); $this->view->assign('submitMsg', $submitMsg); }
/** * @return void */ public function initializeAction() { $this->setType(1); $this->setFiletypes("pdf"); parent::initializeAction(); }
/** * @return void */ public function initializeAction() { $this->setType(3); parent::initializeAction(); }
/** * @return void */ public function initializeAction() { $this->setType(2); $this->setFiletypes("jpg,png,gif"); parent::initializeAction(); }