Example #1
0
 /**
  * Construct
  *
  * @param FileListController $fileListController
  */
 public function __construct(FileListController $fileListController)
 {
     parent::__construct();
     $this->fileListController = $fileListController;
     $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
 }
Example #2
0
 /**
  * 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);
     }
 }