|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilQtiMatImageSecurity:Public Member Functions | |
| __construct (ilQTIMatimage $imageMaterial, \ILIAS\TestQuestionPool\QuestionFilesService $questionFilesService) | |
| getImageMaterial () | |
| setImageMaterial (ilQTIMatimage $imageMaterial) | |
| validate () | |
| sanitizeLabel () | |
Protected Member Functions | |
| getDetectedMimeType () | |
| setDetectedMimeType (string $detectedMimeType) | |
| validateContent () | |
| validateLabel () | |
| determineMimeType (?string $content) | |
| determineFileExtension (string $label) | |
| hasFileExtension (string $label) | |
Protected Attributes | |
| ilQTIMatimage | $imageMaterial |
| string | $detectedMimeType = "" |
Private Attributes | |
| ILIAS TestQuestionPool QuestionFilesService | $questionFilesService |
Definition at line 28 of file class.ilQtiMatImageSecurity.php.
| ilQtiMatImageSecurity::__construct | ( | ilQTIMatimage | $imageMaterial, |
| \ILIAS\TestQuestionPool\QuestionFilesService | $questionFilesService | ||
| ) |
Definition at line 34 of file class.ilQtiMatImageSecurity.php.
References $questionFilesService, determineMimeType(), getImageMaterial(), setDetectedMimeType(), and setImageMaterial().
Here is the call graph for this function:
|
protected |
Definition at line 145 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
Here is the caller graph for this function:
|
protected |
Definition at line 138 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 59 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 49 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
Here is the caller graph for this function:
|
protected |
Definition at line 156 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
Here is the caller graph for this function:| ilQtiMatImageSecurity::sanitizeLabel | ( | ) |
Definition at line 127 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 64 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by __construct().
Here is the caller graph for this function:| ilQtiMatImageSecurity::setImageMaterial | ( | ilQTIMatimage | $imageMaterial | ) |
Definition at line 54 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct().
Here is the caller graph for this function:| ilQtiMatImageSecurity::validate | ( | ) |
Definition at line 69 of file class.ilQtiMatImageSecurity.php.
References validateContent(), and validateLabel().
Here is the call graph for this function:
|
protected |
Definition at line 82 of file class.ilQtiMatImageSecurity.php.
References $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 112 of file class.ilQtiMatImageSecurity.php.
References determineFileExtension(), getDetectedMimeType(), getImageMaterial(), 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 32 of file class.ilQtiMatImageSecurity.php.
Referenced by getDetectedMimeType(), and setDetectedMimeType().
|
protected |
Definition at line 31 of file class.ilQtiMatImageSecurity.php.
Referenced by getImageMaterial(), and setImageMaterial().
|
private |
Definition at line 30 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct().