/** * action list * * @return void */ public function listAction() { $messages = $this->checkFolders(); $missingFolders = FALSE; if (count($messages) > 0) { $missingFolders = TRUE; } $this->view->assign('messages', $messages); $this->view->assign('missingFolders', $missingFolders); $storages = $this->storageRepository->load(); $this->view->assign('storages', $storages); $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['mask']); $this->view->assign('extConf', $extConf); }
/** * Adds FAL-Files to the data-array if available * * @param array $data * @param array $table * @author Benjamin Butschell <*****@*****.**> */ public function addIrreToData(&$data, $table = "tt_content", $cType = "") { if ($cType == "") { $cType = $data["CType"]; } $storage = $this->storageRepository->load(); $contentFields = $storage[$table]["tca"]; if ($contentFields) { foreach ($contentFields as $fieldname => $field) { if ($this->getFormType($field["key"], $cType, $table) == "Inline") { $elements = $this->getInlineElements($data, $fieldname, $cType, "parentid", $table); $data[$fieldname] = $elements; } } } }