TYPO3
7.6
|
Static Public Member Functions | |
static | filterHiddenFilesAndFolders ($itemName, $itemIdentifier, $parentIdentifier, array $additionalInformation,\TYPO3\CMS\Core\Resource\Driver\DriverInterface $driverInstance) |
static | getShowHiddenFilesAndFolders () |
static | setShowHiddenFilesAndFolders ($showHiddenFilesAndFolders) |
Static Protected Attributes | |
static | $showHiddenFilesAndFolders = false |
Utility methods for filtering filenames
Definition at line 20 of file FileNameFilter.php.
|
static |
Filter method that checks if a file/folder name starts with a dot (e.g. .htaccess)
We have to use -1 as the „don't include“ return value, as call_user_func() will return FALSE If calling the method succeeded and thus we can't use that as a return value.
string | $itemName | |
string | $itemIdentifier | |
string | $parentIdentifier | |
array | $additionalInformation | Additional information (driver dependent) about the inspected item |
\TYPO3\CMS\Core\Resource\Driver\DriverInterface | $driverInstance |
Definition at line 42 of file FileNameFilter.php.
|
static |
Gets the info whether the hidden files are also displayed currently
Definition at line 58 of file FileNameFilter.php.
|
static |
set the flag to show (or hide) the hidden files
bool | $showHiddenFilesAndFolders |
Definition at line 70 of file FileNameFilter.php.
References FileNameFilter\$showHiddenFilesAndFolders.
|
staticprotected |
Definition at line 27 of file FileNameFilter.php.
Referenced by FileNameFilter\setShowHiddenFilesAndFolders().