| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Import Parser. More...
 Inheritance diagram for ilContainerReferenceXmlParser:
 Collaboration diagram for ilContainerReferenceXmlParser:Public Member Functions | |
| __construct (string $a_xml, int $a_parent_id=0) | |
| setImportMapping (ilImportMapping $mapping) | |
| getParentId () | |
| setHandlers ($a_xml_parser) | |
| 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) | |
| setReference (ilContainerReference $ref) | |
| getReference () | |
  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 | |
| parseTargetId (string $attribute_target) | |
| create () | |
| 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 | $logger | 
| ilImportMapping | $import_mapping | 
| string | $cdata = "" | 
| int | $mode = 0 | 
  Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null | 
Private Attributes | |
| ilContainerReference | $ref = null | 
| int | $parent_id = 0 | 
Import Parser.
Definition at line 23 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::__construct | ( | string | $a_xml, | 
| int | $a_parent_id = 0  | 
        ||
| ) | 
Definition at line 35 of file class.ilContainerReferenceXmlParser.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\logger(), and ilSaxParser\setXMLContent().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 160 of file class.ilContainerReferenceXmlParser.php.
Referenced by save().
 Here is the caller graph for this function:| ilContainerReferenceXmlParser::getParentId | ( | ) | 
Definition at line 54 of file class.ilContainerReferenceXmlParser.php.
References $parent_id.
Referenced by save().
 Here is the caller graph for this function:| ilContainerReferenceXmlParser::getReference | ( | ) | 
Definition at line 187 of file class.ilContainerReferenceXmlParser.php.
References $ref.
Referenced by handlerBeginTag(), handlerEndTag(), and save().
 Here is the caller graph for this function:| ilContainerReferenceXmlParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_name | |
| array | $a_attribs | 
Definition at line 72 of file class.ilContainerReferenceXmlParser.php.
References getReference(), ILIAS\Repository\logger(), parseTargetId(), ilContainerReference\TITLE_TYPE_REUSE, and ilContainerBaseXmlParser\trimAndStripAttribs().
 Here is the call graph for this function:| ilContainerReferenceXmlParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_data | 
Definition at line 151 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
| XMLParser | resource | $a_xml_parser | |
| string | $a_name | 
Definition at line 127 of file class.ilContainerReferenceXmlParser.php.
References getReference(), save(), ilContainerReference\TITLE_TYPE_CUSTOM, and ilContainerBaseXmlParser\trimAndStrip().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 104 of file class.ilContainerReferenceXmlParser.php.
References ILIAS\Repository\logger().
Referenced by handlerBeginTag().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 164 of file class.ilContainerReferenceXmlParser.php.
References create(), getParentId(), getReference(), and ilCategoryXmlParser\MODE_CREATE.
Referenced by handlerEndTag().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilContainerReferenceXmlParser::setHandlers | ( | $a_xml_parser | ) | 
Definition at line 59 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::setImportMapping | ( | ilImportMapping | $mapping | ) | 
Definition at line 49 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::setMode | ( | int | $mode | ) | 
| ilContainerReferenceXmlParser::setReference | ( | ilContainerReference | $ref | ) | 
Definition at line 182 of file class.ilContainerReferenceXmlParser.php.
References $ref.
      
  | 
  protected | 
Definition at line 32 of file class.ilContainerReferenceXmlParser.php.
      
  | 
  protected | 
Definition at line 31 of file class.ilContainerReferenceXmlParser.php.
      
  | 
  protected | 
Definition at line 30 of file class.ilContainerReferenceXmlParser.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilContainerReferenceXmlParser.php.
Referenced by setMode().
      
  | 
  private | 
Definition at line 29 of file class.ilContainerReferenceXmlParser.php.
Referenced by getParentId().
      
  | 
  private | 
Definition at line 28 of file class.ilContainerReferenceXmlParser.php.
Referenced by getReference(), and setReference().
| const ilContainerReferenceXmlParser::MODE_CREATE = 1 | 
Definition at line 25 of file class.ilContainerReferenceXmlParser.php.
| const ilContainerReferenceXmlParser::MODE_UPDATE = 2 | 
Definition at line 26 of file class.ilContainerReferenceXmlParser.php.
Referenced by ilContainerReferenceImporter\getReference().