33 include_once(
'./Services/Xml/classes/class.ilXmlWriter.php');
53 parent::__construct();
56 $this->record_ids = $a_record_ids ? $a_record_ids : array();
70 foreach ($this->record_ids as $record_id) {
71 $record_obj = ilAdvancedMDRecord::_getInstanceByrecordId($record_id);
72 $record_obj->toXML($this);
74 $this->
xmlEndTag(
'AdvancedMetaDataRecords');
84 $this->
xmlSetDtdDef(
"<!DOCTYPE AdvancedMetaDataRecords PUBLIC \"-//ILIAS//DTD AdvancedMetaDataRecords//EN\" \"" .
85 ILIAS_HTTP_PATH .
"/Services/AdvancedMetaData/xml/ilias_advanced_meta_data_records_3_9.dtd\">");
86 $this->
xmlSetGenCmt(
"Export of ILIAS Advanced meta data records of installation " . $this->
settings->get(
'inst_id') .
".");
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
__construct($a_record_ids)
Constructor.
xmlEndTag($tag)
Writes an endtag.
xmlHeader()
Writes xml header public.
buildHeader()
build header