|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Import directory interface. More...
Inheritance diagram for ilExportImportDirectory:
Collaboration diagram for ilExportImportDirectory:Public Member Functions | |
| hasFilesFor (int $user_id, string $type) | |
| getFilesFor (int $user_id, string $type) | |
| getAbsolutePathForHash (int $user_id, string $type, string $post_hash) | |
Public Member Functions inherited from ilImportDirectory | |
| __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 | |
Protected Attributes inherited from ilImportDirectory | |
| $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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:
|
private |
Definition at line 15 of file class.ilExportImportDirectory.php.
Referenced by getPathPrefix().