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)
70 $record_obj = ilAdvancedMDRecord::_getInstanceByrecordId($record_id);
71 $record_obj->toXML($this);
73 $this->
xmlEndTag(
'AdvancedMetaDataRecords');
83 $this->
xmlSetDtdDef(
"<!DOCTYPE AdvancedMetaDataRecords PUBLIC \"-//ILIAS//DTD AdvancedMetaDataRecords//EN\" \"".
84 ILIAS_HTTP_PATH.
"/Services/AdvancedMetaData/xml/ilias_advanced_meta_data_records_3_9.dtd\">");
85 $this->
xmlSetGenCmt(
"Export of ILIAS Advanced meta data records of installation ".$this->
settings->get(
'inst_id').
".");
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
__construct($a_record_ids)
Constructor.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
xmlEndTag($tag)
Writes an endtag.
xmlHeader()
Writes xml header public.
Create styles array
The data for the language used.
buildHeader()
build header