ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (int $providerId, string $filename='') | |
ilLTIConsumeProviderIcon constructor. More... | |
buildFilename ($fileExtension) | |
getFilename () | |
setFilename (string $filename) | |
getRelativeDirectory () | |
getRelativeFilePath () | |
getAbsoluteFilePath () | |
exists () | |
handleUploadInputSubission (ilImageFileInputGUI $fileInput) | |
Static Public Member Functions | |
static | getSupportedFileExtensions () |
Data Fields | |
const | MAX_ICON_SIZE = 32 |
Protected Member Functions | |
ensureExistingRelativeDirectory () | |
delete () | |
convert () | |
save (string $uploadFile) | |
Protected Attributes | |
$providerId | |
$filename | |
Static Protected Attributes | |
static | $RELATIVE_DIRECTORY_PATH |
static | $SUPPORTED_FILE_EXTENSIONS |
Definition at line 14 of file class.ilLTIConsumeProviderIcon.php.
ilLTIConsumeProviderIcon::__construct | ( | int | $providerId, |
string | $filename = '' |
||
) |
ilLTIConsumeProviderIcon constructor.
int | $providerId | |
string | $filename |
Definition at line 42 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, $filename, $providerId, and ensureExistingRelativeDirectory().
ilLTIConsumeProviderIcon::buildFilename | ( | $fileExtension | ) |
Definition at line 52 of file class.ilLTIConsumeProviderIcon.php.
Referenced by save().
|
protected |
Definition at line 142 of file class.ilLTIConsumeProviderIcon.php.
References $type, ilUtil\execConvert(), and getAbsoluteFilePath().
Referenced by save().
|
protected |
Definition at line 131 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, getRelativeFilePath(), and setFilename().
|
protected |
Definition at line 104 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, and getRelativeDirectory().
Referenced by __construct().
ilLTIConsumeProviderIcon::exists | ( | ) |
Definition at line 116 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, getFilename(), and getRelativeFilePath().
ilLTIConsumeProviderIcon::getAbsoluteFilePath | ( | ) |
Definition at line 94 of file class.ilLTIConsumeProviderIcon.php.
References getRelativeFilePath(), and ilUtil\getWebspaceDir().
Referenced by convert().
ilLTIConsumeProviderIcon::getFilename | ( | ) |
Definition at line 60 of file class.ilLTIConsumeProviderIcon.php.
References $filename.
Referenced by exists(), and getRelativeFilePath().
ilLTIConsumeProviderIcon::getRelativeDirectory | ( | ) |
Definition at line 76 of file class.ilLTIConsumeProviderIcon.php.
Referenced by ensureExistingRelativeDirectory(), getRelativeFilePath(), and save().
ilLTIConsumeProviderIcon::getRelativeFilePath | ( | ) |
Definition at line 84 of file class.ilLTIConsumeProviderIcon.php.
References getFilename(), and getRelativeDirectory().
Referenced by delete(), exists(), and getAbsoluteFilePath().
|
static |
Definition at line 225 of file class.ilLTIConsumeProviderIcon.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm().
ilLTIConsumeProviderIcon::handleUploadInputSubission | ( | ilImageFileInputGUI | $fileInput | ) |
ilImageFileInputGUI | $fileInput |
Definition at line 207 of file class.ilLTIConsumeProviderIcon.php.
References $_POST, ilImageFileInputGUI\getDeletionFlag(), ilFormPropertyGUI\getPostVar(), and save().
|
protected |
string | $uploadFile |
Definition at line 167 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, $result, $results, buildFilename(), convert(), getRelativeDirectory(), ILIAS\FileUpload\DTO\ProcessingStatus\OK, and setFilename().
Referenced by handleUploadInputSubission().
ilLTIConsumeProviderIcon::setFilename | ( | string | $filename | ) |
string | $filename |
Definition at line 68 of file class.ilLTIConsumeProviderIcon.php.
References $filename.
Referenced by delete(), and save().
|
protected |
Definition at line 34 of file class.ilLTIConsumeProviderIcon.php.
Referenced by __construct(), getFilename(), and setFilename().
|
protected |
Definition at line 29 of file class.ilLTIConsumeProviderIcon.php.
Referenced by __construct().
|
staticprotected |
Definition at line 18 of file class.ilLTIConsumeProviderIcon.php.
|
staticprotected |
Definition at line 22 of file class.ilLTIConsumeProviderIcon.php.
const ilLTIConsumeProviderIcon::MAX_ICON_SIZE = 32 |
Definition at line 16 of file class.ilLTIConsumeProviderIcon.php.