/** * @return void */ public function indexAction() { $property = $this->widgetConfiguration['property']; $this->view->assign('property', $property); $this->view->assign('uploadedFileList', $this->uploadFileService->getUploadedFileList($property)); $this->view->assign('uploadedFiles', $this->uploadFileService->getUploadedFiles($property)); }
/** * @return void */ public function indexAction() { $this->view->assign('allowedExtensions', $this->getAllowedExtensions()); $this->view->assign('maximumSize', $this->getMaximumSize()); $this->view->assign('maximumSizeLabel', $this->getMaximumSizeLabel()); $this->view->assign('sizeUnit', $this->widgetConfiguration['sizeUnit']); $this->view->assign('storage', $this->widgetConfiguration['storage']); $this->view->assign('uniqueId', uniqid()); $property = $this->widgetConfiguration['property']; $this->view->assign('property', $property); $this->view->assign('maximumItems', $this->widgetConfiguration['maximumItems']); $this->view->assign('uploadedFileList', $this->uploadFileService->getUploadedFileList($property)); $this->view->assign('widgetIdentifier', uniqid()); }