|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilQtiMatImageSecurity:Public Member Functions | |
| __construct (ilQTIMatimage $imageMaterial) | |
| 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 = "" |
Definition at line 28 of file class.ilQtiMatImageSecurity.php.
| ilQtiMatImageSecurity::__construct | ( | ilQTIMatimage | $imageMaterial | ) |
Definition at line 33 of file class.ilQtiMatImageSecurity.php.
References determineMimeType(), getImageMaterial(), setDetectedMimeType(), and setImageMaterial().
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.
References $imageMaterial.
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 | $imageMaterial | ) |
Definition at line 51 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct().
Here is the caller graph for this function:| 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, assQuestion\fetchMimeTypeIdentifier(), getDetectedMimeType(), getImageMaterial(), and assQuestion\isAllowedImageMimeType().
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(), hasFileExtension(), and assQuestion\isAllowedImageFileExtension().
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().
|
protected |
Definition at line 30 of file class.ilQtiMatImageSecurity.php.
Referenced by getImageMaterial(), and setImageMaterial().