Zend_Feed_ElementImplements interfaces:
Wraps a DOMElement allowing for SimpleXML-like access to attributes.
Located in /Zend/Feed/Element.php (line 30)
| Class | Description |
|---|---|
Zend_Feed_Abstract
|
The Zend_Feed_Abstract class is an abstract class representing feeds. |
Zend_Feed_EntryAbstract
|
Zend_Feed_EntryAbstract represents a single entry in an Atom or RSS feed. |
boolean
$_appended
= true (line 46)
DOMElement
$_element
(line 36)
Zend_Feed_Element
$_parentElement
(line 41)
Constructor __construct (line 54)
Zend_Feed_Element constructor.
ensureAppended (line 107)
Appends this element to its parent if necessary.
getDOM (line 68)
Get a DOM representation of the element
Returns the underlying DOM object, which can then be manipulated with full DOM methods.
offsetExists (line 331)
Required by the ArrayAccess interface.
offsetGet (line 347)
Required by the ArrayAccess interface.
offsetSet (line 363)
Required by the ArrayAccess interface.
offsetUnset (line 381)
Required by the ArrayAccess interface.
saveXML (line 125)
Get an XML string representation of this element
Returns a string of this element's XML, including the XML prologue.
saveXMLFragment (line 142)
Get the XML for only this element
Returns a string of this element's XML without prologue.
setDOM (line 83)
Update the object from a DOM element
Take a DOMElement object, which may be originally from a call to getDOM() or may be custom created, and use it as the DOM tree for this Zend_Feed_Element.
setParent (line 95)
Set the parent element of this object to another Zend_Feed_Element.
_children (line 302)
Finds children with tagnames matching $var
Similar to SimpleXML's children() method.
__call (line 253)
Get the value of an element with method syntax.
Map method calls to get the string value of the requested element. If there are multiple elements that match, this will return an array of those objects.
__get (line 158)
Map variable access onto the underlying entry representation.
Get-style access returns a Zend_Feed_Element representing the child element accessed. To get string values, use method syntax with the __call() overriding.
__isset (line 220)
Map isset calls onto the underlying entry representation.
Only supported by PHP 5.1 and later.
__set (line 193)
Map variable sets onto the underlying entry representation.
__toString (line 288)
Returns the nodeValue of this element when this object is used in a string context.
__unset (line 272)
Remove all children matching $var.
Only supported by PHP 5.1 and later.
Documentation generated on Wed, 21 Feb 2007 11:47:04 -0800 by phpDocumentor 1.3.1