ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Icon handler for didactic template custom icons. More...
Public Member Functions | |
__construct (ilDidacticTemplateSetting $setting) | |
handleUpload (FileUpload $upload, string $tmpname) | |
writeSvg (string $svg) | |
getAbsolutePath () | |
copy (ilDidacticTemplateSetting $original) | |
delete () | |
toXml (ilXmlWriter $writer) | |
Protected Attributes | |
const | WEBDIR_PREFIX = 'ilDidacticTemplateIcons' |
ilDidacticTemplateSetting | $settings |
ilLogger | $logger |
Filesystem | $webDirectory |
Private Member Functions | |
initWebDir () | |
Icon handler for didactic template custom icons.
Definition at line 34 of file class.ilDidacticTemplateIconHandler.php.
ilDidacticTemplateIconHandler::__construct | ( | ilDidacticTemplateSetting | $setting | ) |
Definition at line 42 of file class.ilDidacticTemplateIconHandler.php.
References $DIC, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
ilDidacticTemplateIconHandler::copy | ( | ilDidacticTemplateSetting | $original | ) |
Definition at line 99 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, ilDidacticTemplateSetting\getIconHandler(), ilDidacticTemplateSetting\getIconIdentifier(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
ilDidacticTemplateIconHandler::delete | ( | ) |
Definition at line 117 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
ilDidacticTemplateIconHandler::getAbsolutePath | ( | ) |
Definition at line 90 of file class.ilDidacticTemplateIconHandler.php.
References ilFileUtils\getWebspaceDir(), and ILIAS\Repository\settings().
ilDidacticTemplateIconHandler::handleUpload | ( | FileUpload | $upload, |
string | $tmpname | ||
) |
Definition at line 51 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, ILIAS\FileUpload\FileUpload\getResults(), ILIAS\FileUpload\FileUpload\hasBeenProcessed(), ILIAS\FileUpload\FileUpload\hasUploads(), initWebDir(), ILIAS\FileUpload\DTO\UploadResult\isOK(), ILIAS\Repository\logger(), ILIAS\FileUpload\FileUpload\moveOneFileTo(), ILIAS\FileUpload\FileUpload\process(), and ILIAS\Repository\settings().
|
private |
Definition at line 130 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, and ILIAS\Repository\logger().
Referenced by handleUpload().
ilDidacticTemplateIconHandler::toXml | ( | ilXmlWriter | $writer | ) |
Definition at line 143 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, ILIAS\Repository\logger(), ILIAS\Repository\settings(), and ilXmlWriter\xmlElement().
ilDidacticTemplateIconHandler::writeSvg | ( | string | $svg | ) |
Definition at line 76 of file class.ilDidacticTemplateIconHandler.php.
References Vendor\Package\$e, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
|
protected |
Definition at line 39 of file class.ilDidacticTemplateIconHandler.php.
|
protected |
Definition at line 38 of file class.ilDidacticTemplateIconHandler.php.
|
protected |
Definition at line 40 of file class.ilDidacticTemplateIconHandler.php.
|
protected |
Definition at line 36 of file class.ilDidacticTemplateIconHandler.php.