|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilExport:
Collaboration diagram for ilExport:Public Member Functions | |
| __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... | |
Static Public Member Functions | |
| 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... | |
Data Fields | |
| string | $export_run_dir = '' |
Static Protected Member Functions | |
| static | createPathFromId (int $a_container_id, string $a_name) |
Protected Attributes | |
| ilLogger | $log |
Private Attributes | |
| array | $configs = [] |
| array | $cnt = [] |
| ilXmlWriter | $manifest_writer = null |
Static Private Attributes | |
| static array | $new_file_structure |
| static array | $export_implementer = array("tst", "lm", "glo", "sahs") |
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
Definition at line 24 of file class.ilExport.php.
| ilExport::__construct | ( | ) |
Definition at line 52 of file class.ilExport.php.
References $DIC.
|
static |
Definition at line 251 of file class.ilExport.php.
References ilObject\_lookupType().
Referenced by ILIAS\Notes\Export\NotesHtmlExport\__construct(), ILIAS\Wiki\Export\WikiHtmlExport\buildExportFile(), ilObjGlossary\createExportDirectory(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), ILIAS\Portfolio\Export\PortfolioHtmlExport\initDirectories(), and ilOrgUnitExporter\sendAndCreateSimpleExportFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Generates an index.html file including links to all xml files included (for container exports)
Definition at line 273 of file class.ilExport.php.
References ilObject\_lookupType().
Here is the call graph for this function:
|
static |
Get export directory for an repository object.
| int | $a_obj_id | object id |
| string | $a_type | export type ("xml", "html", ...), default "xml" |
| string | $a_obj_type | object type (optional, if not given, type is looked up) |
| string | $a_entity |
Definition at line 150 of file class.ilExport.php.
References ilObject\_lookupType().
Referenced by ILIAS\Notes\Export\NotesHtmlExport\__construct(), _getExportFiles(), ilExportContainer\addSubitems(), ILIAS\Wiki\Export\WikiHtmlExport\buildExportFile(), ilExportGUI\delete(), ilExportGUI\download(), ilSAHSEditGUI\executeCommand(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), ilObjUser\exportPersonalData(), ilDclContentExporter\getExportContentPath(), ilObjQuestionPool\getExportDirectory(), ilObjGlossary\getExportDirectory(), ilDclExportTableGUI\getExportFiles(), ilObjUser\getPersonalDataExportFile(), ILIAS\Wiki\Export\WikiHtmlExport\getUserExportFile(), ILIAS\Portfolio\Export\PortfolioHtmlExport\init(), ilOrgUnitExporter\sendAndCreateSimpleExportFile(), ilObjUser\sendPersonalDataFile(), ILIAS\Blog\Export\BlogHtmlExport\zipPackage(), ILIAS\Portfolio\Export\PortfolioHtmlExport\zipPackage(), and ILIAS\Notes\Export\NotesHtmlExport\zipPackage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $a_obj_id | |
| string | array | $a_export_types | |
| string | $a_obj_type |
Definition at line 196 of file class.ilExport.php.
References $type, _getExportDirectory(), ilObject\_lookupType(), and ILIAS\Repository\int().
Referenced by _getLastExportFileDate(), ilObjGlossary\getExportFiles(), and ilExportTableGUI\getExportFiles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get date of last export file.
| int | $a_obj_id | object id |
| string | $a_type | export type ("xml", "html", ...), default "xml" |
| string | $a_obj_type | object type (optional, if not given, type is looked up) |
Definition at line 112 of file class.ilExport.php.
References _getExportFiles(), and ilArrayUtil\sortArray().
Referenced by _getValidExportSubItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get last export file information.
| int | $a_obj_id | object id |
| string | $a_type | export type ("xml", "html", ...), default "xml" |
| string | $a_obj_type | object type (optional, if not given, type is looked up) |
Definition at line 129 of file class.ilExport.php.
References ilArrayUtil\sortArray().
Here is the call graph for this function:
|
static |
Get a list of subitems of a repository resource, that implement the export.
Includes also information on last export file.
Definition at line 84 of file class.ilExport.php.
References $DIC, _getLastExportFileDate(), and ILIAS\Repository\int().
Referenced by ilSubItemSelectionTableGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Definition at line 623 of file class.ilExport.php.
| ilExport::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.
| string | $a_entity | entity type, e.g. "sty" |
| mixed | $a_id | entity id |
| string | $a_target_release | target release |
| string | $a_component | component that exports (e.g. "Services/Style") |
Definition at line 410 of file class.ilExport.php.
References ILIAS_VERSION_NUMERIC.
| ilExport::exportObject | ( | string | $a_type, |
| int | $a_id, | ||
| string | $a_target_release = "" |
||
| ) |
Export an ILIAS object (the object type must be known by objDefinition)
| string | $a_type | repository object type |
| int | $a_id | id of object or entity that shoudl be exported |
| string | $a_target_release | target release |
Reimplemented in ilExportContainer.
Definition at line 328 of file class.ilExport.php.
References ILIAS_VERSION_NUMERIC.
| ilExport::getConfig | ( | string | $a_comp | ) |
Get configuration (note that configurations are optional, null may be returned!)
| string | $a_comp | component (e.g. "Modules/Glossary") |
| ilExportException | thronw if no config exists |
Definition at line 64 of file class.ilExport.php.
| ilExport::processExporter | ( | string | $a_comp, |
| string | $a_class, | ||
| string | $a_entity, | ||
| string | $a_target_release, | ||
| array | $a_id = null |
||
| ) |
Process exporter.
| string | $a_comp | e.g. "Modules/Forum" |
| string | $a_class | |
| string | $a_entity | e.g. "frm" |
| string | $a_target_release | e.g. "5.1.0" |
| string | $a_id | id of entity (e.g. object id) |
| ilExportException |
Definition at line 488 of file class.ilExport.php.
|
private |
Definition at line 49 of file class.ilExport.php.
|
private |
Definition at line 47 of file class.ilExport.php.
|
staticprivate |
Definition at line 46 of file class.ilExport.php.
| string ilExport::$export_run_dir = '' |
Definition at line 29 of file class.ilExport.php.
|
protected |
Definition at line 31 of file class.ilExport.php.
Referenced by ilExportContainer\exportObject().
|
private |
Definition at line 50 of file class.ilExport.php.
|
staticprivate |
Definition at line 33 of file class.ilExport.php.