|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilFSStorageCourse:
Collaboration diagram for ilFSStorageCourse:Public Member Functions | |
| __construct ($a_container_id=0) | |
| Constructor. More... | |
| initInfoDirectory () | |
| init info directory More... | |
| getInfoDirectory () | |
| Get course info directory. More... | |
| initMemberExportDirectory () | |
| Init export directory and create it if it does not exist. More... | |
| getMemberExportDirectory () | |
| Get path of export directory. More... | |
| addMemberExportFile ($a_data, $a_rel_name) | |
| Add new export file. More... | |
| getMemberExportFiles () | |
| Get all member export files. More... | |
| getMemberExportFile ($a_name) | |
| deleteMemberExportFile ($a_export_name) | |
| Delete Member Export File. More... | |
| initArchiveDirectory () | |
| init Archive Directory More... | |
| getArchiveDirectory () | |
| Get archive directory. More... | |
| addArchiveSubDirectory ($a_name) | |
| Add subdirectory for archives. More... | |
| writeArchiveFile ($a_data, $a_rel_name) | |
| Write archive string to file. More... | |
| zipArchive ($a_rel_name, $a_zip_name) | |
| Zip archive directory. More... | |
| deleteArchive ($a_rel_name) | |
| Delete one archive. More... | |
| createArchiveOnlineVersion ($a_rel_name) | |
| getOnlineLink ($a_rel_name) | |
| __construct ($a_container_id=0) | |
| Constructor. More... | |
| initInfoDirectory () | |
| init info directory More... | |
| getInfoDirectory () | |
| Get course info directory. More... | |
| initMemberExportDirectory () | |
| Init export directory and create it if it does not exist. More... | |
| getMemberExportDirectory () | |
| Get path of export directory. More... | |
| addMemberExportFile ($a_data, $a_rel_name) | |
| Add new export file. More... | |
| getMemberExportFiles () | |
| Get all member export files. More... | |
| getMemberExportFile ($a_name) | |
| deleteMemberExportFile ($a_export_name) | |
| Delete Member Export File. More... | |
| initArchiveDirectory () | |
| init Archive Directory More... | |
| getArchiveDirectory () | |
| Get archive directory. More... | |
| addArchiveSubDirectory ($a_name) | |
| Add subdirectory for archives. More... | |
| writeArchiveFile ($a_data, $a_rel_name) | |
| Write archive string to file. More... | |
| zipArchive ($a_rel_name, $a_zip_name) | |
| Zip archive directory. More... | |
| deleteArchive ($a_rel_name) | |
| Delete one archive. More... | |
| createArchiveOnlineVersion ($a_rel_name) | |
| getOnlineLink ($a_rel_name) | |
Public Member Functions inherited from ilFileSystemStorage | |
| __construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
| Constructor. More... | |
| getContainerId () | |
| create () | |
| Create directory. More... | |
| getAbsolutePath () | |
| Get absolute path of storage directory. More... | |
| writeToFile ($a_data, $a_absolute_path) | |
| Write data to file. More... | |
| deleteFile ($a_abs_name) | |
| Delete file. More... | |
| deleteDirectory ($a_abs_name) | |
| Delete directory. More... | |
| delete () | |
| Delete complete directory. More... | |
| copyFile ($a_from, $a_to) | |
| Copy files. More... | |
| appendToPath ($a_appendix) | |
| getStorageType () | |
| getPath () | |
| Get path. More... | |
| __construct ($a_storage_type, $a_path_conversion, $a_container_id) | |
| Constructor. More... | |
| create () | |
| Create directory. More... | |
| getAbsolutePath () | |
| Get absolute path of storage directory. More... | |
| getShortPath () | |
| rename ($from, $to) | |
Static Public Member Functions | |
| static | _clone ($a_source_id, $a_target_id) |
| Clone course data directory. More... | |
Static Public Member Functions inherited from ilFileSystemStorage | |
| static | _createPathFromId ($a_container_id, $a_name) |
| Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More... | |
| static | _copyDirectory ($a_source, $a_target) |
| Copy directory and all contents. More... | |
| static | _createPathFromId ($a_container_id, $a_name) |
| Create a path from an id: e.g 12345 will be converted to 12/34/<name>_5. More... | |
Data Fields | |
| const | MEMBER_EXPORT_DIR = 'memberExport' |
| const | INFO_DIR = 'info' |
| const | ARCHIVE_DIR = 'archives' |
Data Fields inherited from ilFileSystemStorage | |
| const | STORAGE_WEB = 1 |
| const | STORAGE_DATA = 2 |
| const | STORAGE_SECURED = 3 |
| const | FACTOR = 100 |
| const | MAX_EXPONENT = 3 |
| const | SECURED_DIRECTORY = "sec" |
Protected Member Functions | |
| getPathPostfix () | |
| Implementation of abstract method. More... | |
| getPathPrefix () | |
| Implementation of abstract method. More... | |
| getPathPostfix () | |
| Implementation of abstract method. More... | |
| getPathPrefix () | |
| Implementation of abstract method. More... | |
Protected Member Functions inherited from ilFileSystemStorage | |
| getPathPrefix () | |
| Get path prefix. More... | |
| getPathPostfix () | |
| Get directory name. More... | |
| init () | |
| Read path info. More... | |
| getPathPrefix () | |
| Get path prefix. More... | |
| getPathPostfix () | |
| Get directory name. More... | |
Private Attributes | |
| $log | |
Additional Inherited Members | |
Protected Attributes inherited from ilFileSystemStorage | |
| $path | |
Definition at line 34 of file class.ilFSStorageCourse.php.
| ilFSStorageCourse::__construct | ( | $a_container_id = 0 | ) |
Constructor.
@access public
Definition at line 47 of file class.ilFSStorageCourse.php.
References $DIC, $log, ILIAS\GlobalScreen\Provider\__construct(), and ilFileSystemStorage\STORAGE_DATA.
Here is the call graph for this function:| ilFSStorageCourse::__construct | ( | $a_container_id = 0 | ) |
Constructor.
@access public
Definition at line 47 of file class.ilFSStorageCourse.php.
References $log, ILIAS\GlobalScreen\Provider\__construct(), and ilFileSystemStorage\STORAGE_DATA.
Here is the call graph for this function:
|
static |
Clone course data directory.
@access public
| string | obj_id source |
| string | obj_id target |
Definition at line 66 of file class.ilFSStorageCourse.php.
References $source, and ilFileSystemStorage\_copyDirectory().
Here is the call graph for this function:| ilFSStorageCourse::addArchiveSubDirectory | ( | $a_name | ) |
Add subdirectory for archives.
@access public
| string | archive subdirectory name |
Definition at line 234 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::addArchiveSubDirectory | ( | $a_name | ) |
Add subdirectory for archives.
@access public
| string | archive subdirectory name |
Definition at line 203 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::addMemberExportFile | ( | $a_data, | |
| $a_rel_name | |||
| ) |
Add new export file.
@access public
| string | data |
| string | filename |
Definition at line 136 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory(), initMemberExportDirectory(), and ilFileSystemStorage\writeToFile().
Here is the call graph for this function:| ilFSStorageCourse::addMemberExportFile | ( | $a_data, | |
| $a_rel_name | |||
| ) |
Add new export file.
@access public
| string | data |
| string | filename |
Definition at line 109 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory(), initMemberExportDirectory(), and ilFileSystemStorage\writeToFile().
Here is the call graph for this function:| ilFSStorageCourse::createArchiveOnlineVersion | ( | $a_rel_name | ) |
Definition at line 285 of file class.ilFSStorageCourse.php.
References CLIENT_WEB_DIR, getArchiveDirectory(), ilUtil\makeDirParents(), and ilUtil\rCopy().
Here is the call graph for this function:| ilFSStorageCourse::createArchiveOnlineVersion | ( | $a_rel_name | ) |
Definition at line 252 of file class.ilFSStorageCourse.php.
References CLIENT_WEB_DIR, getArchiveDirectory(), ilUtil\makeDir(), and ilUtil\rCopy().
Here is the call graph for this function:| ilFSStorageCourse::deleteArchive | ( | $a_rel_name | ) |
Delete one archive.
@access public
Definition at line 279 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\deleteDirectory(), ilFileSystemStorage\deleteFile(), and getArchiveDirectory().
Here is the call graph for this function:| ilFSStorageCourse::deleteArchive | ( | $a_rel_name | ) |
Delete one archive.
@access public
Definition at line 246 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\deleteDirectory(), ilFileSystemStorage\deleteFile(), and getArchiveDirectory().
Here is the call graph for this function:| ilFSStorageCourse::deleteMemberExportFile | ( | $a_export_name | ) |
Delete Member Export File.
@access public
Definition at line 198 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\deleteFile(), and getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::deleteMemberExportFile | ( | $a_export_name | ) |
Delete Member Export File.
@access public
Definition at line 167 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\deleteFile(), and getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::getArchiveDirectory | ( | ) |
Get archive directory.
@access public
Definition at line 222 of file class.ilFSStorageCourse.php.
References ARCHIVE_DIR, and ilFileSystemStorage\getAbsolutePath().
Referenced by addArchiveSubDirectory(), createArchiveOnlineVersion(), deleteArchive(), initArchiveDirectory(), writeArchiveFile(), and zipArchive().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageCourse::getArchiveDirectory | ( | ) |
Get archive directory.
@access public
Definition at line 191 of file class.ilFSStorageCourse.php.
References ARCHIVE_DIR, and ilFileSystemStorage\getAbsolutePath().
Here is the call graph for this function:| ilFSStorageCourse::getInfoDirectory | ( | ) |
Get course info directory.
@access public
Definition at line 100 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getAbsolutePath(), and INFO_DIR.
Referenced by initInfoDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageCourse::getInfoDirectory | ( | ) |
Get course info directory.
@access public
Definition at line 73 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getAbsolutePath(), and INFO_DIR.
Here is the call graph for this function:| ilFSStorageCourse::getMemberExportDirectory | ( | ) |
Get path of export directory.
@access public
Definition at line 123 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getAbsolutePath(), and MEMBER_EXPORT_DIR.
Referenced by addMemberExportFile(), deleteMemberExportFile(), getMemberExportFile(), getMemberExportFiles(), and initMemberExportDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageCourse::getMemberExportDirectory | ( | ) |
Get path of export directory.
@access public
Definition at line 96 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getAbsolutePath(), and MEMBER_EXPORT_DIR.
Here is the call graph for this function:| ilFSStorageCourse::getMemberExportFile | ( | $a_name | ) |
Definition at line 182 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::getMemberExportFile | ( | $a_name | ) |
Definition at line 151 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::getMemberExportFiles | ( | ) |
Get all member export files.
@access public
Definition at line 153 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getContainerId(), and getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::getMemberExportFiles | ( | ) |
Get all member export files.
@access public
Definition at line 126 of file class.ilFSStorageCourse.php.
References ilFileSystemStorage\getContainerId(), and getMemberExportDirectory().
Here is the call graph for this function:| ilFSStorageCourse::getOnlineLink | ( | $a_rel_name | ) |
Definition at line 293 of file class.ilFSStorageCourse.php.
References ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilFSStorageCourse::getOnlineLink | ( | $a_rel_name | ) |
Definition at line 260 of file class.ilFSStorageCourse.php.
References ilUtil\getWebspaceDir().
Here is the call graph for this function:
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 305 of file class.ilFSStorageCourse.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 272 of file class.ilFSStorageCourse.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 316 of file class.ilFSStorageCourse.php.
|
protected |
Implementation of abstract method.
@access protected
Reimplemented from ilFileSystemStorage.
Definition at line 283 of file class.ilFSStorageCourse.php.
| ilFSStorageCourse::initArchiveDirectory | ( | ) |
init Archive Directory
@access public
Definition at line 211 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::initArchiveDirectory | ( | ) |
init Archive Directory
@access public
Definition at line 180 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::initInfoDirectory | ( | ) |
init info directory
@access public
Definition at line 89 of file class.ilFSStorageCourse.php.
References getInfoDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::initInfoDirectory | ( | ) |
init info directory
@access public
Definition at line 62 of file class.ilFSStorageCourse.php.
References getInfoDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::initMemberExportDirectory | ( | ) |
Init export directory and create it if it does not exist.
@access public
Definition at line 112 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory(), and ilUtil\makeDirParents().
Referenced by addMemberExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilFSStorageCourse::initMemberExportDirectory | ( | ) |
Init export directory and create it if it does not exist.
@access public
Definition at line 85 of file class.ilFSStorageCourse.php.
References getMemberExportDirectory(), and ilUtil\makeDirParents().
Here is the call graph for this function:| ilFSStorageCourse::writeArchiveFile | ( | $a_data, | |
| $a_rel_name | |||
| ) |
Write archive string to file.
@access public
| string | relative filename |
Definition at line 246 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilFileSystemStorage\writeToFile().
Here is the call graph for this function:| ilFSStorageCourse::writeArchiveFile | ( | $a_data, | |
| $a_rel_name | |||
| ) |
Write archive string to file.
@access public
| string | relative filename |
Definition at line 215 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilFileSystemStorage\writeToFile().
Here is the call graph for this function:| ilFSStorageCourse::zipArchive | ( | $a_rel_name, | |
| $a_zip_name | |||
| ) |
Zip archive directory.
@access public
| string | relative name of directory to zip |
| string | zip archive name |
Definition at line 264 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\zip().
Here is the call graph for this function:| ilFSStorageCourse::zipArchive | ( | $a_rel_name, | |
| $a_zip_name | |||
| ) |
Zip archive directory.
@access public
| string | relative name of directory to zip |
| string | zip archive name |
Definition at line 233 of file class.ilFSStorageCourse.php.
References getArchiveDirectory(), and ilUtil\zip().
Here is the call graph for this function:
|
private |
Definition at line 40 of file class.ilFSStorageCourse.php.
Referenced by __construct().
| const ilFSStorageCourse::ARCHIVE_DIR = 'archives' |
Definition at line 38 of file class.ilFSStorageCourse.php.
Referenced by getArchiveDirectory().
| const ilFSStorageCourse::INFO_DIR = 'info' |
Definition at line 37 of file class.ilFSStorageCourse.php.
Referenced by getInfoDirectory().
| const ilFSStorageCourse::MEMBER_EXPORT_DIR = 'memberExport' |
Definition at line 36 of file class.ilFSStorageCourse.php.
Referenced by getMemberExportDirectory().