ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
__construct (int $providerId, string $filename='') | |
ilLTIConsumeProviderIcon constructor. More... | |
buildFilename (string $fileExtension) | |
getFilename () | |
setFilename (string $filename) | |
getRelativeDirectory () | |
getRelativeFilePath () | |
getAbsoluteFilePath () | |
exists () | |
handleUploadInputSubission (ilImageFileInputGUI $fileInput, array $fileData) | |
Static Public Member Functions | |
static | getSupportedFileExtensions () |
Data Fields | |
const | MAX_ICON_SIZE = 32 |
Protected Member Functions | |
ensureExistingRelativeDirectory () | |
delete () | |
convert () | |
save (string $uploadFile) | |
Protected Attributes | |
int | $providerId |
string | $filename |
Static Protected Attributes | |
static array | $RELATIVE_DIRECTORY_PATH |
static array | $SUPPORTED_FILE_EXTENSIONS |
Definition at line 29 of file class.ilLTIConsumeProviderIcon.php.
ilLTIConsumeProviderIcon::__construct | ( | int | $providerId, |
string | $filename = '' |
||
) |
ilLTIConsumeProviderIcon constructor.
Definition at line 55 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, $filename, $providerId, and ensureExistingRelativeDirectory().
ilLTIConsumeProviderIcon::buildFilename | ( | string | $fileExtension | ) |
Definition at line 65 of file class.ilLTIConsumeProviderIcon.php.
Referenced by save().
|
protected |
Definition at line 137 of file class.ilLTIConsumeProviderIcon.php.
References ilShellUtil\execConvert(), and getAbsoluteFilePath().
Referenced by save().
|
protected |
Definition at line 126 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, getRelativeFilePath(), and setFilename().
|
protected |
Definition at line 102 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, and getRelativeDirectory().
Referenced by __construct().
ilLTIConsumeProviderIcon::exists | ( | ) |
Definition at line 111 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, getFilename(), and getRelativeFilePath().
ilLTIConsumeProviderIcon::getAbsoluteFilePath | ( | ) |
Definition at line 92 of file class.ilLTIConsumeProviderIcon.php.
References getRelativeFilePath(), and ilFileUtils\getWebspaceDir().
Referenced by convert().
ilLTIConsumeProviderIcon::getFilename | ( | ) |
Definition at line 70 of file class.ilLTIConsumeProviderIcon.php.
References $filename.
Referenced by exists(), and getRelativeFilePath().
ilLTIConsumeProviderIcon::getRelativeDirectory | ( | ) |
Definition at line 80 of file class.ilLTIConsumeProviderIcon.php.
Referenced by ensureExistingRelativeDirectory(), getRelativeFilePath(), and save().
ilLTIConsumeProviderIcon::getRelativeFilePath | ( | ) |
Definition at line 85 of file class.ilLTIConsumeProviderIcon.php.
References getFilename(), and getRelativeDirectory().
Referenced by delete(), exists(), and getAbsoluteFilePath().
|
static |
Definition at line 218 of file class.ilLTIConsumeProviderIcon.php.
Referenced by ilLTIConsumeProviderFormGUI\initForm(), and ilLTIConsumeProviderFormGUI\initToolConfigForm().
ilLTIConsumeProviderIcon::handleUploadInputSubission | ( | ilImageFileInputGUI | $fileInput, |
array | $fileData | ||
) |
Definition at line 202 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, ilImageFileInputGUI\getDeletionFlag(), and save().
|
protected |
Definition at line 161 of file class.ilLTIConsumeProviderIcon.php.
References $DIC, $results, buildFilename(), convert(), getRelativeDirectory(), and setFilename().
Referenced by handleUploadInputSubission().
ilLTIConsumeProviderIcon::setFilename | ( | string | $filename | ) |
Definition at line 75 of file class.ilLTIConsumeProviderIcon.php.
References $filename.
Referenced by delete(), and save().
|
protected |
Definition at line 49 of file class.ilLTIConsumeProviderIcon.php.
Referenced by __construct(), getFilename(), and setFilename().
|
protected |
Definition at line 44 of file class.ilLTIConsumeProviderIcon.php.
Referenced by __construct().
|
staticprotected |
Definition at line 33 of file class.ilLTIConsumeProviderIcon.php.
|
staticprotected |
Definition at line 37 of file class.ilLTIConsumeProviderIcon.php.
const ilLTIConsumeProviderIcon::MAX_ICON_SIZE = 32 |
Definition at line 31 of file class.ilLTIConsumeProviderIcon.php.