19 declare(strict_types=1);
    43         return self::PATH_POSTFIX;
    51         return self::PATH_PREFIX;
    77         $path = parent::getAbsolutePath();
    99         while ($file = readdir($fh)) {
   100             if ($file != 
"." && $file != 
".." && !is_dir($this->
getAbsolutePath() . 
"/" . $file)) {
   117         $new_file = 
$path . 
"/" . $clean_name;
   134         foreach ($files as $file) {
   135             if ($file === $filename) {
 
static getInstance(int $container_id=0)
 
static getValidFilename(string $a_filename)
 
getAbsolutePath()
Get the absolute path for files. 
 
static makeDirParents(string $a_dir)
Create a new directory and all parent directories. 
 
setUserId(int $user_id)
Set the user id for an extra folder of each participant in the IA. 
 
deleteAllFilesBut(?string $filename)
Delete the existing file. 
 
getPathPostfix()
part of the folder structure in ILIAS webdir. 
 
getPathPrefix()
part of the folder structure in ILIAS webdir. 
 
static moveUploadedFile(string $a_file, string $a_name, string $a_target, bool $a_raise_errors=true, string $a_mode="move_uploaded")
move uploaded file 
 
create()
creates the folder structure 
 
uploadFile(UploadResult $file)
Upload the file. 
 
deleteFile(string $a_abs_name)