ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Export Container. More...
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().
|
protected |
Add subitems.
object | $a_id | |
object | $a_type |
Definition at line 107 of file class.ilExportContainer.php.
References $GLOBALS, $ref_id, ilExport\_getExportDirectory(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, ilExportFileInfo\lookupLastExport(), ilUtil\makeDirParents(), and ilUtil\unzip().
Referenced by exportObject().
ilExportContainer::exportObject | ( | $a_type, | |
$a_id, | |||
$a_target_release = "" |
|||
) |
Export a container.
object | $a_type | |
object | $a_obj_id | |
object | $a_target_release |
Definition at line 41 of file class.ilExportContainer.php.
References $a_type, $GLOBALS, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), addContainer(), addSubitems(), ilUtil\delDir(), ILIAS_VERSION_NUMERIC, ilUtil\makeDirParents(), manifestWriterBegin(), manifestWriterEnd(), time, and ilUtil\zip().
|
protected |
Write container manifest.
Definition at line 74 of file class.ilExportContainer.php.
References $a_type, $GLOBALS, ilObject\_lookupTitle(), and array.
Referenced by exportObject().
|
protected |
Write manifest footer.
object | $a_type | |
object | $a_id | |
object | $a_target_release |
Definition at line 180 of file class.ilExportContainer.php.
References $GLOBALS.
Referenced by exportObject().
|
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().