Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ElggXMLElement
  • XmlElement
  • Overview
  • Package
  • Class
  • Tree

Class ElggXMLElement

A parser for XML that uses SimpleXMLElement

Package: Elgg\Core\XML
Located at ElggXMLElement.php
Methods summary
public
# __construct( string|SimpleXMLElement $xml )

Creates an ElggXMLParser from a string or existing SimpleXMLElement

Creates an ElggXMLParser from a string or existing SimpleXMLElement

Parameters

$xml
string|SimpleXMLElement
$xml The XML to parse
public string
# getName( )

Returns

string
The name of the element
public string[]
# getAttributes( )

Returns

string[]
The attributes
public string
# getContent( )

Returns

string
CData
public ElggXMLElement[]
# getChildren( )

Returns

ElggXMLElement[]
Child elements
public mixed
# __get( string $name )

Override ->

Override ->

Parameters

$name
string
$name Property name

Returns

mixed
public boolean
# __isset( string $name )

Override isset

Override isset

Parameters

$name
string
$name Property name

Returns

boolean
API documentation generated by ApiGen 2.8.0