ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilGroupReferenceXmlWriter Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilGroupReferenceXmlWriter:
+ Collaboration diagram for ilGroupReferenceXmlWriter:

Public Member Functions

 __construct (?ilObjGroupReference $ref=null)
 ilGroupReferenceXmlWriter constructor. More...
 
- Public Member Functions inherited from ilContainerReferenceXmlWriter
 __construct (?ilContainerReference $ref=null)
 
 setMode (int $a_mode)
 
 getMode ()
 
 getReference ()
 
 export (bool $a_with_header=true)
 
 getXml ()
 
- Public Member Functions inherited from ilXmlWriter
 __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

 buildHeader ()
 
- Protected Member Functions inherited from ilContainerReferenceXmlWriter
 buildHeader ()
 
 buildTarget ()
 
 buildTitle ()
 
 buildReference ()
 
 buildFooter ()
 

Additional Inherited Members

- Data Fields inherited from ilContainerReferenceXmlWriter
const MODE_SOAP = 1
 
const MODE_EXPORT = 2
 
- Protected Attributes inherited from ilContainerReferenceXmlWriter
ilSetting $settings
 

Detailed Description

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

Author
Fabian Wolf wolf@.nosp@m.leif.nosp@m.os.co.nosp@m.m

\

Definition at line 27 of file class.ilGroupReferenceXmlWriter.php.

Constructor & Destructor Documentation

◆ __construct()

ilGroupReferenceXmlWriter::__construct ( ?ilObjGroupReference  $ref = null)

ilGroupReferenceXmlWriter constructor.

Parameters
ilObjGroupReference | null$ref

Definition at line 33 of file class.ilGroupReferenceXmlWriter.php.

References ilContainerReferenceXmlWriter\$ref, and ILIAS\GlobalScreen\Provider\__construct().

34  {
36  }
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ buildHeader()

ilGroupReferenceXmlWriter::buildHeader ( )
protected

Definition at line 38 of file class.ilGroupReferenceXmlWriter.php.

References $DIC, $ilSetting, ILIAS\Survey\Mode\getId(), ilContainerReferenceXmlWriter\getReference(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlSetGenCmt().

38  : void
39  {
40  global $DIC;
41 
42  $ilSetting = $DIC['ilSetting'];
43 
44  $this->xmlSetGenCmt("Export of ILIAS course reference " . $this->getReference()->getId() . " of installation " . $ilSetting->get('inst_id') . ".");
45  $this->xmlHeader();
46  }
xmlSetGenCmt(string $genCmt)
Sets generated comment.
global $DIC
Definition: shib_login.php:22
xmlHeader()
Writes xml header.
global $ilSetting
Definition: privfeed.php:31
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: