ILIAS
release_8 Revision v8.19
|
Import directory. More...
Public Member Functions | |
hasFilesFor (int $user_id, string $type) | |
getFilesFor (int $user_id, string $type) | |
getAbsolutePathForHash (int $user_id, string $type, string $post_hash) | |
![]() | |
__construct (Filesystem $storage, ilLogger $logger) | |
getRelativePath () | |
exists () | |
getAbsolutePath () | |
Protected Member Functions | |
getPathPrefix () | |
matchesType (string $type, string $filename) | |
Check if filename matches a given type. More... | |
![]() | |
getPathPrefix () | |
Private Attributes | |
const | PATH_PREFIX = 'export' |
Additional Inherited Members | |
![]() | |
Filesystem | $storage |
ilLogger | $logger |
Import directory.
Definition at line 28 of file class.ilExportImportDirectory.php.
ilExportImportDirectory::getAbsolutePathForHash | ( | int | $user_id, |
string | $type, | ||
string | $post_hash | ||
) |
Definition at line 91 of file class.ilExportImportDirectory.php.
References ilFileUtils\getDataDir(), and getFilesFor().
ilExportImportDirectory::getFilesFor | ( | int | $user_id, |
string | $type | ||
) |
Definition at line 42 of file class.ilExportImportDirectory.php.
References ilImportDirectory\exists(), ilImportDirectory\getRelativePath(), and matchesType().
Referenced by getAbsolutePathForHash(), and hasFilesFor().
|
protected |
Definition at line 32 of file class.ilExportImportDirectory.php.
ilExportImportDirectory::hasFilesFor | ( | int | $user_id, |
string | $type | ||
) |
Definition at line 37 of file class.ilExportImportDirectory.php.
References getFilesFor().
|
protected |
Check if filename matches a given type.
Definition at line 78 of file class.ilExportImportDirectory.php.
Referenced by getFilesFor().
|
private |
Definition at line 30 of file class.ilExportImportDirectory.php.