| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilGroupXMLWriter:
 Collaboration diagram for ilGroupXMLWriter:Public Member Functions | |
| __construct (ilObjGroup $group_obj) | |
| setMode (int $a_mode) | |
| getMode () | |
| start () | |
| getXML () | |
| __buildHeader () | |
| __buildGroup () | |
| __buildTitleDescription () | |
| __buildRegistration () | |
| __buildExtraSettings () | |
| Build extra settings, like "show member list".  More... | |
| __buildAdmin () | |
| __buildMember () | |
| __buildFooter () | |
| setAttachUsers (bool $value) | |
  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... | |
Data Fields | |
| const | MODE_SOAP = 1 | 
| const | MODE_EXPORT = 2 | 
| const | EXPORT_VERSION = 3 | 
Protected Member Functions | |
| __buildMetaData () | |
| __buildPeriod () | |
| Add group period settings to xml.  More... | |
Private Member Functions | |
| __buildAdvancedMetaData () | |
Private Attributes | |
| int | $mode = self::MODE_SOAP | 
| ilLogger | $logger | 
| ilSetting | $settings | 
| ilAccessHandler | $access | 
| ilObjGroup | $group_obj | 
| ilGroupParticipants | $participants | 
| bool | $attach_users = true | 
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 XML writer class
Class for writing xml export versions of courses
Definition at line 28 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::__construct | ( | ilObjGroup | $group_obj | ) | 
Definition at line 44 of file class.ilGroupXMLWriter.php.
References $DIC, $group_obj, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilGroupParticipants\_getInstanceByObjId(), ILIAS\Repository\access(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
 Here is the call graph for this function:| ilGroupXMLWriter::__buildAdmin | ( | ) | 
Definition at line 273 of file class.ilGroupXMLWriter.php.
References $id, ILIAS\Repository\access(), ilOrgUnitOperation\OP_MANAGE_MEMBERS, ILIAS\Repository\settings(), and ilXmlWriter\xmlElement().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 137 of file class.ilGroupXMLWriter.php.
References ilAdvancedMDValues\_appendXMLByObjId().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildExtraSettings | ( | ) | 
Build extra settings, like "show member list".
Definition at line 250 of file class.ilGroupXMLWriter.php.
References ilObjGroup\lookupViewMode(), and ilXmlWriter\xmlElement().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildFooter | ( | ) | 
Definition at line 309 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildGroup | ( | ) | 
Definition at line 111 of file class.ilGroupXMLWriter.php.
References ilGroupConstants\GRP_TYPE_CLOSED, ilGroupConstants\GRP_TYPE_OPEN, ILIAS\Repository\settings(), and ilXmlWriter\xmlStartTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildHeader | ( | ) | 
Definition at line 103 of file class.ilGroupXMLWriter.php.
References ILIAS\Repository\settings(), ilXmlWriter\xmlHeader(), ilXmlWriter\xmlSetDtdDef(), and ilXmlWriter\xmlSetGenCmt().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildMember | ( | ) | 
Definition at line 291 of file class.ilGroupXMLWriter.php.
References $id, ILIAS\Repository\access(), ilOrgUnitOperation\OP_MANAGE_MEMBERS, ILIAS\Repository\settings(), and ilXmlWriter\xmlElement().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 129 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\appendXML(), and ilMD2XML\startExport().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Add group period settings to xml.
Definition at line 160 of file class.ilGroupXMLWriter.php.
References IL_CAL_UNIX, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildRegistration | ( | ) | 
Definition at line 190 of file class.ilGroupXMLWriter.php.
References ilGroupConstants\GRP_REGISTRATION_DEACTIVATED, ilGroupConstants\GRP_REGISTRATION_DIRECT, ilGroupConstants\GRP_REGISTRATION_PASSWORD, ilGroupConstants\GRP_REGISTRATION_REQUEST, IL_CAL_UNIX, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::__buildTitleDescription | ( | ) | 
Definition at line 143 of file class.ilGroupXMLWriter.php.
References ILIAS\Repository\settings(), and ilXmlWriter\xmlElement().
Referenced by start().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGroupXMLWriter::getMode | ( | ) | 
Definition at line 61 of file class.ilGroupXMLWriter.php.
References $mode.
Referenced by start().
 Here is the caller graph for this function:| ilGroupXMLWriter::getXML | ( | ) | 
Definition at line 97 of file class.ilGroupXMLWriter.php.
References ilXmlWriter\xmlDumpMem().
 Here is the call graph for this function:| ilGroupXMLWriter::setAttachUsers | ( | bool | $value | ) | 
Definition at line 314 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::setMode | ( | int | $a_mode | ) | 
Definition at line 56 of file class.ilGroupXMLWriter.php.
| ilGroupXMLWriter::start | ( | ) | 
Definition at line 66 of file class.ilGroupXMLWriter.php.
References __buildAdmin(), __buildAdvancedMetaData(), __buildExtraSettings(), __buildFooter(), __buildGroup(), __buildHeader(), __buildMember(), __buildMetaData(), __buildPeriod(), __buildRegistration(), __buildTitleDescription(), ilContainer\_exportContainerSettings(), ilContainerSortingSettings\_exportContainerSortingSettings(), getMode(), and ILIAS\Repository\logger().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 38 of file class.ilGroupXMLWriter.php.
      
  | 
  private | 
Definition at line 42 of file class.ilGroupXMLWriter.php.
      
  | 
  private | 
Definition at line 40 of file class.ilGroupXMLWriter.php.
Referenced by __construct().
      
  | 
  private | 
Definition at line 36 of file class.ilGroupXMLWriter.php.
      
  | 
  private | 
Definition at line 34 of file class.ilGroupXMLWriter.php.
Referenced by getMode().
      
  | 
  private | 
Definition at line 41 of file class.ilGroupXMLWriter.php.
      
  | 
  private | 
Definition at line 37 of file class.ilGroupXMLWriter.php.
| const ilGroupXMLWriter::EXPORT_VERSION = 3 | 
Definition at line 32 of file class.ilGroupXMLWriter.php.
| const ilGroupXMLWriter::MODE_EXPORT = 2 | 
Definition at line 31 of file class.ilGroupXMLWriter.php.
Referenced by ilGroupExporter\getXmlRepresentation().
| const ilGroupXMLWriter::MODE_SOAP = 1 | 
Definition at line 30 of file class.ilGroupXMLWriter.php.