|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Storage of images in settings. More...
Inheritance diagram for ilLearningSequenceFilesystem:
Collaboration diagram for ilLearningSequenceFilesystem:Public Member Functions | |
| __construct () | |
| moveUploaded (string $which, array $file_info, ilLearningSequenceSettings $settings) | |
| delete_image (string $which, ilLearningSequenceSettings $settings) | |
| getStoragePathFor (string $which, int $obj_id, string $suffix) | |
| getSuffix (string $file_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) | |
Data Fields | |
| const | IMG_ABSTRACT = 'abstract' |
| const | IMG_EXTRO = 'extro' |
| const | PATH_PRE = 'LSO' |
| const | PATH_POST = 'Images' |
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 | |
| getStoragePath () | |
| getPathPrefix () | |
Get path prefix.Prefix that will be prepended to the path No trailing slash. E.g ilFiles for files@abstract @access protected
| |
| getPathPostfix () | |
Get directory name.E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically@abstract @access protected
| |
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... | |
Additional Inherited Members | |
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... | |
Protected Attributes inherited from ilFileSystemStorage | |
| $path | |
Storage of images in settings.
Definition at line 10 of file class.ilLearningSequenceFilesystem.php.
| ilLearningSequenceFilesystem::__construct | ( | ) |
Definition at line 17 of file class.ilLearningSequenceFilesystem.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilFileSystemStorage\create(), and ilFileSystemStorage\getAbsolutePath().
Here is the call graph for this function:| ilLearningSequenceFilesystem::delete_image | ( | string | $which, |
| ilLearningSequenceSettings | $settings | ||
| ) |
Definition at line 47 of file class.ilLearningSequenceFilesystem.php.
References ilLearningSequenceSettings\getAbstractImage(), ilLearningSequenceSettings\getExtroImage(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
Here is the call graph for this function:
|
protected |
Get directory name.E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically@abstract @access protected
Reimplemented from ilFileSystemStorage.
Definition at line 96 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Get path prefix.Prefix that will be prepended to the path No trailing slash. E.g ilFiles for files@abstract @access protected
Reimplemented from ilFileSystemStorage.
Definition at line 88 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 80 of file class.ilLearningSequenceFilesystem.php.
| ilLearningSequenceFilesystem::getStoragePathFor | ( | string | $which, |
| int | $obj_id, | ||
| string | $suffix | ||
| ) |
Definition at line 62 of file class.ilLearningSequenceFilesystem.php.
| ilLearningSequenceFilesystem::getSuffix | ( | string | $file_name | ) |
Definition at line 72 of file class.ilLearningSequenceFilesystem.php.
| ilLearningSequenceFilesystem::moveUploaded | ( | string | $which, |
| array | $file_info, | ||
| ilLearningSequenceSettings | $settings | ||
| ) |
Definition at line 25 of file class.ilLearningSequenceFilesystem.php.
| const ilLearningSequenceFilesystem::IMG_ABSTRACT = 'abstract' |
Definition at line 12 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceImporter\buildSettings(), ilLearningSequenceSettingsDB\delete(), and ilObjLearningSequenceSettingsGUI\update().
| const ilLearningSequenceFilesystem::IMG_EXTRO = 'extro' |
Definition at line 13 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceImporter\buildSettings(), ilLearningSequenceSettingsDB\delete(), and ilObjLearningSequenceSettingsGUI\update().
| const ilLearningSequenceFilesystem::PATH_POST = 'Images' |
Definition at line 15 of file class.ilLearningSequenceFilesystem.php.
| const ilLearningSequenceFilesystem::PATH_PRE = 'LSO' |
Definition at line 14 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceSetupAgent\getInstallObjective().