| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Adv MD XML Parser. More...
 Inheritance diagram for ilAdvancedMDParser:
 Collaboration diagram for ilAdvancedMDParser:Public Member Functions | |
| __construct (string $a_obj_id, ilImportMapping $a_mapping) | |
| setHandlers ($a_xml_parser) | |
| createLocalRecord (int $a_old_id, string $a_xml, int $a_obj_id, ?string $a_sub_type=null) | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| Start element handler.  More... | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| End element handler.  More... | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| Character data handler.  More... | |
| getRecordIds () | |
  Public Member Functions inherited from ilMDSaxParser | |
| __construct (?string $a_xml_file='') | |
| enableMDParsing (bool $a_status) | |
| getMDParsingStatus () | |
| setMDObject (ilMD $md) | |
| getMDObject () | |
| inMetaData () | |
| setHandlers ($a_xml_parser) | |
| Set event handlers.  More... | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| __getCharacterData () | |
| __pushParent (object $md_obj) | |
| __popParent () | |
| __getParent () | |
  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) | |
Protected Member Functions | |
| initValue (string $a_import_id, string $a_sub_type="", int $a_sub_id=0, int $a_local_rec_id=null) | |
  Protected Member Functions inherited from ilMDSaxParser | |
| trimAndStripAttribs (array $attribs) | |
| trimAndStrip (string $input) | |
  Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
Additional Inherited Members | |
  Data Fields inherited from ilSaxParser | |
| string | $xml_file | 
| bool | $throw_exception = false | 
Adv MD XML Parser.
Definition at line 22 of file class.ilAdvancedMDParser.php.
| ilAdvancedMDParser::__construct | ( | string | $a_obj_id, | 
| ilImportMapping | $a_mapping | ||
| ) | 
Definition at line 48 of file class.ilAdvancedMDParser.php.
References $parts, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilLoggerFactory\getLogger(), and ILIAS\Repository\int().
 Here is the call graph for this function:| ilAdvancedMDParser::createLocalRecord | ( | int | $a_old_id, | 
| string | $a_xml, | ||
| int | $a_obj_id, | ||
| ?string | $a_sub_type = null  | 
        ||
| ) | 
Definition at line 66 of file class.ilAdvancedMDParser.php.
References ilObject\_lookupType(), ilFileUtils\ilTempnam(), ilAdvancedMDRecordParser\MODE_INSERT, and ilAdvancedMDRecordParser\MODE_INSERT_VALIDATION.
Referenced by initValue().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDParser::getRecordIds | ( | ) | 
| ilAdvancedMDParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) | 
Start element handler.
| resource | $a_xml_parser | xml parser | 
Implements ilSaxSubsetParser.
Definition at line 103 of file class.ilAdvancedMDParser.php.
References initValue().
 Here is the call graph for this function:| ilAdvancedMDParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
Character data handler.
| resource | $a_xml_parser | xml parser | 
Implements ilSaxSubsetParser.
Definition at line 150 of file class.ilAdvancedMDParser.php.
| ilAdvancedMDParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
End element handler.
| resource | $a_xml_parser | xml parser | 
Implements ilSaxSubsetParser.
Definition at line 124 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 160 of file class.ilAdvancedMDParser.php.
References $rec_id, createLocalRecord(), ilAdvancedMDFieldDefinition\getInstanceByImportId(), and ILIAS\Repository\int().
Referenced by handlerBeginTag().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDParser::setHandlers | ( | $a_xml_parser | ) | 
Definition at line 59 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 27 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 35 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 41 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 39 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 26 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 24 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 25 of file class.ilAdvancedMDParser.php.
Referenced by initValue().
      
  | 
  protected | 
Definition at line 36 of file class.ilAdvancedMDParser.php.
Referenced by getRecordIds().
      
  | 
  protected | 
Definition at line 28 of file class.ilAdvancedMDParser.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilAdvancedMDParser.php.