|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 26 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::__construct | ( | string | $a_xml, |
| int | $a_parent_id = 0 |
||
| ) |
Definition at line 38 of file class.ilContainerReferenceXmlParser.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\logger(), MODE_CREATE, and ilSaxParser\setXMLContent().
Here is the call graph for this function:
|
protected |
Definition at line 162 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::getParentId | ( | ) |
Definition at line 57 of file class.ilContainerReferenceXmlParser.php.
References $parent_id.
| ilContainerReferenceXmlParser::getReference | ( | ) |
Definition at line 189 of file class.ilContainerReferenceXmlParser.php.
Referenced by handlerBeginTag().
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 74 of file class.ilContainerReferenceXmlParser.php.
References getReference(), ILIAS\Repository\logger(), parseTargetId(), and ilContainerReference\TITLE_TYPE_REUSE.
Referenced by setHandlers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerReferenceXmlParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| XMLParser | resource | $a_xml_parser | |
| string | $a_data |
Definition at line 153 of file class.ilContainerReferenceXmlParser.php.
Referenced by setHandlers().
Here is the caller graph for this function:| ilContainerReferenceXmlParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| XMLParser | resource | $a_xml_parser | |
| string | $a_name |
Definition at line 129 of file class.ilContainerReferenceXmlParser.php.
References ilContainerReference\TITLE_TYPE_CUSTOM.
Referenced by setHandlers().
Here is the caller graph for this function:
|
protected |
Definition at line 106 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 166 of file class.ilContainerReferenceXmlParser.php.
References ilCategoryXmlParser\MODE_CREATE.
| ilContainerReferenceXmlParser::setHandlers | ( | $a_xml_parser | ) |
| XMLParser | resource | $a_xml_parser |
Reimplemented from ilSaxParser.
Definition at line 62 of file class.ilContainerReferenceXmlParser.php.
References handlerBeginTag(), handlerCharacterData(), and handlerEndTag().
Here is the call graph for this function:| ilContainerReferenceXmlParser::setImportMapping | ( | ilImportMapping | $mapping | ) |
Definition at line 52 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::setMode | ( | int | $mode | ) |
Definition at line 178 of file class.ilContainerReferenceXmlParser.php.
| ilContainerReferenceXmlParser::setReference | ( | ilContainerReference | $ref | ) |
Definition at line 184 of file class.ilContainerReferenceXmlParser.php.
|
protected |
Definition at line 35 of file class.ilContainerReferenceXmlParser.php.
|
protected |
Definition at line 34 of file class.ilContainerReferenceXmlParser.php.
|
protected |
Definition at line 33 of file class.ilContainerReferenceXmlParser.php.
|
protected |
Definition at line 36 of file class.ilContainerReferenceXmlParser.php.
|
private |
Definition at line 32 of file class.ilContainerReferenceXmlParser.php.
Referenced by getParentId().
|
private |
Definition at line 31 of file class.ilContainerReferenceXmlParser.php.
| const ilContainerReferenceXmlParser::MODE_CREATE = 1 |
Definition at line 28 of file class.ilContainerReferenceXmlParser.php.
Referenced by __construct().
| const ilContainerReferenceXmlParser::MODE_UPDATE = 2 |
Definition at line 29 of file class.ilContainerReferenceXmlParser.php.