33 include_once(
'./Services/Xml/classes/class.ilXmlWriter.php');
51 parent::__construct();
54 $this->record_ids = $a_record_ids ? $a_record_ids :
array();
68 foreach ($this->record_ids as $record_id) {
69 $record_obj = ilAdvancedMDRecord::_getInstanceByrecordId($record_id);
70 $record_obj->toXML($this);
72 $this->
xmlEndTag(
'AdvancedMetaDataRecords');
82 $this->
xmlSetDtdDef(
"<!DOCTYPE AdvancedMetaDataRecords PUBLIC \"-//ILIAS//DTD AdvancedMetaDataRecords//EN\" \"" .
83 ILIAS_HTTP_PATH .
"/Services/AdvancedMetaData/xml/ilias_advanced_meta_data_records_3_9.dtd\">");
84 $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.
Create styles array
The data for the language used.
buildHeader()
build header