|
ILIAS
release_8 Revision v8.24
|
XML parser for weblink xml. More...
Inheritance diagram for ilWebLinkXmlParser:
Collaboration diagram for ilWebLinkXmlParser:Public Member Functions | |
| __construct (ilObjLinkResource $webr, string $xml) | |
| startParsing () | |
| stores xml data in array More... | |
| setWebLink (ilObjLinkResource $webl) | |
| getWebLink () | |
| setMode (int $a_mode) | |
| getMode () | |
| start () | |
| 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) | |
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) | |
Data Fields | |
| const | MODE_UPDATE = 1 |
| const | MODE_CREATE = 2 |
Data Fields inherited from ilSaxParser | |
| string | $xml_file |
| bool | $throw_exception = false |
Protected Member Functions | |
| resetStoredValues () | |
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) | |
Protected Attributes | |
| const | MODE_UNDEFINED = 0 |
Protected Attributes inherited from ilMDSaxParser | |
| bool | $md_in_md = false |
| string | $md_chr_data = '' |
| ilMDIdentifier | $md_ide = null |
| ilMDLanguage | $md_lan = null |
| ilMDDescription | $md_des = null |
| ilMDLifecycle | $md_lif = null |
| ilMDContribute | $md_con = null |
| ilMDEntity | $md_ent = null |
| ilMDMetaMetadata | $md_met = null |
| ilMDTechnical | $md_tec = null |
| ilMDFormat | $md_for = null |
| ilMDLocation | $md_loc = null |
| ilMDRequirement | $md_req = null |
| ilMDOrComposite | $md_orc = null |
| ilMDEducational | $md_edu = null |
| ilMDTypicalAgeRange | $md_typ = null |
| ilMDRights | $md_rig = null |
| ilMDRelation | $md_rel = null |
| ilMDIdentifier_ | $md_ide_ = null |
| ilMDAnnotation | $md_ann = null |
| ilMDClassification | $md_cla = null |
| ilMDTaxonPath | $md_taxp = null |
| ilMDTaxon | $md_tax = null |
| ilMDKeyword | $md_key = null |
| array | $md_parent = array() |
| ilMD | $md = null |
| ilMDGeneral | $md_gen = null |
| ilLogger | $meta_log |
Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null |
Private Attributes | |
| ilObjLinkResource | $webl |
| ilWebLinkRepository | $web_link_repo |
| int | $mode = self::MODE_UNDEFINED |
| bool | $in_metadata = false |
| array | $sorting_positions = [] |
| string | $cdata = '' |
| int | $current_sorting_position = 0 |
| bool | $current_item_create = false |
| bool | $current_item_update = false |
| bool | $current_item_delete = false |
| int | $current_link_id |
| string | $current_title |
| string | $current_target |
| bool | $current_active |
| array | $current_parameters = [] |
| string | $current_description |
| bool | $current_internal |
| bool | $is_list = false |
| string | $list_title |
| string | $list_description |
| ilWebLinkXmlParser::__construct | ( | ilObjLinkResource | $webr, |
| string | $xml | ||
| ) |
Definition at line 60 of file class.ilWebLinkXmlParser.php.
References ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Survey\Mode\getId(), getWebLink(), ilMDSaxParser\setMDObject(), ilSaxParser\setThrowException(), setWebLink(), and ilSaxParser\setXMLContent().
Here is the call graph for this function:| ilWebLinkXmlParser::getMode | ( | ) |
Definition at line 111 of file class.ilWebLinkXmlParser.php.
References $mode.
| ilWebLinkXmlParser::getWebLink | ( | ) |
Definition at line 101 of file class.ilWebLinkXmlParser.php.
References $webl.
Referenced by __construct().
Here is the caller graph for this function:| ilWebLinkXmlParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| XMLParser | resource | $a_xml_parser |
Reimplemented from ilMDSaxParser.
Definition at line 147 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| resource | $a_xml_parser |
Reimplemented from ilMDSaxParser.
Definition at line 407 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| resource | $a_xml_parser |
Reimplemented from ilMDSaxParser.
Definition at line 291 of file class.ilWebLinkXmlParser.php.
References ilContainerSorting\_getInstance(), ILIAS\Survey\Mode\getId(), ilLoggerFactory\getLogger(), and ilLinkInputGUI\isInternalLink().
Here is the call graph for this function:
|
protected |
Definition at line 116 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::setHandlers | ( | $a_xml_parser | ) |
Set event handlers.
| XMLParser|resource | reference to the xml parser |
Reimplemented from ilMDSaxParser.
Definition at line 136 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::setMode | ( | int | $a_mode | ) |
Definition at line 106 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::setWebLink | ( | ilObjLinkResource | $webl | ) |
Definition at line 96 of file class.ilWebLinkXmlParser.php.
References $webl.
Referenced by __construct().
Here is the caller graph for this function:| ilWebLinkXmlParser::start | ( | ) |
Definition at line 131 of file class.ilWebLinkXmlParser.php.
References startParsing().
Here is the call graph for this function:| ilWebLinkXmlParser::startParsing | ( | ) |
stores xml data in array
| ilSaxParserException |
Reimplemented from ilSaxParser.
Definition at line 79 of file class.ilWebLinkXmlParser.php.
References ilMDSaxParser\getMDObject().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 38 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 48 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 53 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 54 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 41 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 43 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 42 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 45 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 52 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 40 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 47 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 46 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 36 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 56 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 58 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 57 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 35 of file class.ilWebLinkXmlParser.php.
Referenced by getMode().
|
private |
Definition at line 37 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 34 of file class.ilWebLinkXmlParser.php.
|
private |
Definition at line 33 of file class.ilWebLinkXmlParser.php.
Referenced by getWebLink(), and setWebLink().
| const ilWebLinkXmlParser::MODE_CREATE = 2 |
Definition at line 31 of file class.ilWebLinkXmlParser.php.
Referenced by ilSoapWebLinkAdministration\createWebLink().
|
protected |
Definition at line 29 of file class.ilWebLinkXmlParser.php.
| const ilWebLinkXmlParser::MODE_UPDATE = 1 |
Definition at line 30 of file class.ilWebLinkXmlParser.php.
Referenced by ilSoapWebLinkAdministration\updateWebLink().