|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Export. More...
Inheritance diagram for ilExport:
Collaboration diagram for ilExport:Public Member Functions | |
| __construct () | |
| setPathInfo (ExportPathInfoInterface $export_path_info) | |
| getExportDirInContainer () | |
| getPathToComponentExpDirInContainer () | |
| getPathToComponentExpDirInContainerWithLeadingSetNumber () | |
| getSetNumber () | |
| isContainerExport () | |
| setExportDirectories (string $a_dir_relative, string $a_dir_absolute) | |
| getRelativeExportDirectory () | |
| getAbsoluteExportDirectory () | |
| setExportWriter (ilExportHandlerConsumerExportWriterInterface $export_writer,) | |
| getExportWriter () | |
| setExportConfigs (ExportConfigCollectionInterface $export_configs) | |
| getExportConfigs () | |
| 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 | |
| string | $dir_relative = "" |
| string | $dir_absolute = "" |
| ilLogger | $log |
| ilExportHandlerConsumerExportWriterInterface | $export_writer |
| ExportPathInfoInterface | $export_path_info |
| ExportConfigCollectionInterface | $export_configs |
Private Attributes | |
| array | $cnt = [] |
| ilXmlWriter | $manifest_writer = null |
Static Private Attributes | |
| static array | $new_file_structure |
| static array | $export_implementer = array("tst", "lm", "glo", "sahs") |
Export.
Definition at line 30 of file class.ilExport.php.
| ilExport::__construct | ( | ) |
|
static |
Definition at line 318 of file class.ilExport.php.
References $DIC, $ilErr, _getExportDirectory(), ilObject\_lookupType(), and ilFileUtils\makeDirParents().
Referenced by ILIAS\Notes\Export\NotesHtmlExport\__construct(), ilObjGlossary\createExportDirectory(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), exportObject(), ILIAS\Export\ExportHandler\Info\Export\Handler\getLegacyExportRunDir(), ilHTLMExportOptionHTML\onExportOptionSelected(), 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 341 of file class.ilExport.php.
References $DIC, Vendor\Package\$f, $lng, ilObject\_lookupTitle(), ilObject\_lookupType(), and ilUtil\getStyleSheetLocation().
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 216 of file class.ilExport.php.
References $DIC, ilObject\_lookupType(), and ilFileUtils\getDataDir().
Referenced by ILIAS\Notes\Export\NotesHtmlExport\__construct(), _createExportDirectory(), _getExportFiles(), ilExportContainer\addSubitems(), ilSAHSEditGUI\executeCommand(), ilObjFileBasedLMGUI\exportHTML(), ilExportContainer\exportObject(), exportObject(), ilCmiXapiDataSet\getDependencies(), ilDclContentExporter\getExportContentPath(), ilObjGlossary\getExportDirectory(), ilObjQuestionPool\getExportDirectory(), ilScormAiccDataSet\getExtendedXmlRepresentation(), ilDataCollectionExportOptionsXLSX\getFiles(), ilSkillExportOption\getFiles(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\getFiles(), ilMediaPoolExportOptionXMLMaster\getFiles(), ILIAS\Export\ExportHandler\Info\Export\Handler\getLegacyExportRunDir(), ilObjUser\getPersonalDataExportFile(), ILIAS\Wiki\Export\WikiHtmlExport\getUserExportFile(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\onDeleteFiles(), ilDataCollectionExportOptionsXLSX\onDeleteFiles(), ilMediaPoolExportOptionXMLMaster\onDeleteFiles(), ilMediaPoolExportOptionXMLMasterNoMedia\onDeleteFiles(), ilMediaPoolExportOptionXMLMaster\onDownloadFiles(), ilMediaPoolExportOptionXMLMasterNoMedia\onDownloadFiles(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\onDownloadFiles(), ilMediaPoolExportOptionXMLMaster\onDownloadWithLink(), ilMediaPoolExportOptionXMLMasterNoMedia\onDownloadWithLink(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\onDownloadWithLink(), ilHTLMExportOptionHTML\onExportOptionSelected(), ilOrgUnitExporter\sendAndCreateSimpleExportFile(), ilObjUser\sendPersonalDataFile(), 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 263 of file class.ilExport.php.
References _getExportDirectory(), ilObject\_lookupType(), and ILIAS\Repository\int().
Referenced by _getLastExportFileDate(), _getLastExportFileInformation(), ilExportTableGUI\getExportFiles(), and ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\getFiles().
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 176 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 194 of file class.ilExport.php.
References _getExportFiles(), and 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 147 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 |
| 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. "components/ILIAS/Style") |
Definition at line 480 of file class.ilExport.php.
References $c, $DIC, ilFileUtils\delDir(), IL_INST_ID, ILIAS_VERSION_NUMERIC, ilFileUtils\makeDirParents(), processExporter(), and ilFileUtils\zip().
Here is the call graph for this function:| 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 |
Definition at line 397 of file class.ilExport.php.
References _createExportDirectory(), _getExportDirectory(), ilObject\_lookupTitle(), ilFileUtils\delDir(), IL_CAL_UNIX, IL_INST_ID, ILIAS_VERSION_NUMERIC, ilFileUtils\makeDirParents(), processExporter(), and ilFileUtils\zip().
Here is the call graph for this function:| ilExport::getAbsoluteExportDirectory | ( | ) |
| ilExport::getExportConfigs | ( | ) |
Definition at line 137 of file class.ilExport.php.
References $export_configs.
| ilExport::getExportDirInContainer | ( | ) |
Definition at line 72 of file class.ilExport.php.
| ilExport::getExportWriter | ( | ) |
Definition at line 126 of file class.ilExport.php.
References $export_writer.
| ilExport::getPathToComponentExpDirInContainer | ( | ) |
Definition at line 82 of file class.ilExport.php.
| ilExport::getPathToComponentExpDirInContainerWithLeadingSetNumber | ( | ) |
Definition at line 87 of file class.ilExport.php.
| ilExport::getRelativeExportDirectory | ( | ) |
| ilExport::getSetNumber | ( | ) |
Definition at line 92 of file class.ilExport.php.
| ilExport::isContainerExport | ( | ) |
Definition at line 97 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. "components/ILIAS/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 560 of file class.ilExport.php.
References $id, IL_INST_ID, and ilFileUtils\makeDirParents().
Referenced by exportEntity(), and exportObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExport::setExportConfigs | ( | ExportConfigCollectionInterface | $export_configs | ) |
Definition at line 131 of file class.ilExport.php.
References $export_configs.
| ilExport::setExportDirectories | ( | string | $a_dir_relative, |
| string | $a_dir_absolute | ||
| ) |
Definition at line 102 of file class.ilExport.php.
| ilExport::setExportWriter | ( | ilExportHandlerConsumerExportWriterInterface | $export_writer | ) |
Definition at line 120 of file class.ilExport.php.
References $export_writer.
| ilExport::setPathInfo | ( | ExportPathInfoInterface | $export_path_info | ) |
Definition at line 62 of file class.ilExport.php.
References $export_path_info.
|
private |
Definition at line 53 of file class.ilExport.php.
|
protected |
Definition at line 34 of file class.ilExport.php.
Referenced by getAbsoluteExportDirectory().
|
protected |
Definition at line 33 of file class.ilExport.php.
Referenced by getRelativeExportDirectory().
|
protected |
Definition at line 38 of file class.ilExport.php.
Referenced by getExportConfigs(), and setExportConfigs().
|
staticprivate |
Definition at line 52 of file class.ilExport.php.
|
protected |
Definition at line 37 of file class.ilExport.php.
Referenced by setPathInfo().
| string ilExport::$export_run_dir = '' |
Definition at line 32 of file class.ilExport.php.
|
protected |
Definition at line 36 of file class.ilExport.php.
Referenced by getExportWriter(), and setExportWriter().
|
protected |
Definition at line 35 of file class.ilExport.php.
Referenced by ilExportContainer\exportObject().
|
private |
Definition at line 54 of file class.ilExport.php.
|
staticprivate |
Definition at line 39 of file class.ilExport.php.