4require_once
'Services/FileSystem/classes/class.ilFileSystemStorage.php';
33 return 'ilAssQuestionProcessLocks';
57 if(!file_exists($this->
getPath()))
66 $userId = (string)$userId;
70 for($i = 0, $max = strlen($userId); $i < $max; $i++)
72 $path[] = substr($userId, $i, 1);
75 $this->subPath = implode(
'/',
$path);
An exception for terminatinating execution or to throw for unit testing.
getPathPostfix()
Get directory name.
getPathPrefix()
Get path prefix.
create()
Create directory.
__construct($questionId, $userId)
static makeDirParents($a_dir)
Create a new directory and all parent directories.