ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 () | |
Get path prefix.Prefix that will be prepended to the path No trailing slash. E.g ilFiles for files More... | |
getPathPostfix () | |
Get directory name.E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically More... | |
![]() | |
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 ilLearningSequenceSettings\getAbstractImage(), ilLearningSequenceSettings\getExtroImage(), ilLearningSequenceSettings\withAbstractImage(), and ilLearningSequenceSettings\withExtroImage().
|
protected |
Get directory name.E.g for files => file Only relative path, no trailing slash '_<obj_id>' will be appended automatically
Reimplemented from ilFileSystemAbstractionStorage.
Definition at line 109 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
Reimplemented from ilFileSystemAbstractionStorage.
Definition at line 101 of file class.ilLearningSequenceFilesystem.php.
|
protected |
Definition at line 93 of file class.ilLearningSequenceFilesystem.php.
ilLearningSequenceFilesystem::getStoragePathFor | ( | string | $which, |
int | $obj_id, | ||
string | $suffix | ||
) |
Definition at line 78 of file class.ilLearningSequenceFilesystem.php.
ilLearningSequenceFilesystem::getSuffix | ( | string | $file_name | ) |
Definition at line 88 of file class.ilLearningSequenceFilesystem.php.
ilLearningSequenceFilesystem::moveUploaded | ( | string | $which, |
array | $file_info, | ||
ilLearningSequenceSettings | $settings | ||
) |
Definition at line 39 of file class.ilLearningSequenceFilesystem.php.
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().