|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class FilePathSanitizer. More...
Collaboration diagram for ILIAS\File\Sanitation\FilePathSanitizer:Public Member Functions | |
| __construct (ilObjFile $file_object) | |
| FilePathSanitizer constructor. More... | |
| needsSanitation () | |
| sanitizeIfNeeded () | |
Private Member Functions | |
| log ( $message) | |
| santitizeFilename ($first_file) | |
| saveNewNameForFileObject ($valid_filename) | |
Private Attributes | |
| $file_object | |
| $relative_path | |
| $fs | |
| $absolute_path | |
Class FilePathSanitizer.
Definition at line 16 of file FilePathSanitizer.php.
| ILIAS\File\Sanitation\FilePathSanitizer::__construct | ( | ilObjFile | $file_object | ) |
FilePathSanitizer constructor.
| ilObjFile | $file_object |
Definition at line 42 of file FilePathSanitizer.php.
References ILIAS\File\Sanitation\FilePathSanitizer\$file_object, ILIAS\Filesystem\Util\LegacyPathHelper\createRelativePath(), and ILIAS\Filesystem\Util\LegacyPathHelper\deriveFilesystemFrom().
Here is the call graph for this function:
|
private |
| string | $message |
Definition at line 77 of file FilePathSanitizer.php.
References $DIC, and $message.
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
Here is the caller graph for this function:| ILIAS\File\Sanitation\FilePathSanitizer::needsSanitation | ( | ) |
Definition at line 54 of file FilePathSanitizer.php.
References ilFileUtils\getValidFilename().
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\File\Sanitation\FilePathSanitizer::sanitizeIfNeeded | ( | ) |
ILIAS\Filesystem\Exception\DirectoryNotFoundException
Definition at line 88 of file FilePathSanitizer.php.
References ILIAS\File\Sanitation\FilePathSanitizer\log(), ILIAS\File\Sanitation\FilePathSanitizer\needsSanitation(), ILIAS\File\Sanitation\FilePathSanitizer\santitizeFilename(), and ILIAS\File\Sanitation\FilePathSanitizer\saveNewNameForFileObject().
Here is the call graph for this function:
|
private |
| $first_file |
Definition at line 171 of file FilePathSanitizer.php.
References ilFileUtils\getValidFilename().
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| $valid_filename |
Definition at line 195 of file FilePathSanitizer.php.
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
Here is the caller graph for this function:
|
private |
Definition at line 34 of file FilePathSanitizer.php.
|
private |
Definition at line 22 of file FilePathSanitizer.php.
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\__construct().
|
private |
Definition at line 30 of file FilePathSanitizer.php.
|
private |
Definition at line 26 of file FilePathSanitizer.php.