ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class FilePathSanitizer. More...
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().
|
private |
string | $message |
Definition at line 77 of file FilePathSanitizer.php.
References $DIC, and $message.
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
ILIAS\File\Sanitation\FilePathSanitizer::needsSanitation | ( | ) |
Definition at line 54 of file FilePathSanitizer.php.
References ilFileUtils\getValidFilename().
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
ILIAS\File\Sanitation\FilePathSanitizer::sanitizeIfNeeded | ( | ) |
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().
|
private |
$first_file |
Definition at line 171 of file FilePathSanitizer.php.
References ilFileUtils\getValidFilename().
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
|
private |
$valid_filename |
Definition at line 195 of file FilePathSanitizer.php.
Referenced by ILIAS\File\Sanitation\FilePathSanitizer\sanitizeIfNeeded().
|
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.