| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 30 of file class.ilQtiMatImageSecurity.php.
| ilQtiMatImageSecurity::__construct | ( | protected ilQTIMatimage | $image_material, | 
| private QuestionFiles | $question_files | ||
| ) | 
Definition at line 34 of file class.ilQtiMatImageSecurity.php.
References determineMimeType(), getImageMaterial(), and setDetectedMimeType().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 143 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 136 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 57 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 47 of file class.ilQtiMatImageSecurity.php.
Referenced by __construct(), sanitizeLabel(), validateContent(), and validateLabel().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 154 of file class.ilQtiMatImageSecurity.php.
Referenced by validateLabel().
 Here is the caller graph for this function:| ilQtiMatImageSecurity::sanitizeLabel | ( | ) | 
Definition at line 125 of file class.ilQtiMatImageSecurity.php.
References ilFileUtils\getASCIIFilename(), getImageMaterial(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 62 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 52 of file class.ilQtiMatImageSecurity.php.
| ilQtiMatImageSecurity::validate | ( | ) | 
Definition at line 67 of file class.ilQtiMatImageSecurity.php.
References validateContent(), and validateLabel().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 80 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 110 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 32 of file class.ilQtiMatImageSecurity.php.
Referenced by getDetectedMimeType(), and setDetectedMimeType().