|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilObjectCustomIconImpl TODO: Inject database persistence in future instead of using . More...
Collaboration diagram for ilObjectCustomIcon:Public Member Functions | |
| __construct (protected Filesystem $filesystem, protected FileUpload $upload, protected ilObjectCustomIconConfiguration $config, protected int $objId) | |
| copy (int $targetObjId) | |
| delete () | |
| getSupportedFileExtensions () | |
| saveFromSourceFile (string $sourceFilePath) | |
| saveFromTempFileName (string $tempfile_name) | |
| remove () | |
| exists () | |
| getFullPath () | |
| createFromImportDir (string $source_dir) | |
Protected Member Functions | |
| getObjId () | |
| persistIconState (string $fileName) | |
| createCustomIconDirectory () | |
| getIconDirectory () | |
| getIconFileName () | |
| getRelativePath () | |
Private Attributes | |
| const | ICON_BASENAME = 'icon_custom' |
Class ilObjectCustomIconImpl TODO: Inject database persistence in future instead of using .
Definition at line 31 of file class.ilObjectCustomIcon.php.
| ilObjectCustomIcon::__construct | ( | protected Filesystem | $filesystem, |
| protected FileUpload | $upload, | ||
| protected ilObjectCustomIconConfiguration | $config, | ||
| protected int | $objId | ||
| ) |
Definition at line 35 of file class.ilObjectCustomIcon.php.
| ilObjectCustomIcon::copy | ( | int | $targetObjId | ) |
Definition at line 48 of file class.ilObjectCustomIcon.php.
References Vendor\Package\$e, ilContainer\_writeContainerSetting(), exists(), ILIAS\Repository\filesystem(), and getRelativePath().
Here is the call graph for this function:
|
protected |
| IOException |
Definition at line 183 of file class.ilObjectCustomIcon.php.
References ILIAS\Repository\filesystem(), and getIconDirectory().
Referenced by saveFromSourceFile(), and saveFromTempFileName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectCustomIcon::createFromImportDir | ( | string | $source_dir | ) |
Definition at line 235 of file class.ilObjectCustomIcon.php.
References getIconDirectory(), getRelativePath(), ilFileUtils\getWebspaceDir(), persistIconState(), and ilFileUtils\rCopy().
Here is the call graph for this function:| ilObjectCustomIcon::delete | ( | ) |
Definition at line 71 of file class.ilObjectCustomIcon.php.
References Vendor\Package\$e, ilContainer\_deleteContainerSettings(), ILIAS\Repository\filesystem(), getIconDirectory(), and getObjId().
Here is the call graph for this function:| ilObjectCustomIcon::exists | ( | ) |
Definition at line 217 of file class.ilObjectCustomIcon.php.
References ilContainer\_lookupContainerSetting(), ILIAS\Repository\filesystem(), getObjId(), and getRelativePath().
Referenced by copy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectCustomIcon::getFullPath | ( | ) |
Definition at line 226 of file class.ilObjectCustomIcon.php.
References getRelativePath(), and ilFileUtils\getWebspaceDir().
Referenced by saveFromTempFileName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 196 of file class.ilObjectCustomIcon.php.
References getObjId().
Referenced by createCustomIconDirectory(), createFromImportDir(), delete(), getRelativePath(), and saveFromTempFileName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 204 of file class.ilObjectCustomIcon.php.
Referenced by getRelativePath(), and saveFromTempFileName().
Here is the caller graph for this function:
|
protected |
Definition at line 43 of file class.ilObjectCustomIcon.php.
References $objId.
Referenced by delete(), exists(), getIconDirectory(), persistIconState(), and remove().
Here is the caller graph for this function:
|
protected |
Definition at line 209 of file class.ilObjectCustomIcon.php.
References getIconDirectory(), and getIconFileName().
Referenced by copy(), createFromImportDir(), exists(), getFullPath(), remove(), saveFromSourceFile(), and saveFromTempFileName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectCustomIcon::getSupportedFileExtensions | ( | ) |
Definition at line 86 of file class.ilObjectCustomIcon.php.
|
protected |
Definition at line 160 of file class.ilObjectCustomIcon.php.
References ilContainer\_writeContainerSetting(), ILIAS\Repository\filesystem(), and getObjId().
Referenced by createFromImportDir(), saveFromSourceFile(), and saveFromTempFileName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectCustomIcon::remove | ( | ) |
Definition at line 169 of file class.ilObjectCustomIcon.php.
References ilContainer\_writeContainerSetting(), ILIAS\Repository\filesystem(), getObjId(), and getRelativePath().
Here is the call graph for this function:| ilObjectCustomIcon::saveFromSourceFile | ( | string | $sourceFilePath | ) |
Definition at line 91 of file class.ilObjectCustomIcon.php.
References createCustomIconDirectory(), ILIAS\Repository\filesystem(), getRelativePath(), and persistIconState().
Here is the call graph for this function:| ilObjectCustomIcon::saveFromTempFileName | ( | string | $tempfile_name | ) |
Definition at line 106 of file class.ilObjectCustomIcon.php.
References createCustomIconDirectory(), ILIAS\Repository\filesystem(), ilFileUtils\getDataDir(), getFullPath(), getIconDirectory(), getIconFileName(), getRelativePath(), persistIconState(), and ILIAS\Repository\upload().
Here is the call graph for this function:
|
private |
Definition at line 33 of file class.ilObjectCustomIcon.php.