4 include_once(
"./Services/Export/classes/class.ilXmlExporter.php");
22 include_once(
"./Modules/Glossary/classes/class.ilGlossaryDataSet.php");
24 $this->ds->setExportDirectories($this->dir_relative, $this->dir_absolute);
25 $this->ds->setDSPrefix(
"ds");
38 if ($a_entity ==
"glo") {
39 include_once(
"./Modules/Glossary/classes/class.ilGlossaryTerm.php");
40 include_once(
"./Modules/Glossary/classes/class.ilGlossaryDefinition.php");
45 foreach ($a_ids as
$id) {
46 $md_ids[] = $id .
":0:glo";
51 foreach ($a_ids as $id) {
54 $ref_id = current($all_refs);
56 foreach ($terms as
$t) {
58 foreach ($defs as
$d) {
59 $page_ids[] =
"gdf:" . $d[
"id"];
60 $md_ids[] = $id .
":" . $d[
"id"] .
":gdf";
67 "component" =>
"Services/COPage",
71 "component" =>
"Services/MetaData",
77 include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
79 foreach ($a_ids as $id) {
81 if (count($t_ids) > 0) {
82 $tax_ids[$t_ids[0]] = $t_ids[0];
85 if (
sizeof($tax_ids)) {
87 "component" =>
"Services/Taxonomy",
95 foreach ($a_ids as $id) {
97 if (
sizeof($rec_ids)) {
98 foreach ($rec_ids as $rec_id) {
99 $advmd_ids[] = $id .
":" . $rec_id;
103 if (
sizeof($advmd_ids)) {
105 "component" =>
"Services/AdvancedMetaData",
112 $obj_ids = (is_array($a_ids))
116 "component" =>
"Services/Style",
117 "entity" =>
"object_style",
123 "component" =>
"Services/Object",
124 "entity" =>
"service_settings",
134 include_once(
'./Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php');
141 if ($record_obj->getParentObject() == $a_id || in_array($record_obj->getRecordId(), $sel_globals)) {
142 $active[] = $record_obj->getRecordId();
159 return $this->ds->getXmlRepresentation($a_entity, $a_schema_version, $a_id,
"",
true,
true);
180 "namespace" =>
"http://www.ilias.de/Modules/Glossary/htlm/4_1",
181 "xsd_file" =>
"ilias_glo_5_1.xsd",
182 "uses_dataset" =>
true,
186 "namespace" =>
"http://www.ilias.de/Modules/Glossary/htlm/4_1",
187 "xsd_file" =>
"ilias_glo_4_1.xsd",
188 "uses_dataset" =>
false,
Exporter class for html learning modules.
static getDefinitionList($a_term_id)
static
getActiveAdvMDRecords($a_id)
getXmlRepresentation($a_entity, $a_schema_version, $a_id)
Get xml representation.
static getUsageOfObject($a_obj_id, $a_include_titles=false)
Get usage of object.
getXmlExportTailDependencies($a_entity, $a_target_release, $a_ids)
Get tail dependencies.
if(!array_key_exists('StateId', $_REQUEST)) $id
static _getAllReferences($a_id)
get all reference ids of object
getValidSchemaVersions($a_entity)
Returns schema versions that the component can export to.
static getTermList( $a_glo_ref_id, $searchterm="", $a_first_letter="", $a_def="", $a_tax_node=0, $a_add_amet_fields=false, array $a_amet_filter=null, $a_include_references=false)
Get all terms for given set of glossary ids.
Create styles array
The data for the language used.
static _getActivatedRecordsByObjectType($a_obj_type, $a_sub_type="", $a_only_optional=false)
Get activated records by object type.
static getObjRecSelection($a_obj_id, $a_sub_type="")
Get repository object record selection.
for($i=6; $i< 13; $i++) for($i=1; $i< 13; $i++) $d