ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
|
Public Member Functions | |
__construct (int $a_rbac_id, int $a_obj_id, string $a_type) | |
setExportMode (bool $a_export_mode=true) | |
getExportMode () | |
startExport () | |
getXML () | |
![]() | |
__construct (string $version="1.0", string $outEnc="utf-8", string $inEnc="utf-8") | |
xmlSetDtdDef (string $dtdDef) | |
Sets dtd definition. More... | |
xmlSetGenCmt (string $genCmt) | |
Sets generated comment. More... | |
xmlFormatData (string $data) | |
Indents text for better reading. More... | |
xmlHeader () | |
Writes xml header. More... | |
xmlStartTag (string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true) | |
Writes a starttag. More... | |
xmlEndTag (string $tag) | |
Writes an endtag. More... | |
xmlData (string $data, bool $encode=true, bool $escape=true) | |
Writes data. More... | |
xmlElement (string $tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
Writes a basic element (no children, just textual content) More... | |
xmlDumpFile (string $file, bool $format=true) | |
Dumps xml document from memory into a file. More... | |
xmlDumpMem (bool $format=true) | |
Returns xml document from memory. More... | |
appendXML (string $a_str) | |
append xml string to document More... | |
xmlClear () | |
clears xmlStr More... | |
Data Fields | |
ilMD | $md_obj |
bool | $export_mode = false |
Definition at line 32 of file class.ilMD2XML.php.
ilMD2XML::__construct | ( | int | $a_rbac_id, |
int | $a_obj_id, | ||
string | $a_type | ||
) |
Definition at line 37 of file class.ilMD2XML.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilMD2XML::getExportMode | ( | ) |
Definition at line 48 of file class.ilMD2XML.php.
References $export_mode.
Referenced by startExport().
ilMD2XML::getXML | ( | ) |
Definition at line 60 of file class.ilMD2XML.php.
References ilXmlWriter\xmlDumpMem().
ilMD2XML::setExportMode | ( | bool | $a_export_mode = true | ) |
Definition at line 43 of file class.ilMD2XML.php.
ilMD2XML::startExport | ( | ) |
Definition at line 53 of file class.ilMD2XML.php.
References getExportMode().
Referenced by ilCourseXMLWriter\__buildMetaData(), and ilGroupXMLWriter\__buildMetaData().
bool ilMD2XML::$export_mode = false |
Definition at line 35 of file class.ilMD2XML.php.
Referenced by getExportMode().
ilMD ilMD2XML::$md_obj |
Definition at line 34 of file class.ilMD2XML.php.