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'Contains all Feed level date to append in feed output
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
Details_validateTagUri(
string $id
)
:
boolValidate a URI using the tag scheme (RFC 4151)
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 feed categories
DetailsaddCategory(
string $category
)
:
Add a feed category
DetailsaddHub(
string $url
)
:
Add a Pubsubhubbub hub endpoint URL
DetailsaddHubs(
array $urls
)
:
Add Pubsubhubbub hub endpoint URLs
DetailsgetAuthor(
int $index
=
0
)
:
string|nullGet a single author
DetailsgetAuthors(
)
:
arrayGet an array with feed authors
DetailsgetBaseUrl(
)
:
string|nullGet the feed's base url
DetailsgetCategories(
)
:
string|nullGet the feed categories
DetailsgetCopyright(
)
:
string|nullGet the copyright entry
DetailsgetDateCreated(
)
:
string|nullGet the feed creation date
DetailsgetDateModified(
)
:
string|nullGet the feed modification date
DetailsgetDescription(
)
:
string|nullGet the feed description
DetailsgetEncoding(
)
:
string|nullGet the feed character encoding
DetailsgetFeedLinks(
)
:
string|nullGet a link to the XML feed
DetailsgetGenerator(
)
:
string|nullGet the feed generator entry
DetailsgetHubs(
)
:
string|nullGet the URLs used as Pubsubhubbub hubs endpoints
DetailsgetId(
)
:
string|nullGet the feed ID
DetailsgetImage(
)
:
arrayGet the feed image URI
DetailsgetLanguage(
)
:
string|nullGet the feed language
DetailsgetLastBuildDate(
)
:
string|nullGet the feed last-build date
DetailsgetLink(
)
:
string|nullGet a link to the HTML source
DetailsgetTitle(
)
:
string|nullGet the feed title
DetailsgetType(
)
:
stringRetrieve the current or last feed type exported.
Detailsremove(
string $name
)
:
Unset a specific data point
Detailsreset(
)
:
voidResets the instance and deletes all data
DetailssetBaseUrl(
string $url
)
:
Set the feed's base URL
DetailssetCopyright(
$copyright
)
:
string|nullSet the copyright entry
DetailssetDateCreated(
$date
=
null
)
:
Set the feed creation date
DetailssetDateModified(
$date
=
null
)
:
Set the feed modification date
DetailssetDescription(
$description
)
:
string|nullSet the feed description
DetailssetEncoding(
string $encoding
)
:
Set the feed character encoding
DetailssetFeedLink(
$link, $type
)
:
string|nullSet a link to an XML feed for any feed type/version
DetailssetGenerator(
$name, $version
=
null, $uri
=
null
)
:
string|nullSet the feed generator entry
DetailssetId(
string $id
)
:
Set the feed ID - URI or URN (via PCRE pattern) supported
DetailssetImage(
array $data
)
:
Set a feed image (URI at minimum). Parameter is a single array with the required key 'uri'. When rendering as RSS, the required keys are 'uri', 'title' and 'link'. RSS also specifies three optional parameters 'width', 'height' and 'description'. Only 'uri' is required and used for Atom rendering.
DetailssetLanguage(
$language
)
:
string|nullSet the feed language
DetailssetLastBuildDate(
$date
=
null
)
:
Set the feed last-build date. Ignored for Atom 1.0.
DetailssetLink(
string $link
)
:
Set a link to the HTML source
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