Zend Framework
1.12
|
Public Member Functions | |
__construct ($title, $link, $description) | |
Create a new builder entry. | |
__get ($name) | |
Read only properties accessor. | |
__set ($name, $value) | |
Write properties accessor. | |
__isset ($key) | |
Isset accessor. | |
__unset ($key) | |
Unset accessor. | |
setAuthor ($author) | |
Sets the author of the entry. | |
setId ($id) | |
Sets the id/guid of the entry. | |
setContent ($content) | |
Sets the full html content of the entry. | |
setLastUpdate ($lastUpdate) | |
Timestamp of the update date. | |
setCommentsUrl ($comments) | |
Sets the url of the commented page associated to the entry. | |
setCommentsRssUrl ($commentRss) | |
Sets the url of the comments feed link. | |
setSource ($title, $url) | |
Defines a reference to the original source. | |
setCategories (array $categories) | |
Sets the categories of the entry Format of the array: array( array( 'term' => 'first category label', 'scheme' => 'url that identifies a categorization scheme' // optional ), // second category and so one ) | |
addCategory (array $category) | |
Add a category to the entry. | |
setEnclosures (array $enclosures) | |
Sets the enclosures of the entry Format of the array: 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 ) | |
addEnclosure ($url, $type= '', $length= '') | |
Add an enclosure to the entry. | |
__construct | ( | $title, | |
$link, | |||
$description | |||
) |
Create a new builder entry.
string | $title | |
string | $link | |
string | $description | short version of the entry, no html |
__get | ( | $name | ) |
Read only properties accessor.
string | $name | property to read |
__isset | ( | $key | ) |
Isset accessor.
string | $key |
__set | ( | $name, | |
$value | |||
) |
Write properties accessor.
string | $name | name of the property to set |
mixed | $value | value to set |
__unset | ( | $key | ) |
Unset accessor.
string | $key |
addCategory | ( | array | $category | ) |
Add a category to the entry.
array | $category | see Zend_Feed_Builder_Entry::setCategories() for format |
Zend_Feed_Builder_Exception |
addEnclosure | ( | $url, | |
$type = '' , |
|||
$length = '' |
|||
) |
Add an enclosure to the entry.
string | $url | |
string | $type | |
string | $length |
setAuthor | ( | $author | ) |
setCategories | ( | array | $categories | ) |
Sets the categories of the entry Format of the array: array( array( 'term' => 'first category label', 'scheme' => 'url that identifies a categorization scheme' // optional ), // second category and so one )
array | $categories |
setCommentsRssUrl | ( | $commentRss | ) |
setCommentsUrl | ( | $comments | ) |
Sets the url of the commented page associated to the entry.
string | $comments |
setContent | ( | $content | ) |
setEnclosures | ( | array | $enclosures | ) |
Sets the enclosures of the entry Format of the array: 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 )
array | $enclosures |
Zend_Feed_Builder_Exception |
setId | ( | $id | ) |
setLastUpdate | ( | $lastUpdate | ) |
setSource | ( | $title, | |
$url | |||
) |
Defines a reference to the original source.
string | $title | |
string | $url |