ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilExportOptions $eo) | |
Constructor. More... | |
exportObject (string $a_type, int $a_id, string $a_target_release="") | |
![]() | |
__construct () | |
getConfig (string $a_comp) | |
Get configuration (note that configurations are optional, null may be returned!) More... | |
exportObject (string $a_type, int $a_id, string $a_target_release="") | |
Export an ILIAS object (the object type must be known by objDefinition) More... | |
exportEntity (string $a_entity, string $a_id, string $a_target_release, string $a_component, string $a_title, string $a_export_dir, string $a_type_for_file="") | |
Export an ILIAS entity. More... | |
processExporter (string $a_comp, string $a_class, string $a_entity, string $a_target_release, array $a_id=null) | |
Process exporter. More... | |
Protected Member Functions | |
manifestWriterBegin (string $a_type, int $a_id, string $a_target_release) | |
addContainer () | |
addSubitems (int $a_id, string $a_type, string $a_target_release) | |
manifestWriterEnd (string $a_type, int $a_id, string $a_target_release) | |
Private Attributes | |
string | $cont_export_dir = '' |
ilXmlWriter | $cont_manifest_writer = null |
ilExportOptions | $eo |
Additional Inherited Members | |
![]() | |
static | _getValidExportSubItems (int $a_ref_id) |
Get a list of subitems of a repository resource, that implement the export. More... | |
static | _getLastExportFileDate (int $a_obj_id, string $a_type="", string $a_obj_type="") |
Get date of last export file. More... | |
static | _getLastExportFileInformation (int $a_obj_id, string $a_type="", string $a_obj_type="") |
Get last export file information. More... | |
static | _getExportDirectory (int $a_obj_id, string $a_type="xml", string $a_obj_type="", string $a_entity="") |
Get export directory for an repository object. More... | |
static | _getExportFiles (int $a_obj_id, $a_export_types="", string $a_obj_type="") |
static | _createExportDirectory (int $a_obj_id, string $a_export_type="xml", string $a_obj_type="") |
static | _generateIndexFile (string $a_filename, int $a_obj_id, array $a_files, string $a_type="") |
Generates an index.html file including links to all xml files included (for container exports) More... | |
![]() | |
string | $export_run_dir = '' |
![]() | |
static | createPathFromId (int $a_container_id, string $a_name) |
![]() | |
ilLogger | $log |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Export Container
Definition at line 25 of file class.ilExportContainer.php.
ilExportContainer::__construct | ( | ilExportOptions | $eo | ) |
Constructor.
ilExportOptions | $eo |
Definition at line 35 of file class.ilExportContainer.php.
References $eo, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 91 of file class.ilExportContainer.php.
Referenced by exportObject().
|
protected |
Definition at line 95 of file class.ilExportContainer.php.
References $ref_id, ilExport\_getExportDirectory(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilExportFileInfo\lookupLastExport(), ilFileUtils\makeDirParents(), and ilFileUtils\unzip().
Referenced by exportObject().
ilExportContainer::exportObject | ( | string | $a_type, |
int | $a_id, | ||
string | $a_target_release = "" |
||
) |
Definition at line 44 of file class.ilExportContainer.php.
References $GLOBALS, ilExport\$log, ilExport\_createExportDirectory(), ilExport\_getExportDirectory(), addContainer(), addSubitems(), ilLogger\debug(), ilFileUtils\delDir(), IL_INST_ID, ILIAS_VERSION_NUMERIC, ilFileUtils\makeDirParents(), manifestWriterBegin(), manifestWriterEnd(), and ilFileUtils\zip().
|
protected |
Definition at line 75 of file class.ilExportContainer.php.
References ilObject\_lookupTitle(), and IL_INST_ID.
Referenced by exportObject().
|
protected |
Definition at line 154 of file class.ilExportContainer.php.
Referenced by exportObject().
|
private |
Definition at line 27 of file class.ilExportContainer.php.
|
private |
Definition at line 28 of file class.ilExportContainer.php.
|
private |
Definition at line 29 of file class.ilExportContainer.php.
Referenced by __construct().