ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
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) | |
![]() | |
__construct (private int $storage_type, private bool $path_conversion, private int $container_id) | |
Constructor. More... | |
fileExists (string $a_absolute_path) | |
getContainerId () | |
writeToFile (string $a_data, $a_absolute_path) | |
copyFile (string $a_from, string $a_to) | |
create () | |
getAbsolutePath () | |
Calculates the full path on the filesystem. More... | |
delete () | |
deleteDirectory (string $a_abs_name) | |
deleteFile (string $a_abs_name) | |
appendToPath (string $a_appendix) | |
getStorageType () | |
getPath () | |
Data Fields | |
const | IMG_ABSTRACT = 'abstract' |
const | IMG_EXTRO = 'extro' |
const | PATH_PRE = 'LSO' |
const | PATH_POST = 'Images' |
![]() | |
const | STORAGE_WEB = 1 |
const | STORAGE_DATA = 2 |
const | STORAGE_SECURED = 3 |
Protected Member Functions | |
getStoragePath () | |
getPathPrefix () | |
getPathPostfix () | |
![]() | |
getLegacyFullAbsolutePath (string $relative_path) | |
getFileSystemService () | |
getPathPrefix () | |
Get path prefix. More... | |
getPathPostfix () | |
Get directory name. More... | |
getLegacyAbsolutePath () | |
Calculates the absolute filesystem storage location. More... | |
init () | |
Additional Inherited Members | |
![]() | |
static | createPathFromId (int $a_container_id, string $a_name) |
static | _copyDirectory (string $a_sdir, string $a_tdir) |
![]() | |
string | $path = null |
Filesystems | $file_system_service |
Storage of images in settings.
Definition at line 24 of file class.ilLearningSequenceFilesystem.php.
ilLearningSequenceFilesystem::__construct | ( | ) |
Definition at line 31 of file class.ilLearningSequenceFilesystem.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilFileSystemAbstractionStorage\create(), and ilFileSystemAbstractionStorage\getAbsolutePath().
ilLearningSequenceFilesystem::delete_image | ( | string | $which, |
ilLearningSequenceSettings | $settings | ||
) |
Definition at line 61 of file class.ilLearningSequenceFilesystem.php.
References ilFileSystemAbstractionStorage\deleteFile(), ilLearningSequenceSettings\getAbstractImage(), ilLearningSequenceSettings\getExtroImage(), getStoragePath(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
|
protected |
Definition at line 109 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 101 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 93 of file class.ilLearningSequenceFilesystem.php.
References ilFileSystemAbstractionStorage\getAbsolutePath().
Referenced by delete_image(), and getStoragePathFor().
ilLearningSequenceFilesystem::getStoragePathFor | ( | string | $which, |
int | $obj_id, | ||
string | $suffix | ||
) |
Definition at line 78 of file class.ilLearningSequenceFilesystem.php.
References getStoragePath().
Referenced by moveUploaded().
ilLearningSequenceFilesystem::getSuffix | ( | string | $file_name | ) |
Definition at line 88 of file class.ilLearningSequenceFilesystem.php.
Referenced by moveUploaded().
ilLearningSequenceFilesystem::moveUploaded | ( | string | $which, |
array | $file_info, | ||
ilLearningSequenceSettings | $settings | ||
) |
Definition at line 39 of file class.ilLearningSequenceFilesystem.php.
References ilLearningSequenceSettings\getObjId(), getStoragePathFor(), getSuffix(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
const ilLearningSequenceFilesystem::IMG_ABSTRACT = 'abstract' |
Definition at line 26 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceSettingsDB\delete().
const ilLearningSequenceFilesystem::IMG_EXTRO = 'extro' |
Definition at line 27 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceSettingsDB\delete().
const ilLearningSequenceFilesystem::PATH_POST = 'Images' |
Definition at line 29 of file class.ilLearningSequenceFilesystem.php.
const ilLearningSequenceFilesystem::PATH_PRE = 'LSO' |
Definition at line 28 of file class.ilLearningSequenceFilesystem.php.
Referenced by ilLearningSequenceSetupAgent\getInstallObjective().