4 require_once
'Services/FileSystem/classes/class.ilFileSystemStorage.php';
33 return 'ilAssQuestionProcessLocks';
57 set_error_handler(
function ($severity,
$message, $file, $line) {
63 restore_error_handler();
65 restore_error_handler();
68 if (!file_exists($this->
getPath())) {
77 $userId = (string) $userId;
81 for (
$i = 0, $max = strlen($userId);
$i < $max;
$i++) {
82 $path[] = substr($userId,
$i, 1);
85 $this->subPath = implode(
'/',
$path);
static makeDirParents($a_dir)
Create a new directory and all parent directories.
__construct($questionId, $userId)
getPathPrefix()
Get path prefix.
catch(Exception $e) $message
getPathPostfix()
Get directory name.