ILIAS
release_4-3 Revision
|
Class for container reference export. More...
Public Member Functions | |
__construct (ilObjCourseReference $ref=null) | |
constructor | |
Public Member Functions inherited from ilContainerReferenceXmlWriter | |
__construct (ilContainerReference $ref=null) | |
constructor | |
setMode ($a_mode) | |
Set export mode. | |
getMode () | |
get export mode | |
getReference () | |
Get category object. | |
export ($a_with_header=true) | |
Start wrting xml. | |
getXml () | |
get XML | |
Public Member Functions inherited from ilXmlWriter | |
ilXmlWriter ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor | |
_ilXmlWriter () | |
destructor public | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. | |
_xmlEscapeData ($data) | |
Escapes reserved characters. | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. | |
xmlFormatData ($data) | |
Indents text for better reading. | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. | |
xmlHeader () | |
Writes xml header public. | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. | |
xmlEndTag ($tag) | |
Writes an endtag. | |
xmlComment ($comment) | |
Writes a comment. | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. | |
appendXML ($a_str) | |
append xml string to document | |
xmlClear () | |
clears xmlStr public |
Protected Member Functions | |
buildHeader () | |
Build xml header <type> $ilSetting. | |
Protected Member Functions inherited from ilContainerReferenceXmlWriter | |
buildTarget () | |
Build target element. | |
buildTitle () | |
Build title element. | |
buildReference () | |
Build category xml. | |
buildFooter () | |
Add footer elements. |
Additional Inherited Members | |
Data Fields inherited from ilContainerReferenceXmlWriter | |
const | MODE_SOAP = 1 |
const | MODE_EXPORT = 2 |
Class for container reference export.
Definition at line 12 of file class.ilCourseReferenceXmlWriter.php.
ilCourseReferenceXmlWriter::__construct | ( | ilObjCourseReference | $ref = null | ) |
constructor
string | xml version |
string | output encoding |
string | input encoding public |
Definition at line 22 of file class.ilCourseReferenceXmlWriter.php.
References ilContainerReferenceXmlWriter\$ref.
|
protected |
Build xml header <type> $ilSetting.
Reimplemented from ilContainerReferenceXmlWriter.
Definition at line 32 of file class.ilCourseReferenceXmlWriter.php.
References $ilSetting, ilContainerReferenceXmlWriter\getReference(), ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().