\Zend_Feed_Builder_Entry
An entry of a custom build feed
Classes implementing the Zend_Feed_Builder_Interface interface
uses this class to describe an entry of a feed
- 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_Builder_Entry
extends ArrayObject
{
- // Inherited constants from ArrayObject
- const = 1;
- const = 2;
- // methods
- public void __construct()
- public mixed __get()
- public void __set()
- public boolean __isset()
- public void __unset()
- public Zend_Feed_Builder_Entry setAuthor()
- public Zend_Feed_Builder_Entry setId()
- public Zend_Feed_Builder_Entry setContent()
- public Zend_Feed_Builder_Entry setLastUpdate()
- public Zend_Feed_Builder_Entry setCommentsUrl()
- public Zend_Feed_Builder_Entry setCommentsRssUrl()
- public Zend_Feed_Builder_Entry setSource()
- public Zend_Feed_Builder_Entry setCategories()
- public Zend_Feed_Builder_Entry addCategory()
- public Zend_Feed_Builder_Entry setEnclosures()
- public Zend_Feed_Builder_Entry addEnclosure()
- // Inherited methods from ArrayObject
- public void __construct()
- public void append()
- public void asort()
- public int count()
- public array exchangeArray()
- public array getArrayCopy()
- public int getFlags()
- public ArrayIterator getIterator()
- public string getIteratorClass()
- public void ksort()
- public void natcasesort()
- public void natsort()
- public bool offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public string serialize()
- public void setFlags()
- public void setIteratorClass()
- public void uasort()
- public void uksort()
- public void unserialize()
Hierarchy
Extends
Constants
Name | Value |
---|---|
1 | |
2 |
Methods
public
- __construct() — Create a new builder entry
- __get() — Read only properties accessor
- __isset() — Isset accessor
- __set() — Write properties accessor
- __unset() — Unset accessor
- addCategory() — Add a category to the entry
- addEnclosure() — Add an enclosure to the entry
- setAuthor() — Sets the author of the entry
- setCategories() — Sets the categories of the entry Format of the array: <code> array( array( 'term' => 'first category label', 'scheme' => 'url that identifies a categorization scheme' // optional ), // second category and so one ) </code>
- setCommentsRssUrl() — Sets the url of the comments feed link
- setCommentsUrl() — Sets the url of the commented page associated to the entry
- setContent() — Sets the full html content of the entry
- setEnclosures() — Sets the enclosures of the entry Format of the array: <code> array( array( 'url' => 'url of the linked enclosure', 'type' => 'mime type of the enclosure' // optional 'length' => 'length of the linked content in octets' // optional ), // second enclosure and so one ) </code>
- setId() — Sets the id/guid of the entry
- setLastUpdate() — Timestamp of the update date
- setSource() — Defines a reference to the original source
Inherited from ArrayObject
public
- append() — Appends the value
- asort() — Sort the entries by value
- count() — Get the number of public properties in the ArrayObject
- exchangeArray() — Exchange the array for another one
- getArrayCopy() — Creates a copy of the ArrayObject
- getFlags() — Gets the behavior flags
- getIterator() — Create a new iterator from an ArrayObject instance
- getIteratorClass() — Gets the iterator classname for the ArrayObject
- ksort() — Sort the entries by key
- natcasesort() — Sort an array using a case insensitive "natural order" algorithm
- natsort() — Sort entries using a "natural order" algorithm
- offsetExists() — Returns whether the requested index exists
- offsetGet() — Returns the value at the specified index
- offsetSet() — Sets the value at the specified index to newval
- offsetUnset() — Unsets the value at the specified index
- serialize() — Serialize an ArrayObject
- setFlags() — Sets the behavior flags
- setIteratorClass() — Sets the iterator classname for the ArrayObject
- uasort() — Sort the entries with a user-defined comparison function and maintain key association
- uksort() — Sort the entries by keys using a user-defined comparison function
- unserialize() — Unserialize an ArrayObject