| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilCategoryXmlWriter:
 Collaboration diagram for ilCategoryXmlWriter:Public Member Functions | |
| __construct (ilObjCategory $cat=null) | |
| setMode (int $a_mode) | |
| getMode () | |
| getCategory () | |
| 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... | |
Data Fields | |
| const | MODE_SOAP = 1 | 
| const | MODE_EXPORT = 2 | 
Protected Member Functions | |
| buildHeader () | |
| buildCategory () | |
| buildFooter () | |
| buildTranslations () | |
Protected Attributes | |
| ilSetting | $settings | 
Private Attributes | |
| int | $mode = self::MODE_SOAP | 
| ilObjCategory | $category | 
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 category export
Definition at line 26 of file class.ilCategoryXmlWriter.php.
| ilCategoryXmlWriter::__construct | ( | ilObjCategory | $cat = null | ) | 
Definition at line 35 of file class.ilCategoryXmlWriter.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\settings().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 91 of file class.ilCategoryXmlWriter.php.
References ilXmlWriter\xmlStartTag().
Referenced by export().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 97 of file class.ilCategoryXmlWriter.php.
References ilXmlWriter\xmlEndTag().
Referenced by export().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 80 of file class.ilCategoryXmlWriter.php.
References $ilSetting, $settings, getCategory(), ILIAS\Survey\Mode\getId(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlSetGenCmt().
Referenced by export().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 103 of file class.ilCategoryXmlWriter.php.
References getCategory(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by export().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCategoryXmlWriter::export | ( | bool | $a_with_header = true | ) | 
Definition at line 60 of file class.ilCategoryXmlWriter.php.
References ilContainer\_exportContainerSettings(), ilContainerSortingSettings\_exportContainerSortingSettings(), buildCategory(), buildFooter(), buildHeader(), buildTranslations(), getCategory(), ILIAS\Survey\Mode\getId(), and getMode().
 Here is the call graph for this function:| ilCategoryXmlWriter::getCategory | ( | ) | 
Definition at line 55 of file class.ilCategoryXmlWriter.php.
References $category.
Referenced by buildHeader(), buildTranslations(), and export().
 Here is the caller graph for this function:| ilCategoryXmlWriter::getMode | ( | ) | 
Definition at line 50 of file class.ilCategoryXmlWriter.php.
References $mode.
Referenced by export().
 Here is the caller graph for this function:| ilCategoryXmlWriter::getXml | ( | ) | 
Definition at line 74 of file class.ilCategoryXmlWriter.php.
References ilXmlWriter\xmlDumpMem().
 Here is the call graph for this function:| ilCategoryXmlWriter::setMode | ( | int | $a_mode | ) | 
Definition at line 45 of file class.ilCategoryXmlWriter.php.
      
  | 
  private | 
Definition at line 33 of file class.ilCategoryXmlWriter.php.
Referenced by getCategory().
      
  | 
  private | 
Definition at line 32 of file class.ilCategoryXmlWriter.php.
Referenced by getMode().
      
  | 
  protected | 
Definition at line 31 of file class.ilCategoryXmlWriter.php.
Referenced by buildHeader().
| const ilCategoryXmlWriter::MODE_EXPORT = 2 | 
Definition at line 29 of file class.ilCategoryXmlWriter.php.
Referenced by ilCategoryExporter\getXmlRepresentation().
| const ilCategoryXmlWriter::MODE_SOAP = 1 | 
Definition at line 28 of file class.ilCategoryXmlWriter.php.