4 include_once
'./Services/Export/classes/class.ilXmlExporter.php';
24 include_once
'./Services/Export/classes/class.ilExportOptions.php';
27 $obj_id = end($a_ids);
30 $GLOBALS[
'ilLog']->write(__METHOD__.
': '.$obj_id);
40 'component' =>
'Services/Container',
59 if ($a_entity ==
"cat")
61 include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
63 foreach ($a_ids as $id)
66 if (count($t_ids) > 0)
68 $tax_ids[$t_ids[0]] = $t_ids[0];
74 "component" =>
"Services/Taxonomy",
96 $GLOBALS[
'ilLog']->write(__METHOD__. $a_id .
' is not instance of type category!');
100 include_once
'./Modules/Category/classes/class.ilCategoryXmlWriter.php';
104 $writer->export(
false);
105 return $writer->getXml();
119 "namespace" =>
"http://www.ilias.de/Modules/Category/cat/4_3",
120 "xsd_file" =>
"ilias_cat_4_3.xsd",
121 "uses_dataset" =>
false,
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
Class for category export.
getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
getXmlExportHeadDependencies($a_entity, $a_target_release, $a_ids)
Get head dependencies.
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml.
static getInstance()
Get singelton instance.
Class for category export.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
static _getAllReferences($a_id)
get all reference ids of object