ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Export Container. More...
Public Member Functions | |
__construct (ilExportOptions $eo) | |
Constructor. More... | |
exportObject (string $a_type, int $a_id, string $a_target_release="") | |
![]() | |
__construct () | |
setExportDirInContainer (string $export_dir_in_container) | |
setPathInfo (ExportPathInfoInterface $export_path_info) | |
getExportDirInContainer () | |
getPathToComponentExpDirInContainer () | |
setExportDirectories (string $a_dir_relative, string $a_dir_absolute) | |
getRelativeExportDirectory () | |
getAbsoluteExportDirectory () | |
setExportWriter (ilExportHandlerConsumerExportWriterInterface $export_writer,) | |
getExportWriter () | |
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 |
LegacyArchives | $archives |
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) |
![]() | |
string | $dir_relative = "" |
string | $dir_absolute = "" |
ilLogger | $log |
ilExportHandlerConsumerExportWriterInterface | $export_writer |
string | $export_dir_in_container |
ExportPathInfoInterface | $export_path_info |
Export Container.
Definition at line 29 of file class.ilExportContainer.php.
ilExportContainer::__construct | ( | ilExportOptions | $eo | ) |
Constructor.
ilExportOptions | $eo |
Definition at line 40 of file class.ilExportContainer.php.
References $DIC, $eo, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 98 of file class.ilExportContainer.php.
Referenced by exportObject().
|
protected |
Definition at line 102 of file class.ilExportContainer.php.
References $ref_id, ilExport\_getExportDirectory(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilExportFileInfo\lookupLastExport(), and ilFileUtils\makeDirParents().
Referenced by exportObject().
ilExportContainer::exportObject | ( | string | $a_type, |
int | $a_id, | ||
string | $a_target_release = "" |
||
) |
Definition at line 51 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 82 of file class.ilExportContainer.php.
References ilObject\_lookupTitle(), and IL_INST_ID.
Referenced by exportObject().
|
protected |
Definition at line 163 of file class.ilExportContainer.php.
Referenced by exportObject().
|
private |
Definition at line 34 of file class.ilExportContainer.php.
|
private |
Definition at line 31 of file class.ilExportContainer.php.
|
private |
Definition at line 32 of file class.ilExportContainer.php.
|
private |
Definition at line 33 of file class.ilExportContainer.php.
Referenced by __construct().