| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Group Import Parser. More...
 Inheritance diagram for ilCategoryXmlParser:
 Collaboration diagram for ilCategoryXmlParser:Public Member Functions | |
| __construct (string $a_xml, int $a_parent_id) | |
| getParentId () | |
| setHandlers ($a_xml_parser) | |
| startParsing () | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| setMode (int $mode) | |
| setCategory (ilObjCategory $cat) | |
| getCategory () | |
  Public Member Functions inherited from ilSaxParser | |
| __construct (?string $path_to_file='', ?bool $throw_exception=false) | |
| setXMLContent (string $a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array  More... | |
| createParser () | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
Data Fields | |
| const | MODE_CREATE = 1 | 
| const | MODE_UPDATE = 2 | 
  Data Fields inherited from ilSaxParser | |
| string | $xml_file | 
| bool | $throw_exception = false | 
Protected Member Functions | |
| getCurrentTranslation () | |
| save () | |
  Protected Member Functions inherited from ilContainerBaseXmlParser | |
| trimAndStripAttribs (array $attribs) | |
| trimAndStrip (string $input) | |
  Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
Protected Attributes | |
| ilLogger | $cat_log | 
| int | $mode | 
| string | $cdata = "" | 
  Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null | 
Private Attributes | |
| ilObjCategory | $cat = null | 
| int | $parent_id = 0 | 
| array | $current_translation = [] | 
| string | $current_container_setting | 
Group Import Parser.
Definition at line 23 of file class.ilCategoryXmlParser.php.
| ilCategoryXmlParser::__construct | ( | string | $a_xml, | 
| int | $a_parent_id | ||
| ) | 
Definition at line 36 of file class.ilCategoryXmlParser.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilLoggerFactory\getLogger(), and ilSaxParser\setXMLContent().
 Here is the call graph for this function:| ilCategoryXmlParser::getCategory | ( | ) | 
Definition at line 207 of file class.ilCategoryXmlParser.php.
References $cat.
Referenced by handlerBeginTag(), handlerEndTag(), and save().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 55 of file class.ilCategoryXmlParser.php.
References $current_translation.
| ilCategoryXmlParser::getParentId | ( | ) | 
Definition at line 47 of file class.ilCategoryXmlParser.php.
References $parent_id.
Referenced by save().
 Here is the caller graph for this function:| ilCategoryXmlParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_name | |
| array | $a_attribs | 
Definition at line 82 of file class.ilCategoryXmlParser.php.
References ilContainerSortingSettings\_importContainerSortingSettings(), getCategory(), ILIAS\Survey\Mode\getId(), and ilContainerBaseXmlParser\trimAndStripAttribs().
 Here is the call graph for this function:| ilCategoryXmlParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_data | 
Definition at line 175 of file class.ilCategoryXmlParser.php.
| ilCategoryXmlParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_name | 
Definition at line 115 of file class.ilCategoryXmlParser.php.
References ilContainer\_writeContainerSetting(), getCategory(), ILIAS\Survey\Mode\getId(), save(), and ilContainerBaseXmlParser\trimAndStrip().
 Here is the call graph for this function:
      
  | 
  protected | 
mode can be create or update
Definition at line 182 of file class.ilCategoryXmlParser.php.
References getCategory(), and getParentId().
Referenced by handlerEndTag().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCategoryXmlParser::setCategory | ( | ilObjCategory | $cat | ) | 
| ilCategoryXmlParser::setHandlers | ( | $a_xml_parser | ) | 
Definition at line 60 of file class.ilCategoryXmlParser.php.
| ilCategoryXmlParser::setMode | ( | int | $mode | ) | 
| ilCategoryXmlParser::startParsing | ( | ) | 
Definition at line 67 of file class.ilCategoryXmlParser.php.
      
  | 
  private | 
Definition at line 28 of file class.ilCategoryXmlParser.php.
Referenced by getCategory(), and setCategory().
      
  | 
  protected | 
Definition at line 32 of file class.ilCategoryXmlParser.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilCategoryXmlParser.php.
      
  | 
  private | 
Definition at line 31 of file class.ilCategoryXmlParser.php.
      
  | 
  private | 
Definition at line 30 of file class.ilCategoryXmlParser.php.
Referenced by getCurrentTranslation().
      
  | 
  protected | 
Definition at line 33 of file class.ilCategoryXmlParser.php.
Referenced by setMode().
      
  | 
  private | 
Definition at line 29 of file class.ilCategoryXmlParser.php.
Referenced by getParentId().
| const ilCategoryXmlParser::MODE_CREATE = 1 | 
Definition at line 25 of file class.ilCategoryXmlParser.php.
Referenced by ilContainerReferenceXmlParser\save().
| const ilCategoryXmlParser::MODE_UPDATE = 2 | 
Definition at line 26 of file class.ilCategoryXmlParser.php.
Referenced by ilCategoryImporter\importXmlRepresentation().