| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
XML parser for weblink xml. More...
 Inheritance diagram for ilWebLinkXmlParser:
 Collaboration diagram for ilWebLinkXmlParser:Public Member Functions | |
| __construct (ilObjLinkResource $webr, string $xml) | |
| startParsing () | |
| setWebLink (ilObjLinkResource $webl) | |
| getWebLink () | |
| setMode (int $a_mode) | |
| getMode () | |
| start () | |
| 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) | |
  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 | 
| string | $first_item_title | 
| string | $first_item_description | 
XML parser for weblink xml.
Definition at line 27 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::__construct | ( | ilObjLinkResource | $webr, | 
| string | $xml | ||
| ) | 
Definition at line 62 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 118 of file class.ilWebLinkXmlParser.php.
References $mode.
Referenced by handlerBeginTag().
 Here is the caller graph for this function:| ilWebLinkXmlParser::getWebLink | ( | ) | 
Definition at line 108 of file class.ilWebLinkXmlParser.php.
References $webl.
Referenced by __construct(), handlerBeginTag(), handlerEndTag(), and startParsing().
 Here is the caller graph for this function:| ilWebLinkXmlParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) | 
Definition at line 154 of file class.ilWebLinkXmlParser.php.
References $DIC, ilMDSaxParser\$md, $param, ilMD\deleteAll(), ILIAS\Survey\Mode\getId(), getMode(), getWebLink(), ILIAS\Repository\int(), resetStoredValues(), ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilMDSaxParser\trimAndStripAttribs(), and ilWebLinkBaseParameter\VALUES.
 Here is the call graph for this function:| ilWebLinkXmlParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) | 
Definition at line 417 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) | 
Definition at line 298 of file class.ilWebLinkXmlParser.php.
References $current_description, $current_parameters, $current_sorting_position, $current_title, ilContainerSorting\_getInstance(), ILIAS\Survey\Mode\getId(), ilLoggerFactory\getLogger(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), getWebLink(), ilLinkInputGUI\isInternalLink(), resetStoredValues(), and ilMDSaxParser\trimAndStrip().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 123 of file class.ilWebLinkXmlParser.php.
Referenced by handlerBeginTag(), and handlerEndTag().
 Here is the caller graph for this function:| ilWebLinkXmlParser::setHandlers | ( | $a_xml_parser | ) | 
Definition at line 143 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::setMode | ( | int | $a_mode | ) | 
Definition at line 113 of file class.ilWebLinkXmlParser.php.
| ilWebLinkXmlParser::setWebLink | ( | ilObjLinkResource | $webl | ) | 
Definition at line 103 of file class.ilWebLinkXmlParser.php.
References $webl.
Referenced by __construct().
 Here is the caller graph for this function:| ilWebLinkXmlParser::start | ( | ) | 
Definition at line 138 of file class.ilWebLinkXmlParser.php.
References startParsing().
 Here is the call graph for this function:| ilWebLinkXmlParser::startParsing | ( | ) | 
Definition at line 81 of file class.ilWebLinkXmlParser.php.
References $general, ilMDSaxParser\getMDObject(), and getWebLink().
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.
Referenced by handlerEndTag().
      
  | 
  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.
Referenced by handlerEndTag().
      
  | 
  private | 
Definition at line 40 of file class.ilWebLinkXmlParser.php.
Referenced by handlerEndTag().
      
  | 
  private | 
Definition at line 47 of file class.ilWebLinkXmlParser.php.
      
  | 
  private | 
Definition at line 46 of file class.ilWebLinkXmlParser.php.
Referenced by handlerEndTag().
      
  | 
  private | 
Definition at line 60 of file class.ilWebLinkXmlParser.php.
      
  | 
  private | 
Definition at line 59 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(), and ilWebResourceImporter\importXmlRepresentation().
      
  | 
  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().