|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| start ($path, $pointer, $sort, $sortRev, $clipBoard=0, $bigControlPanel=0) | |
| generateList () | |
| getButtonsAndOtherMarkers ($path) | |
| linkClipboardHeaderIcon ($string, $table, $cmd, $warning='') | |
| getTable ($files, $dirs, $rowlist) | |
| getFolderInfo () | |
| formatDirList ($items) | |
| linkWrapDir ($code, $path) | |
| linkWrapFile ($code, $path) | |
| listURL () | |
| dirData ($theFile) | |
| formatFileList ($items) | |
| isImage ($ext) | |
| linkWrapSort ($code, $path, $col) | |
| readDirectory ($path, $type, $extList='') | |
| makeClip ($theData) | |
| makeEdit ($theData) | |
| makeRef ($theData) | |
Public Attributes | |
| $iLimit = 40 | |
| $thumbs = 0 | |
| $widthGif = '<img src="clear.gif" width="1" height="1" hspace="165" alt="" />' | |
| $fixedL = 30 | |
| $script = 'file_list.php' | |
| $clickMenus = 1 | |
| $sort = '' | |
| $sortRev = 1 | |
| $firstElementNumber = 0 | |
| $clipBoard = 0 | |
| $bigControlPanel = 0 | |
| $JScode = '' | |
| $HTMLcode = '' | |
| $totalbytes = 0 | |
| $dirs = Array() | |
| $files = Array() | |
| $path = '' | |
| $eCounter = 0 | |
| $dirCounter = 0 | |
| $totalItems = '' | |
| $CBnames = array() | |
Definition at line 75 of file class.file_list.inc.
| fileList::dirData | ( | $ | theFile | ) |
Returns some data specific for the directories...
| array | File information array |
Definition at line 434 of file class.file_list.inc.
Referenced by getButtonsAndOtherMarkers().
| fileList::formatDirList | ( | $ | items | ) |
This returns tablerows for the directories in the array $items['sorting'].
| array | Directory items |
Definition at line 318 of file class.file_list.inc.
| fileList::formatFileList | ( | $ | items | ) |
This returns tablerows for the files in the array $items['sorting'].
| array | File items |
Definition at line 459 of file class.file_list.inc.
| fileList::generateList | ( | ) |
Reading files and directories, counting elements and generating the list in ->HTMLcode
Definition at line 139 of file class.file_list.inc.
References getTable(), and readDirectory().
| fileList::getButtonsAndOtherMarkers | ( | $ | path | ) |
Return the buttons used by the file list to include in the top header
Definition at line 151 of file class.file_list.inc.
References $GLOBALS, $path, dirData(), t3lib_div\fixed_lgd_cs(), t3lib_iconWorks\getSpriteIcon(), linkWrapDir(), listURL(), and t3lib_div\removeXSS().
| fileList::getFolderInfo | ( | ) |
Gets the number of files and total size of a folder
Definition at line 303 of file class.file_list.inc.
| fileList::getTable | ( | $ | files, |
| $ | dirs, | ||
| $ | rowlist | ||
| ) |
Returns a table with directories and files listed.
| array | Array of files from path |
| array | Array of directories from path |
| string | List of rows to display horizontallyh |
Definition at line 223 of file class.file_list.inc.
Referenced by generateList().
| fileList::isImage | ( | $ | ext | ) |
Returns true if $ext is an image-extension according to $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
| string | file extension |
Definition at line 550 of file class.file_list.inc.
| fileList::linkClipboardHeaderIcon | ( | $ | string, |
| $ | table, | ||
| $ | cmd, | ||
| $ | warning = '' |
||
| ) |
Wrapping input string in a link with clipboard command.
| string | String to be linked - must be htmlspecialchar'ed / prepared before. |
| string | table - NOT USED |
| string | "cmd" value |
| string | Warning for JS confirm message |
Definition at line 209 of file class.file_list.inc.
| fileList::linkWrapDir | ( | $ | code, |
| $ | path | ||
| ) |
Wraps the directory-titles
| string | String to be wrapped in links |
| string | ID (path) |
Definition at line 390 of file class.file_list.inc.
Referenced by getButtonsAndOtherMarkers().
| fileList::linkWrapFile | ( | $ | code, |
| $ | path | ||
| ) |
Wraps filenames in links which opens them in a window IF they are in web-path.
| string | String to be wrapped in links |
| string | ID (path) |
Definition at line 409 of file class.file_list.inc.
| fileList::linkWrapSort | ( | $ | code, |
| $ | path, | ||
| $ | col | ||
| ) |
Wraps the directory-titles ($code) in a link to file_list.php (id=$path) and sorting commands...
| string | String to be wrapped |
| string | ID (path) |
| string | Sorting column |
Definition at line 562 of file class.file_list.inc.
| fileList::listURL | ( | ) |
Returns list URL; This is the URL of the current script with id and imagemode parameters, thats all.
Definition at line 424 of file class.file_list.inc.
Referenced by getButtonsAndOtherMarkers().
| fileList::makeClip | ( | $ | theData | ) |
Creates the clipboard control pad
| array | Array with information about the file/directory for which to make the clipboard panel for the listing. |
Definition at line 633 of file class.file_list.inc.
| fileList::makeEdit | ( | $ | theData | ) |
Creates the edit control section
| array | Array with information about the file/directory for which to make the edit control section for the listing. |
Definition at line 678 of file class.file_list.inc.
| fileList::makeRef | ( | $ | theData | ) |
Make reference count
| array | Array with information about the file/directory for which to make the clipboard panel for the listing. |
Definition at line 735 of file class.file_list.inc.
References $GLOBALS, $row, and t3lib_div\isFirstPartOfStr().
| fileList::readDirectory | ( | $ | path, |
| $ | type, | ||
| $ | extList = '' |
||
| ) |
Returns an array with file/dir items + an array with the sorted items
| string | Path (absolute) to read | |
| string | $type | is the technical type; file,dir,link. empty is all kinds of stuff. |
| string | $extList,: | List of fileextensions to select. If empty, all are selected. |
Definition at line 580 of file class.file_list.inc.
Referenced by generateList().
| fileList::start | ( | $ | path, |
| $ | pointer, | ||
| $ | sort, | ||
| $ | sortRev, | ||
| $ | clipBoard = 0, |
||
| $ | bigControlPanel = 0 |
||
| ) |
Initialization of class
| string | The path to list |
| integer | Pointer |
| boolean | Sorting column |
| boolean | Sorting direction |
| boolean | Show clipboard flag |
Definition at line 114 of file class.file_list.inc.
References $bigControlPanel, $clipBoard, $GLOBALS, $path, $sort, and $sortRev.
| fileList::$bigControlPanel = 0 |
Definition at line 87 of file class.file_list.inc.
Referenced by start().
| fileList::$CBnames = array() |
Definition at line 100 of file class.file_list.inc.
| fileList::$clickMenus = 1 |
Definition at line 81 of file class.file_list.inc.
| fileList::$clipBoard = 0 |
Definition at line 86 of file class.file_list.inc.
Referenced by start().
| fileList::$dirCounter = 0 |
Definition at line 97 of file class.file_list.inc.
| fileList::$dirs = Array() |
Definition at line 93 of file class.file_list.inc.
| fileList::$eCounter = 0 |
Reimplemented from t3lib_recordList.
Definition at line 96 of file class.file_list.inc.
| fileList::$files = Array() |
Definition at line 94 of file class.file_list.inc.
| fileList::$firstElementNumber = 0 |
Reimplemented from t3lib_recordList.
Definition at line 85 of file class.file_list.inc.
| fileList::$fixedL = 30 |
Reimplemented from t3lib_recordList.
Definition at line 79 of file class.file_list.inc.
| fileList::$HTMLcode = '' |
Reimplemented from t3lib_recordList.
Definition at line 91 of file class.file_list.inc.
| fileList::$iLimit = 40 |
Reimplemented from t3lib_recordList.
Definition at line 76 of file class.file_list.inc.
| fileList::$JScode = '' |
Definition at line 90 of file class.file_list.inc.
| fileList::$path = '' |
Definition at line 95 of file class.file_list.inc.
Referenced by getButtonsAndOtherMarkers(), and start().
| fileList::$script = 'file_list.php' |
Reimplemented from t3lib_recordList.
Definition at line 80 of file class.file_list.inc.
| fileList::$sort = '' |
Definition at line 83 of file class.file_list.inc.
Referenced by start().
| fileList::$sortRev = 1 |
Definition at line 84 of file class.file_list.inc.
Referenced by start().
| fileList::$thumbs = 0 |
Definition at line 77 of file class.file_list.inc.
| fileList::$totalbytes = 0 |
Definition at line 92 of file class.file_list.inc.
| fileList::$totalItems = '' |
Reimplemented from t3lib_recordList.
Definition at line 98 of file class.file_list.inc.
| fileList::$widthGif = '<img src="clear.gif" width="1" height="1" hspace="165" alt="" />' |
Definition at line 78 of file class.file_list.inc.
1.7.5.1