[CLEANUP] Add phpDoc to properties in ext:filelist 64/33864/3
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 6 Nov 2014 22:38:07 +0000 (23:38 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 8 Nov 2014 23:24:51 +0000 (00:24 +0100)
Resolves: #62758
Releases: master
Change-Id: I7ce07e74d8e65f77d535a0505c2175ee249cff81
Reviewed-on: http://review.typo3.org/33864
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/filelist/mod1/index.php

index 5bb17b4..f4e35d0 100644 (file)
@@ -27,16 +27,24 @@ class FileListController {
        /**
         * Module configuration
         *
+        * @var array
         */
        public $MCONF = array();
 
+       /**
+        * @var array
+        */
        public $MOD_MENU = array();
 
+       /**
+        * @var array
+        */
        public $MOD_SETTINGS = array();
 
        /**
         * Accumulated HTML output
         *
+        * @var string
         */
        public $content;
 
@@ -50,6 +58,7 @@ class FileListController {
        /**
         * "id" -> the path to list.
         *
+        * @var string
         */
        public $id;
 
@@ -66,23 +75,32 @@ class FileListController {
        /**
         * Pointer to listing
         *
+        * @var int
         */
        public $pointer;
 
        /**
         * "Table"
         *
+        * @var string
         */
        public $table;
 
        /**
         * Thumbnail mode.
         *
+        * @var string
         */
        public $imagemode;
 
+       /**
+        * @var string
+        */
        public $cmd;
 
+       /**
+        * @var bool
+        */
        public $overwriteExistingFiles;
 
        /**
index e1bd30a..2be1911 100644 (file)
@@ -29,59 +29,98 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
        /**
         * Default Max items shown
         *
+        * @var int
         */
        public $iLimit = 40;
 
        /**
-        * Boolean. Thumbnails on records containing files (pictures)
+        * Thumbnails on records containing files (pictures)
         *
+        * @var bool
         */
-       public $thumbs = 0;
+       public $thumbs = FALSE;
 
+       /**
+        * @var string
+        */
        public $widthGif = '<img src="clear.gif" width="1" height="1" hspace="165" alt="" />';
 
        /**
         * Max length of strings
         *
+        * @var int
         */
        public $fixedL = 30;
 
+       /**
+        * @var string
+        */
        public $script = '';
 
        /**
         * If TRUE click menus are generated on files and folders
         *
+        * @var bool
         */
        public $clickMenus = 1;
 
        /**
         * The field to sort by
         *
+        * @var string
         */
        public $sort = '';
 
        /**
         * Reverse sorting flag
         *
+        * @var bool
         */
        public $sortRev = 1;
 
+       /**
+        * @var int
+        */
        public $firstElementNumber = 0;
 
+       /**
+        * @var bool
+        */
        public $clipBoard = 0;
 
+       /**
+        * @var bool
+        */
        public $bigControlPanel = 0;
 
+       /**
+        * @var string
+        */
        public $JScode = '';
 
+       /**
+        * @var string
+        */
        public $HTMLcode = '';
 
+       /**
+        * @var int
+        */
        public $totalbytes = 0;
 
+       /**
+        * @var array
+        */
        public $dirs = array();
 
+       /**
+        * @var array
+        */
        public $files = array();
 
+       /**
+        * @var string
+        */
        public $path = '';
 
        /**
@@ -92,13 +131,23 @@ class FileList extends \TYPO3\CMS\Backend\RecordList\AbstractRecordList {
        /**
         * Counting the elements no matter what
         *
+        * @var int
         */
        public $eCounter = 0;
 
+       /**
+        * @var int
+        */
        public $dirCounter = 0;
 
+       /**
+        * @var string
+        */
        public $totalItems = '';
 
+       /**
+        * @var array
+        */
        public $CBnames = array();
 
        /**
index 3bc7fcf..1ab2b12 100644 (file)
@@ -15,7 +15,6 @@
 /**
  * Web>File: File listing
  */
-
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Filelist\\Controller\\FileListController');
 $SOBE->init();
 $SOBE->main();