Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Feed_Entry_Abstract Class Reference

Public Member Functions

 __construct ($uri=null, $element=null)
 Zend_Feed_Entry_Abstract constructor.
 
- Public Member Functions inherited from Zend_Feed_Element
 __construct ($element=null)
 Zend_Feed_Element constructor.
 
 getDOM ()
 Get a DOM representation of the element.
 
 setDOM (DOMElement $element)
 Update the object from a DOM element.
 
 setParent (Zend_Feed_Element $element)
 Set the parent element of this object to another Zend_Feed_Element.
 
 saveXml ()
 Get an XML string representation of this element.
 
 saveXmlFragment ()
 Get the XML for only this element.
 
 getEncoding ()
 Get encoding.
 
 setEncoding ($value)
 Set encoding.
 
 __get ($var)
 Map variable access onto the underlying entry representation.
 
 __set ($var, $val)
 Map variable sets onto the underlying entry representation.
 
 __isset ($var)
 Map isset calls onto the underlying entry representation.
 
 __call ($var, $unused)
 Get the value of an element with method syntax.
 
 __unset ($var)
 Remove all children matching $var.
 
 __toString ()
 Returns the nodeValue of this element when this object is used in a string context.
 
 offsetExists ($offset)
 Required by the ArrayAccess interface.
 
 offsetGet ($offset)
 Required by the ArrayAccess interface.
 
 offsetSet ($offset, $value)
 Required by the ArrayAccess interface.
 
 offsetUnset ($offset)
 Required by the ArrayAccess interface.
 

Protected Attributes

 $_rootElement
 
 $_rootNamespace = null
 
- Protected Attributes inherited from Zend_Feed_Element
 $_element
 
 $_encoding = 'UTF-8'
 
 $_parentElement
 
 $_appended = true
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Feed_Element
 ensureAppended ()
 Appends this element to its parent if necessary.
 
 _children ($var)
 Finds children with tagnames matching $var.
 

Constructor & Destructor Documentation

__construct (   $uri = null,
  $element = null 
)

Zend_Feed_Entry_Abstract constructor.

The Zend_Feed_Entry_Abstract constructor takes the URI of the feed the entry is part of, and optionally an XML construct (usually a SimpleXMLElement, but it can be an XML string or a DOMNode as well) that contains the contents of the entry.

Parameters
string$uri
SimpleXMLElement | DOMNode | string$element
Returns
void
Exceptions
Zend_Feed_Exception
See Also
Zend_Feed_Exception
Zend_Feed_Exception

Member Data Documentation

$_rootElement
protected
$_rootNamespace = null
protected