ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (?ilObjCourseReference $ref=null) | |
constructor More... | |
export (bool $a_with_header=true) | |
Start writing xml. More... | |
![]() | |
__construct (?ilContainerReference $ref=null) | |
setMode (int $a_mode) | |
getMode () | |
getReference () | |
export (bool $a_with_header=true) | |
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... | |
Protected Member Functions | |
buildCourseSettings () | |
Add member update setting. More... | |
buildHeader () | |
Build xml header. More... | |
![]() | |
buildHeader () | |
buildTarget () | |
buildTitle () | |
buildReference () | |
buildFooter () | |
Additional Inherited Members | |
![]() | |
const | MODE_SOAP = 1 |
const | MODE_EXPORT = 2 |
![]() | |
ilSetting | $settings |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class for container reference export
Definition at line 25 of file class.ilCourseReferenceXmlWriter.php.
ilCourseReferenceXmlWriter::__construct | ( | ?ilObjCourseReference | $ref = null | ) |
constructor
string | xml version |
string | output encoding |
string | input encoding public |
Definition at line 34 of file class.ilCourseReferenceXmlWriter.php.
References ilContainerReferenceXmlWriter\$ref, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Add member update setting.
Definition at line 60 of file class.ilCourseReferenceXmlWriter.php.
References ilContainerReferenceXmlWriter\getReference(), and ilXmlWriter\xmlElement().
Referenced by export().
|
protected |
Build xml header.
Definition at line 71 of file class.ilCourseReferenceXmlWriter.php.
References $ilSetting, ILIAS\Survey\Mode\getId(), ilContainerReferenceXmlWriter\getReference(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlSetGenCmt().
Referenced by export().
ilCourseReferenceXmlWriter::export | ( | bool | $a_with_header = true | ) |
Start writing xml.
Definition at line 43 of file class.ilCourseReferenceXmlWriter.php.
References buildCourseSettings(), ilContainerReferenceXmlWriter\buildFooter(), buildHeader(), ilContainerReferenceXmlWriter\buildReference(), ilContainerReferenceXmlWriter\buildTarget(), ilContainerReferenceXmlWriter\buildTitle(), and ilContainerReferenceXmlWriter\getMode().