4 include_once(
'Services/FileSystem/classes/class.ilFileSystemStorage.php');
92 while(
$file = readdir($dp))
99 if(preg_match(
"/^([0-9]{10})_[a-zA-Z]*_export_([a-z]+)_([0-9]+)\.[a-z]+$/",
$file,$matches)
and $matches[3] == $this->
getContainerId())
101 $timest = $matches[1];
102 $file_info[
'name'] = $matches[0];
103 $file_info[
'timest'] = $matches[1];
104 $file_info[
'type'] = $matches[2];
105 $file_info[
'id'] = $matches[3];
108 $files[$timest] = $file_info;
119 if(@file_exists($file_name))
121 return file_get_contents($file_name);
getMemberExportDirectory()
Get path of export directory.
initMemberExportDirectory()
Init export directory and create it if it does not exist.
static makeDirParents($a_dir)
Create a new directory and all parent directories.
deleteMemberExportFile($a_export_name)
Delete Member Export File.
getMemberExportFile($a_name)
getMemberExportFiles()
Get all member export files.
getPathPostfix()
Implementation of abstract method.
addMemberExportFile($a_data, $a_rel_name)
Add new export file.
getPathPrefix()
Implementation of abstract method.
writeToFile($a_data, $a_absolute_path)
Write data to file.
Create styles array
The data for the language used.
getAbsolutePath()
Get absolute path of storage directory.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
__construct($a_container_id=0)
Constructor.
deleteFile($a_abs_name)
Delete file.