4 include_once(
'Services/FileSystem/classes/class.ilFileSystemStorage.php');
89 while (
$file = readdir($dp)) {
94 if (preg_match(
"/^([0-9]{10})_[a-zA-Z]*_export_([a-z]+)_([0-9]+)\.[a-z]+$/",
$file, $matches) and $matches[3] == $this->
getContainerId()) {
95 $timest = $matches[1];
96 $file_info[
'name'] = $matches[0];
97 $file_info[
'timest'] = $matches[1];
98 $file_info[
'type'] = $matches[2];
99 $file_info[
'id'] = $matches[3];
102 $files[$timest] = $file_info;
113 if (@file_exists($file_name)) {
114 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.