Class XMLDocument
A class for XML Documents which will contain namespaced XML elements
Package: awl\XMLDocument
Copyright: Morphoss Ltd - http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@morphoss.com
Located at XMLDocument.php
Copyright: Morphoss Ltd - http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@morphoss.com
Located at XMLDocument.php
public
|
|
public
|
#
AddNamespace( string $namespace, string $prefix = null )
Add a new namespace to the document, optionally specifying it's short prefix |
public
|
|
public
|
#
GetXmlNsArray( )
Return a tag with namespace stripped and replaced with a short form, and the ns added to the document. |
public
string
|
|
public
|
|
public
|
#
DAVElement( object & $element, string $tag, mixed $content = false, array $attributes = false )
Special helper for tags in the DAV: namespace. |
public
|
#
CalDAVElement( object & $element, string $tag, mixed $content = false, array $attributes = false )
Special helper for tags in the urn:ietf:params:xml:ns:caldav namespace. |
public
|
#
CardDAVElement( object & $element, string $tag, mixed $content = false, array $attributes = false )
Special helper for tags in the urn:ietf:params:xml:ns:carddav namespace. |
public
|
#
CalendarserverElement( object & $element, string $tag, mixed $content = false, array $attributes = false )
Special helper for tags in the urn:ietf:params:xml:ns:caldav namespace. |
public
|
#
NewXMLElement( string $in_tag, mixed $content = false, array $attributes = false, array $xmlns = null )
|
public
A
|
|
public
|
public static
string
|
$ns_dav
|
#
'DAV:'
|
public static
string
|
$ns_caldav
|
#
'urn:ietf:params:xml:ns:caldav'
|
public static
string
|
$ns_carddav
|
#
'urn:ietf:params:xml:ns:carddav'
|
public static
string
|
$ns_calendarserver
|
#
'http://calendarserver.org/ns/'
|