4include_once
'./Services/ContainerReference/classes/class.ilContainerReferenceXmlWriter.php';
31 public function export($a_with_header =
true)
33 if ($this->
getMode() == self::MODE_EXPORT) {
63 $this->
xmlSetDtdDef(
"<!DOCTYPE course reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" .
ILIAS_HTTP_PATH .
"/xml/ilias_course_reference_4_3.dtd\">");
An exception for terminatinating execution or to throw for unit testing.
Class for container reference export.
getReference()
Get category object.
buildTitle()
Build title element.
buildFooter()
Add footer elements.
buildReference()
Build category xml.
buildTarget()
Build target element.
Class for container reference export.
buildHeader()
Build xml header @global <type> $ilSetting.
buildCourseSettings()
Add member update setting.
__construct(ilObjCourseReference $ref=null)
constructor
export($a_with_header=true)
Start writing xml.
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlHeader()
Writes xml header @access public.
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
xmlSetDtdDef($dtdDef)
Sets dtd definition.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc