Exemple #1
0
 /**
  * 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();
 }
Exemple #3
0
 /**
  * @return void
  */
 public function initializeAction()
 {
     $this->setType(3);
     parent::initializeAction();
 }
Exemple #4
0
 /**
  * @return void
  */
 public function initializeAction()
 {
     $this->setType(2);
     $this->setFiletypes("jpg,png,gif");
     parent::initializeAction();
 }