ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (protected ilQTIMatimage $image_material, private QuestionFiles $question_files) | |
getImageMaterial () | |
setImageMaterial (ilQTIMatimage $image_material) | |
validate () | |
sanitizeLabel () | |
Protected Member Functions | |
getDetectedMimeType () | |
setDetectedMimeType (string $detectedMimeType) | |
validateContent () | |
validateLabel () | |
determineMimeType (?string $content) | |
determineFileExtension (string $label) | |
hasFileExtension (string $label) | |
Protected Attributes | |
string | $detectedMimeType = "" |
Definition at line 29 of file class.ilQtiMatImageSecurity.php.
ilQtiMatImageSecurity::__construct | ( | protected ilQTIMatimage | $image_material, |
private QuestionFiles | $question_files | ||
) |
Definition at line 33 of file class.ilQtiMatImageSecurity.php.
References determineMimeType(), getImageMaterial(), and setDetectedMimeType().
|
protected |
Definition at line 142 of file class.ilQtiMatImageSecurity.php.
References null.
Referenced by validateLabel().
|
protected |
Definition at line 135 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct().
|
protected |
Definition at line 56 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by validateContent(), and validateLabel().
ilQtiMatImageSecurity::getImageMaterial | ( | ) |
Definition at line 46 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
|
protected |
Definition at line 153 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
ilQtiMatImageSecurity::sanitizeLabel | ( | ) |
Definition at line 124 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
|
protected |
Definition at line 61 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by __construct().
ilQtiMatImageSecurity::setImageMaterial | ( | ilQTIMatimage | $image_material | ) |
Definition at line 51 of file class.ilQtiMatImageSecurity.php.
ilQtiMatImageSecurity::validate | ( | ) |
Definition at line 66 of file class.ilQtiMatImageSecurity.php.
References validateContent(), and validateLabel().
|
protected |
Definition at line 79 of file class.ilQtiMatImageSecurity.php.
References $GLOBALS, $log, getDetectedMimeType(), and getImageMaterial().
Referenced by validate().
|
protected |
Definition at line 109 of file class.ilQtiMatImageSecurity.php.
References determineFileExtension(), getDetectedMimeType(), getImageMaterial(), ILIAS\Test\Questions\Presentation\getLabel, and hasFileExtension().
Referenced by validate().
|
protected |
Definition at line 31 of file class.ilQtiMatImageSecurity.php.
Referenced by getDetectedMimeType(), and setDetectedMimeType().