ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
__construct (protected ilObjLearningSequence $ls_object, protected ilSetting $settings, protected ilLPObjSettings $lp_settings) | |
getXml () | |
start () | |
![]() | |
__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 | |
const | TAG_LSO = 'LearningSequence' |
const | TAG_LSITEMS = 'LSItems' |
const | TAG_LSITEM = 'LSItem' |
const | TAG_MEMBERSGALLERY = 'MembersGallery' |
const | TAG_CONDITION = 'Condition' |
const | TAG_LPSETTING = 'LPSetting' |
const | TAG_LPREFID = 'LPRefId' |
const | TAG_TITLE = 'title' |
const | TAG_DESCRIPTION = 'description' |
const | TAG_CONTAINERSETTING = 'ContainerSetting' |
Protected Member Functions | |
writeHeader () | |
writeLearningSequence () | |
writeLPSettings () | |
writeLSItems () | |
writeFooter () | |
Protected Attributes | |
ilLearningSequenceSettings | $ls_settings |
Definition at line 21 of file class.ilLearningSequenceXMLWriter.php.
ilLearningSequenceXMLWriter::__construct | ( | protected ilObjLearningSequence | $ls_object, |
protected ilSetting | $settings, | ||
protected ilLPObjSettings | $lp_settings | ||
) |
Definition at line 36 of file class.ilLearningSequenceXMLWriter.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilObjLearningSequence\getLSSettings().
ilLearningSequenceXMLWriter::getXml | ( | ) |
Definition at line 45 of file class.ilLearningSequenceXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
ilLearningSequenceXMLWriter::start | ( | ) |
Definition at line 50 of file class.ilLearningSequenceXMLWriter.php.
References writeFooter(), writeHeader(), writeLearningSequence(), and writeLSItems().
|
protected |
Definition at line 143 of file class.ilLearningSequenceXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
|
protected |
Definition at line 58 of file class.ilLearningSequenceXMLWriter.php.
References ILIAS\Repository\settings(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
|
protected |
Definition at line 74 of file class.ilLearningSequenceXMLWriter.php.
References ilContainer\_exportContainerSettings(), null, writeLPSettings(), ilXmlWriter\xmlElement(), and ilXmlWriter\xmlStartTag().
Referenced by start().
|
protected |
Definition at line 91 of file class.ilLearningSequenceXMLWriter.php.
References ilLPCollection\getInstanceByMode(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by writeLearningSequence().
|
protected |
Definition at line 115 of file class.ilLearningSequenceXMLWriter.php.
References ilObject\_lookupObjectId(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
|
protected |
Definition at line 34 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_CONDITION = 'Condition' |
Definition at line 27 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_CONTAINERSETTING = 'ContainerSetting' |
Definition at line 32 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_DESCRIPTION = 'description' |
Definition at line 31 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_LPREFID = 'LPRefId' |
Definition at line 29 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_LPSETTING = 'LPSetting' |
Definition at line 28 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_LSITEM = 'LSItem' |
Definition at line 25 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_LSITEMS = 'LSItems' |
Definition at line 24 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_LSO = 'LearningSequence' |
Definition at line 23 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_MEMBERSGALLERY = 'MembersGallery' |
Definition at line 26 of file class.ilLearningSequenceXMLWriter.php.
const ilLearningSequenceXMLWriter::TAG_TITLE = 'title' |
Definition at line 30 of file class.ilLearningSequenceXMLWriter.php.