Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_data = 'array'Internal array containing all data associated with this entry or item.
Detailsarray $_extensions = 'array'Registered extensions
Detailsstring $_type = 'null'Holds the value "atom" or "rss" depending on the feed type set when when last exported.
Details__call(
string $method, array $args
)
:
mixedMethod overloading: call given method on first extension implementing it
Details__construct(
)
:
voidConstructor: Primarily triggers the registration of core extensions and loads those appropriate to this data container.
Details_loadExtensions(
)
:
voidLoad extensions from Zend_Feed_Writer
DetailsaddAuthor(
$name, $email
=
null, $uri
=
null
)
:
string|nullSet a single author
DetailsaddAuthors(
$authors
)
:
arraySet an array with feed authors
DetailsaddCategories(
array $categories
)
:
Set an array of entry categories
DetailsaddCategory(
string $category
)
:
Add a entry category
DetailscreateSource(
)
:
Zend_Feed_Writer_SourceCreates a new Zend_Feed_Writer_Source data container for use. This is NOT added to the current feed automatically, but is necessary to create a container with some initial values preset based on the current feed data.
DetailsgetAuthors(
)
:
arrayGet an array with feed authors
DetailsgetCategories(
)
:
string|nullGet the entry categories
DetailsgetCommentCount(
)
:
integerGet the number of comments/replies for current entry
DetailsgetCommentFeedLinks(
)
:
stringReturns an array of URIs pointing to a feed of all comments for this entry where the array keys indicate the feed type (atom, rss or rdf).
DetailsgetCommentLink(
)
:
stringReturns a URI pointing to the HTML page where comments can be made on this entry
DetailsgetContent(
)
:
stringGet the entry content
DetailsgetCopyright(
)
:
stringGet the entry copyright information
DetailsgetDateCreated(
)
:
stringGet the entry creation date
DetailsgetDateModified(
)
:
stringGet the entry modification date
DetailsgetDescription(
)
:
stringGet the entry description
DetailsgetEnclosure(
)
:
arrayRetrieve an array of all enclosures to be added to entry.
DetailsgetEncoding(
)
:
string|nullGet the feed character encoding
DetailsgetExtension(
string $name
)
:
objectReturn an Extension object with the matching name (postfixed with _Entry)
DetailsgetExtensions(
)
:
arrayGet registered extensions
DetailsgetId(
)
:
stringGet the entry ID
DetailsgetLink(
)
:
string|nullGet a link to the HTML source
DetailsgetLinks(
)
:
arrayGet all links
DetailsgetTitle(
)
:
stringGet the entry title
DetailsgetType(
)
:
stringRetrieve the current or last feed type exported.
Detailsremove(
string $name
)
:
Unset a specific data point
DetailssetCommentCount(
$count
)
:
string|nullSet the number of comments associated with this entry
DetailssetCommentFeedLink(
$link
)
:
string|nullSet a link to an XML feed for any comments associated with this entry
DetailssetCommentFeedLinks(
$links
)
:
string|nullSet a links to an XML feed for any comments associated with this entry.
Each link is an array with keys "uri" and "type", where type is one of: "atom", "rss" or "rdf".
DetailssetCommentLink(
$link
)
:
string|nullSet a link to a HTML page containing comments associated with this entry
DetailssetContent(
$content
)
:
string|nullSet the entry's content
DetailssetCopyright(
$copyright
)
:
string|nullSet the copyright entry
DetailssetDateCreated(
$date
=
null
)
:
string|nullSet the feed creation date
DetailssetDateModified(
$date
=
null
)
:
string|nullSet the feed modification date
DetailssetDescription(
$description
)
:
string|nullSet the feed description
DetailssetEnclosure(
$enclosure
)
:
Adds an enclosure to the entry. The array parameter may contain the keys 'uri', 'type' and 'length'. Only 'uri' is required for Atom, though the others must also be provided or RSS rendering (where they are required) will throw an Exception.
DetailssetEncoding(
$encoding
)
:
string|nullSet the feed character encoding
DetailssetId(
$id
)
:
string|nullSet the feed ID
DetailssetLink(
$link
)
:
string|nullSet a link to the HTML source of this entry
DetailssetSource(
Zend_Feed_Writer_Source $source
)
:
Appends a Zend_Feed_Writer_Entry object representing a new entry/item the feed data container's internal group of entries.
DetailssetTitle(
$title
)
:
string|nullSet the feed title
DetailssetType(
string $type
)
:
Set the current feed type being exported to "rss" or "atom". This allows other objects to gracefully choose whether to execute or not, depending on their appropriateness for the current type, e.g. renderers.
Details