|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilQtiMatImageSecurity: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().
Here is the call graph for this function:
|
protected |
Definition at line 142 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
Here is the caller graph for this function:
|
protected |
Definition at line 135 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 56 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by validateContent(), and validateLabel().
Here is the caller graph for this function:| ilQtiMatImageSecurity::getImageMaterial | ( | ) |
Definition at line 46 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
Here is the caller graph for this function:
|
protected |
Definition at line 153 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
Here is the caller graph for this function:| ilQtiMatImageSecurity::sanitizeLabel | ( | ) |
Definition at line 124 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 61 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by __construct().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
Definition at line 79 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType, $GLOBALS, $log, getDetectedMimeType(), and getImageMaterial().
Referenced by validate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 109 of file class.ilQtiMatImageSecurity.php.
References determineFileExtension(), getDetectedMimeType(), getImageMaterial(), ILIAS\Test\Questions\Presentation\getLabel, and hasFileExtension().
Referenced by validate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file class.ilQtiMatImageSecurity.php.
Referenced by getDetectedMimeType(), setDetectedMimeType(), and validateContent().