|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Export Container. More...
Inheritance diagram for ilExportContainer:
Collaboration diagram for ilExportContainer:Public Member Functions | |
| __construct (ilExportOptions $eo) | |
| Constructor. More... | |
| exportObject ($a_type, $a_id, $a_target_release="") | |
| Export a container. More... | |
Public Member Functions inherited from ilExport | |
| __construct () | |
| Default constructor. More... | |
| getConfig ($a_comp) | |
| Get configuration (note that configurations are optional, null may be returned!) More... | |
| exportObject ($a_type, $a_id, $a_target_release="") | |
| Export an ILIAS object (the object type must be known by objDefinition) More... | |
| exportEntity ( $a_entity, $a_id, $a_target_release, $a_component, $a_title, $a_export_dir, $a_type_for_file="") | |
| Export an ILIAS entity. More... | |
| processExporter ($a_comp, $a_class, $a_entity, $a_target_release, $a_id) | |
| Process exporter. More... | |
Protected Member Functions | |
| manifestWriterBegin ($a_type, $a_id, $a_target_release) | |
| Write container manifest. More... | |
| addContainer () | |
| Add container description. More... | |
| addSubitems ($a_id, $a_type, $a_target_release) | |
| Add subitems. More... | |
| manifestWriterEnd ($a_type, $a_id, $a_target_release) | |
| Write manifest footer. More... | |
Private Attributes | |
| $cont_export_dir = '' | |
| $cont_manifest_writer = null | |
| $eo = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilExport | |
| static | _getValidExportSubItems ($a_ref_id) |
| Get a list of subitems of a repository resource, that implement the export. More... | |
| static | _getLastExportFileDate ($a_obj_id, $a_type="", $a_obj_type="") |
| Get date of last export file. More... | |
| static | _getLastExportFileInformation ($a_obj_id, $a_type="", $a_obj_type="") |
| Get last export file information. More... | |
| static | _getExportDirectory ($a_obj_id, $a_type="xml", $a_obj_type="", $a_entity="") |
| Get export directory for an repository object. More... | |
| static | _getExportFiles ($a_obj_id, $a_export_types="", $a_obj_type="") |
| Get Export Files for a repository object. More... | |
| static | _createExportDirectory ($a_obj_id, $a_export_type="xml", $a_obj_type="") |
| static | _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) More... | |
Static Public Attributes inherited from ilExport | |
| static | $new_file_structure = array('cat','exc','crs','sess','file','grp','frm', 'usr', 'catr', 'crsr', 'grpr') |
| static | $export_implementer = array("tst", "lm", "glo", "sahs") |
Protected Attributes inherited from ilExport | |
| $log | |
| $configs = array() | |
| ilExportContainer::__construct | ( | ilExportOptions | $eo | ) |
Constructor.
| ilExportOptions | $eo |
Definition at line 27 of file class.ilExportContainer.php.
References $eo.
|
protected |
Add container description.
Definition at line 95 of file class.ilExportContainer.php.
Referenced by exportObject().
Here is the caller graph for this function:
|
protected |
Add subitems.
| object | $a_id | |
| object | $a_type |
Definition at line 106 of file class.ilExportContainer.php.
References $DIC, ilExport\_getExportDirectory(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilExportFileInfo\lookupLastExport(), ilUtil\makeDirParents(), and ilUtil\unzip().
Referenced by exportObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExportContainer::exportObject | ( | $a_type, | |
| $a_id, | |||
$a_target_release = "" |
|||
| ) |
Export a container.
| object | $a_type | |
| object | $a_obj_id | |
| object | $a_target_release |
Reimplemented from ilExport.
Definition at line 41 of file class.ilExportContainer.php.
References $a_type, $GLOBALS, ilExport\$log, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), addContainer(), addSubitems(), ilUtil\delDir(), ILIAS_VERSION_NUMERIC, ilUtil\makeDirParents(), manifestWriterBegin(), manifestWriterEnd(), and ilUtil\zip().
Here is the call graph for this function:
|
protected |
Write container manifest.
Definition at line 75 of file class.ilExportContainer.php.
References $a_type, and ilObject\_lookupTitle().
Referenced by exportObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Write manifest footer.
| object | $a_type | |
| object | $a_id | |
| object | $a_target_release |
Definition at line 178 of file class.ilExportContainer.php.
Referenced by exportObject().
Here is the caller graph for this function:
|
private |
Definition at line 17 of file class.ilExportContainer.php.
|
private |
Definition at line 18 of file class.ilExportContainer.php.
|
private |
Definition at line 19 of file class.ilExportContainer.php.
Referenced by __construct().