4 include_once(
'Services/FileSystem/classes/class.ilFileSystemStorage.php');
91 while ($file = readdir($dp)) {
96 if (preg_match(
"/^([0-9]{10})_[a-zA-Z]*_export_([a-z]+)_([0-9]+)\.[a-z]+$/", $file, $matches)
and $matches[3] == $this->
getContainerId()) {
97 $timest = $matches[1];
98 $file_info[
'name'] = $matches[0];
99 $file_info[
'timest'] = $matches[1];
100 $file_info[
'type'] = $matches[2];
101 $file_info[
'id'] = $matches[3];
104 $files[$timest] = $file_info;
115 if (@file_exists($file_name)) {
116 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.
getAbsolutePath()
Get absolute path of storage directory.
__construct($a_container_id=0)
Constructor.
deleteFile($a_abs_name)
Delete file.