ILIAS
eassessment Revision 61809
|
Export Container. More...
Public Member Functions | |
__construct (ilExportOptions $eo) | |
Constructor. | |
exportObject ($a_type, $a_id, $a_target_release) | |
Export a container. | |
Public Member Functions inherited from ilExport | |
__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. |
Protected Member Functions | |
manifestWriterBegin ($a_type, $a_id, $a_target_release) | |
Write container manifest. | |
addContainer () | |
Add container description. | |
addSubitems ($a_id, $a_type, $a_target_release) | |
Add subitems. | |
manifestWriterEnd ($a_type, $a_id, $a_target_release) | |
Write manifest footer. |
Private Attributes | |
$cont_export_dir = '' | |
$cont_manifest_writer = null | |
$eo = null |
Additional Inherited Members | |
Static Public Member Functions inherited from ilExport | |
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 inherited from ilExport | |
static | $new_file_structure = array('exc','crs','sess','file','grp','frm') |
static | $export_implementer = array("tst", "lm", "glo") |
static | $file_type_str |
ilExportContainer::__construct | ( | ilExportOptions | $eo | ) |
Constructor.
ilExportOptions | $eo |
Definition at line 27 of file class.ilExportContainer.php.
References $eo, and ilExport\__construct().
|
protected |
Add container description.
Definition at line 88 of file class.ilExportContainer.php.
Referenced by exportObject().
|
protected |
Add subitems.
object | $a_id | |
object | $a_type |
Definition at line 100 of file class.ilExportContainer.php.
References $GLOBALS, $ref_id, ilExport\_getExportDirectory(), ilObject\_lookupObjId(), ilObject\_lookupType(), 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 $GLOBALS, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), addContainer(), addSubitems(), ilUtil\delDir(), ilUtil\makeDirParents(), manifestWriterBegin(), manifestWriterEnd(), and ilUtil\zip().
|
protected |
Write container manifest.
Definition at line 67 of file class.ilExportContainer.php.
References $GLOBALS, and ilObject\_lookupTitle().
Referenced by exportObject().
|
protected |
Write manifest footer.
object | $a_type | |
object | $a_id | |
object | $a_target_release |
Definition at line 172 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().