|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Collaboration diagram for ilQtiMatImageSecurity:Public Member Functions | |
| __construct (ilQTIMatimage $imageMaterial) | |
| getImageMaterial () | |
| setImageMaterial ($imageMaterial) | |
| validate () | |
| sanitizeLabel () | |
Protected Member Functions | |
| getDetectedMimeType () | |
| setDetectedMimeType ($detectedMimeType) | |
| validateContent () | |
| validateLabel () | |
| determineMimeType ($content) | |
| determineFileExtension ($label) | |
Protected Attributes | |
| $imageMaterial | |
| $detectedMimeType | |
Definition at line 14 of file class.ilQtiMatImageSecurity.php.
| ilQtiMatImageSecurity::__construct | ( | ilQTIMatimage | $imageMaterial | ) |
Definition at line 26 of file class.ilQtiMatImageSecurity.php.
References determineMimeType(), getImageMaterial(), setDetectedMimeType(), and setImageMaterial().
Here is the call graph for this function:
|
protected |
Definition at line 143 of file class.ilQtiMatImageSecurity.php.
References $filename.
Referenced by validateLabel().
Here is the caller graph for this function:
|
protected |
Definition at line 138 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\lookupContentMimeType().
Referenced by __construct().
Here is the call graph for this function:
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 43 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
Here is the caller graph for this function:| ilQtiMatImageSecurity::sanitizeLabel | ( | ) |
Definition at line 127 of file class.ilQtiMatImageSecurity.php.
References ilUtil\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
| string | $detectedMimeType |
Definition at line 67 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by __construct().
Here is the caller graph for this function:| ilQtiMatImageSecurity::setImageMaterial | ( | $imageMaterial | ) |
| 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 72 of file class.ilQtiMatImageSecurity.php.
References validateContent(), and validateLabel().
Here is the call graph for this function:
|
protected |
Definition at line 87 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType, 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 113 of file class.ilQtiMatImageSecurity.php.
References determineFileExtension(), getDetectedMimeType(), getImageMaterial(), 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 24 of file class.ilQtiMatImageSecurity.php.
Referenced by getDetectedMimeType(), setDetectedMimeType(), and validateContent().
|
protected |
Definition at line 19 of file class.ilQtiMatImageSecurity.php.
Referenced by getImageMaterial(), and setImageMaterial().