4 require_once
'Modules/TestQuestionPool/classes/class.assQuestion.php';
5 require_once
'Services/Utilities/classes/class.ilFileUtils.php';
6 require_once
'Services/QTI/exceptions/class.ilQtiException.php';
131 $label = basename($label);
145 list($dirname, $basename, $extension,
$filename) = array_values( pathinfo($label) );
determineMimeType($content)
static getASCIIFilename($a_filename)
convert utf8 to ascii filename
static isAllowedImageMimeType($mimeType)
setImageMaterial($imageMaterial)
determineFileExtension($label)
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static isAllowedImageFileExtension($mimeType, $fileExtension)
__construct(ilQTIMatimage $imageMaterial)
static lookupContentMimeType($content)
static fetchMimeTypeIdentifier($contentTypeString)
setDetectedMimeType($detectedMimeType)