4 include_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\">");
64 $this->
xmlSetGenCmt(
"Export of ILIAS course reference " . $this->
getReference()->getId() .
" of installation " . $ilSetting->get(
'inst_id') .
".");
__construct(ilObjCourseReference $ref=null)
constructor
xmlSetGenCmt($genCmt)
Sets generated comment.
buildReference()
Build category xml.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
export($a_with_header=true)
Start writing xml.
buildTitle()
Build title element.
buildTarget()
Build target element.
buildCourseSettings()
Add member update setting.
xmlHeader()
Writes xml header public.
buildFooter()
Add footer elements.
getReference()
Get category object.
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
__construct(Container $dic, ilPlugin $plugin)
Class for container reference export.
buildHeader()
Build xml header <type> $ilSetting.
Class for container reference export.