Class XmlContent

Description

A sequence of (zero or more) XmlElements (possibly interspersed with plain strings (CDATA).

Located in /lib/php/XmlElement.php (line 16)


	
			
Direct descendents
Class Description
XmlElement An XML element.
Method Summary
XmlContent XmlContent ()
void asString ()
void asXML ()
void getContent ()
bool isEmpty ()
void printXML ()
void pushContent (mixed $arg)
void setContent (mixed $arg)
void unshiftContent (mixed $arg)
void _pushContent (mixed $item)
void _pushContent_array (mixed $array)
void _quote (mixed $string)
void _unshiftContent (mixed $item)
void _unshiftContent_array (mixed $array)
Methods
Constructor XmlContent (line 18)
XmlContent XmlContent ()
asString (line 118)
void asString ()
asXML (line 101)
void asXML ()

Redefined in descendants as:
getContent (line 74)
void getContent ()
isEmpty (line 140)

See if element is empty.

Empty means it has no content.

  • return: True if empty.
bool isEmpty ()
printXML (line 83)
void printXML ()

Redefined in descendants as:
pushContent (line 23)
void pushContent (mixed $arg)
setContent (line 78)
void setContent (mixed $arg)
unshiftContent (line 49)
void unshiftContent (mixed $arg)
_pushContent (line 41)
void _pushContent (mixed $item)
_pushContent_array (line 32)
void _pushContent_array (mixed $array)
_quote (line 153)
void _quote (mixed $string)
_unshiftContent (line 67)
void _unshiftContent (mixed $item)
_unshiftContent_array (line 58)
void _unshiftContent_array (mixed $array)

Documentation generated on Mon, 21 Mar 2005 22:45:36 +0100 by phpDocumentor 1.3.0RC3