ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Storage of images in settings. More...
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' |
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 () | |
getPathPostfix () | |
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 15 of file class.ilLearningSequenceFilesystem.php.
References ilFileSystemStorage\create(), and ilFileSystemStorage\getAbsolutePath().
ilLearningSequenceFilesystem::delete_image | ( | string | $which, |
ilLearningSequenceSettings | $settings | ||
) |
Definition at line 45 of file class.ilLearningSequenceFilesystem.php.
References ilFileSystemStorage\deleteFile(), ilLearningSequenceSettings\getAbstractImage(), ilLearningSequenceSettings\getExtroImage(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
|
protected |
Definition at line 94 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 86 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 78 of file class.ilLearningSequenceFilesystem.php.
References ilFileSystemStorage\getAbsolutePath().
Referenced by getStoragePathFor().
ilLearningSequenceFilesystem::getStoragePathFor | ( | string | $which, |
int | $obj_id, | ||
string | $suffix | ||
) |
Definition at line 60 of file class.ilLearningSequenceFilesystem.php.
References getStoragePath().
Referenced by moveUploaded().
ilLearningSequenceFilesystem::getSuffix | ( | string | $file_name | ) |
Definition at line 70 of file class.ilLearningSequenceFilesystem.php.
Referenced by moveUploaded().
ilLearningSequenceFilesystem::moveUploaded | ( | string | $which, |
array | $file_info, | ||
ilLearningSequenceSettings | $settings | ||
) |
Definition at line 23 of file class.ilLearningSequenceFilesystem.php.
References $target, ilLearningSequenceSettings\getObjId(), getStoragePathFor(), getSuffix(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
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().