ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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().
|
protected |
Definition at line 143 of file class.ilQtiMatImageSecurity.php.
References $filename.
Referenced by validateLabel().
|
protected |
Definition at line 138 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\lookupContentMimeType().
Referenced by __construct().
|
protected |
Definition at line 59 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by validateContent(), and validateLabel().
ilQtiMatImageSecurity::getImageMaterial | ( | ) |
Definition at line 43 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
ilQtiMatImageSecurity::sanitizeLabel | ( | ) |
Definition at line 127 of file class.ilQtiMatImageSecurity.php.
References ilUtil\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
|
protected |
string | $detectedMimeType |
Definition at line 67 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType.
Referenced by __construct().
ilQtiMatImageSecurity::setImageMaterial | ( | $imageMaterial | ) |
ilQTIMatimage | $imageMaterial |
Definition at line 51 of file class.ilQtiMatImageSecurity.php.
References $imageMaterial.
Referenced by __construct().
ilQtiMatImageSecurity::validate | ( | ) |
Definition at line 72 of file class.ilQtiMatImageSecurity.php.
References validateContent(), and validateLabel().
|
protected |
Definition at line 87 of file class.ilQtiMatImageSecurity.php.
References $detectedMimeType, assQuestion\fetchMimeTypeIdentifier(), getDetectedMimeType(), getImageMaterial(), and assQuestion\isAllowedImageMimeType().
Referenced by validate().
|
protected |
Definition at line 113 of file class.ilQtiMatImageSecurity.php.
References determineFileExtension(), getDetectedMimeType(), getImageMaterial(), and assQuestion\isAllowedImageFileExtension().
Referenced by validate().
|
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().