\Zend_Feed_Entry_Atom
Concrete class for working with Atom entries.
- Copyright: Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Feed_Entry_Atom
extends Zend_Feed_Entry_Abstract
{
- // constants
- const CONTENT_TYPE = 'application/atom+xml';
- // members
- protected string $_rootElement = 'entry';
- protected string $_rootNamespace = 'atom';
- // Inherited members from Zend_Feed_Entry_Abstract
- protected $_rootElement;
- protected $_rootNamespace;
- // Inherited members from Zend_Feed_Element
- protected DOMElement $_element;
- protected Zend_Feed_Element $_parentElement;
- protected boolean $_appended;
- // Inherited methods from Zend_Feed_Entry_Abstract
- public void __construct()
- // Inherited methods from Zend_Feed_Element
- public void __construct()
- public DOMDocument getDOM()
- public void setDOM()
- public void setParent()
- protected void ensureAppended()
- public string saveXml()
- public string saveXmlFragment()
- public mixed __get()
- public void __set()
- public boolean __isset()
- public mixed __call()
- public void __unset()
- public string __toString()
- protected array _children()
- public boolean offsetExists()
- public string offsetGet()
- public string offsetSet()
- public boolean offsetUnset()
Hierarchy
Extends
Constants
Name | Value |
---|---|
CONTENT_TYPE | 'application/atom+xml' |
Members
protected
- $_appended — boolean
- $_element — DOMElement
- $_parentElement — Zend_Feed_Element
- $_rootElement
—
string
Root XML element for Atom entries. - $_rootElement
—
string
Root XML element for entries. Subclasses must define this to a non-null value. - $_rootNamespace
—
string
Root namespace for Atom entries. - $_rootNamespace
—
string
Root namespace for entries. Subclasses may define this to a non-null value.
Methods
public
- delete() — Delete an atom entry.
- link() — Easy access to <link> tags keyed by "rel" attributes.
- save() — Save a new or updated Atom entry.
Inherited from Zend_Feed_Element
protected
- _children() — Finds children with tagnames matching $var
- ensureAppended() — Appends this element to its parent if necessary.
public
- __call() — Get the value of an element with method syntax.
- __get() — Map variable access onto the underlying entry representation.
- __isset() — Map isset calls onto the underlying entry representation.
- __set() — Map variable sets onto the underlying entry representation.
- __toString() — Returns the nodeValue of this element when this object is used in a string context.
- __unset() — Remove all children matching $var.
- getDOM() — Get a DOM representation of the element
- offsetExists() — Required by the ArrayAccess interface.
- offsetGet() — Required by the ArrayAccess interface.
- offsetSet() — Required by the ArrayAccess interface.
- offsetUnset() — Required by the ArrayAccess interface.
- saveXml() — Get an XML string representation of this element
- saveXmlFragment() — Get the XML for only this element
- setDOM() — Update the object from a DOM element
- setParent() — Set the parent element of this object to another Zend_Feed_Element.