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.
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
__construct(
string $title, string $link, string $description
)
:
voidCreate a new builder entry
Details__get(
string $name
)
:
mixedRead only properties accessor
Details__isset(
string $key
)
:
booleanIsset accessor
Details__set(
string $name, mixed $value
)
:
voidWrite properties accessor
Details__unset(
string $key
)
:
voidUnset accessor
DetailsaddCategory(
array $category
)
:
Zend_Feed_Builder_EntryAdd a category to the entry
DetailsaddEnclosure(
string $url, string $type, string $length
)
:
Zend_Feed_Builder_EntryAdd an enclosure to the entry
DetailssetAuthor(
string $author
)
:
Zend_Feed_Builder_EntrySets the author of the entry
DetailssetCategories(
array $categories
)
:
Zend_Feed_Builder_EntrySets 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>
DetailssetCommentsRssUrl(
string $commentRss
)
:
Zend_Feed_Builder_EntrySets the url of the comments feed link
DetailssetCommentsUrl(
string $comments
)
:
Zend_Feed_Builder_EntrySets the url of the commented page associated to the entry
DetailssetContent(
string $content
)
:
Zend_Feed_Builder_EntrySets the full html content of the entry
DetailssetEnclosures(
array $enclosures
)
:
Zend_Feed_Builder_EntrySets 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>
DetailssetId(
string $id
)
:
Zend_Feed_Builder_EntrySets the id/guid of the entry
DetailssetLastUpdate(
int $lastUpdate
)
:
Zend_Feed_Builder_EntryTimestamp of the update date
DetailssetSource(
string $title, string $url
)
:
Zend_Feed_Builder_EntryDefines a reference to the original source
Details