ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Import directory interface. 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 () | |
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 | |
![]() | |
$storage | |
$logger | |
Import directory interface.
Definition at line 13 of file class.ilExportImportDirectory.php.
ilExportImportDirectory::getAbsolutePathForHash | ( | int | $user_id, |
string | $type, | ||
string | $post_hash | ||
) |
int | $user_id | |
string | $type | |
string | $post_hash |
Definition at line 96 of file class.ilExportImportDirectory.php.
References $type, ilUtil\getDataDir(), and getFilesFor().
ilExportImportDirectory::getFilesFor | ( | int | $user_id, |
string | $type | ||
) |
int | $user_id | |
string | $type |
Definition at line 39 of file class.ilExportImportDirectory.php.
References ilImportDirectory\exists(), ilImportDirectory\getRelativePath(), and matchesType().
Referenced by getAbsolutePathForHash(), and hasFilesFor().
|
protected |
Reimplemented from ilImportDirectory.
Definition at line 20 of file class.ilExportImportDirectory.php.
References PATH_PREFIX.
ilExportImportDirectory::hasFilesFor | ( | int | $user_id, |
string | $type | ||
) |
int | $user_id | |
string | $type |
Definition at line 29 of file class.ilExportImportDirectory.php.
References $type, and getFilesFor().
|
protected |
Check if filename matches a given type.
string | $type |
Definition at line 77 of file class.ilExportImportDirectory.php.
References $filename, $result, and $type.
Referenced by getFilesFor().
|
private |
Definition at line 15 of file class.ilExportImportDirectory.php.
Referenced by getPathPrefix().