ILIAS
Release_4_1_x_branch Revision 61804
|
Public Member Functions | |
__construct () | |
Default constructor. | |
_getExportFiles ($a_obj_id, $a_export_types="", $a_obj_type="") | |
Get Export Files. | |
_createExportDirectory ($a_obj_id, $a_export_type="xml", $a_obj_type="") | |
Create export directory. | |
_generateIndexFile ($a_filename, $a_obj_id, $a_files, $a_type="") | |
Generates an index.html file including links to all xml files included (for container exports) | |
exportObject ($a_type, $a_id, $a_target_release, $a_config="") | |
Export an ILIAS object (the object type must be known by objDefinition) | |
processExporter ($a_comp, $a_class, $a_entity, $a_target_release, $a_id) | |
Process exporter. |
Static Public Member Functions | |
static | _getFileTypeString ($a_obj_type) |
Get file type string. | |
static | _getValidExportSubItems ($a_ref_id) |
Get a list of subitems of a repository resource, that implement the export. | |
static | _getLastExportFileDate ($a_obj_id, $a_type="", $a_obj_type="") |
Get date of last export file. | |
static | _getLastExportFileInformation ($a_obj_id, $a_type="", $a_obj_type="") |
Get last export file information. | |
static | _getExportDirectory ($a_obj_id, $a_type="xml", $a_obj_type="") |
Get export directory. |
Static Public Attributes | |
static | $new_file_structure = array('exc','crs','sess','file','grp','frm') |
static | $export_implementer = array("tst", "lm", "glo") |
static | $file_type_str |
Definition at line 13 of file class.ilExport.php.
ilExport::__construct | ( | ) |
Default constructor.
Definition at line 32 of file class.ilExport.php.
Referenced by ilExportContainer\__construct().
ilExport::_createExportDirectory | ( | $a_obj_id, | |
$a_export_type = "xml" , |
|||
$a_obj_type = "" |
|||
) |
Create export directory.
Definition at line 214 of file class.ilExport.php.
References $ilErr, _getExportDirectory(), ilObject\_lookupType(), ilUtil\getDataDir(), ilUtil\makeDir(), and ilUtil\makeDirParents().
Referenced by ilObjGlossary\createExportDirectory(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), and exportObject().
ilExport::_generateIndexFile | ( | $a_filename, | |
$a_obj_id, | |||
$a_files, | |||
$a_type = "" |
|||
) |
Generates an index.html file including links to all xml files included (for container exports)
Definition at line 269 of file class.ilExport.php.
References $file, $lng, ilObject\_lookupTitle(), ilObject\_lookupType(), and ilUtil\getStyleSheetLocation().
Referenced by ilCourseArchives\addXML().
|
static |
Get export directory.
Definition at line 114 of file class.ilExport.php.
References $dir, $GLOBALS, ilFileSystemStorage\_createPathFromId(), ilObject\_lookupType(), and ilUtil\getDataDir().
Referenced by ilCourseArchives\__addZipFiles(), _createExportDirectory(), _getExportFiles(), ilExportContainer\addSubitems(), ilExportGUI\delete(), ilExportGUI\download(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), exportObject(), and ilObjGlossary\getExportDirectory().
ilExport::_getExportFiles | ( | $a_obj_id, | |
$a_export_types = "" , |
|||
$a_obj_type = "" |
|||
) |
Get Export Files.
Definition at line 150 of file class.ilExport.php.
References $dir, $file, _getExportDirectory(), _getFileTypeString(), and ilObject\_lookupType().
Referenced by _getLastExportFileDate(), _getLastExportFileInformation(), ilExportTableGUI\getExportFiles(), and ilObjGlossary\getExportFiles().
|
static |
Get file type string.
string | Object Type |
Definition at line 43 of file class.ilExport.php.
Referenced by _getExportFiles(), and exportObject().
|
static |
Get date of last export file.
Definition at line 82 of file class.ilExport.php.
References $files, _getExportFiles(), and ilUtil\sortArray().
Referenced by _getValidExportSubItems().
|
static |
Get last export file information.
Definition at line 96 of file class.ilExport.php.
References $files, _getExportFiles(), and ilUtil\sortArray().
Referenced by ilCourseArchives\__addZipFiles().
|
static |
Get a list of subitems of a repository resource, that implement the export.
Includes also information on last export file.
Definition at line 59 of file class.ilExport.php.
References _getLastExportFileDate().
Referenced by ilSubItemSelectionTableGUI\ilSubItemSelectionTableGUI().
ilExport::exportObject | ( | $a_type, | |
$a_id, | |||
$a_target_release, | |||
$a_config = "" |
|||
) |
Export an ILIAS object (the object type must be known by objDefinition)
@return |
Definition at line 327 of file class.ilExport.php.
References $filename, $success, $tpl, _createExportDirectory(), _getExportDirectory(), _getFileTypeString(), ilObject\_lookupTitle(), ilUtil\delDir(), IL_CAL_UNIX, ilUtil\makeDirParents(), processExporter(), and ilUtil\zip().
ilExport::processExporter | ( | $a_comp, | |
$a_class, | |||
$a_entity, | |||
$a_target_release, | |||
$a_id | |||
) |
Process exporter.
@return |
Definition at line 400 of file class.ilExport.php.
References $success, exit, and ilUtil\makeDirParents().
Referenced by exportObject().
|
static |
Definition at line 18 of file class.ilExport.php.
|
static |
Definition at line 22 of file class.ilExport.php.
|
static |
Definition at line 15 of file class.ilExport.php.