/** * Construct * * @param FileListController $fileListController */ public function __construct(FileListController $fileListController) { parent::__construct(); $this->fileListController = $fileListController; $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class); }
/** * Construct * * @param FileListController $fileListController */ public function __construct(FileListController $fileListController) { parent::__construct(); $this->fileListController = $fileListController; $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class); $modTSconfig = BackendUtility::getModTSconfig(0, 'mod.file_list'); if (!empty($modTSconfig['properties']['filesPerPage'])) { $this->iLimit = MathUtility::forceIntegerInRange($modTSconfig['properties']['filesPerPage'], 1); } }