Zend Framework
3.0
|
Public Member Functions | |
setEncoding ($encoding) | |
Set the feed character encoding. | |
getEncoding () | |
Get the feed character encoding. | |
remove ($name) | |
Unset a specific data point. | |
setType ($type) | |
Set the current feed type being exported to "rss" or "atom". | |
getType () | |
Retrieve the current or last feed type exported. | |
setReference ($reference) | |
Set reference. | |
getReference () | |
setWhen ($date=null) | |
Set when. | |
getWhen () | |
setBy (array $by) | |
Set by. | |
getBy () | |
setComment ($comment) | |
getComment () | |
Protected Attributes | |
$data = [] | |
$type = null | |
getBy | ( | ) |
getComment | ( | ) |
getEncoding | ( | ) |
Get the feed character encoding.
getReference | ( | ) |
getType | ( | ) |
Retrieve the current or last feed type exported.
getWhen | ( | ) |
remove | ( | $name | ) |
setBy | ( | array | $by | ) |
setComment | ( | $comment | ) |
string | $comment |
setEncoding | ( | $encoding | ) |
Set the feed character encoding.
$encoding |
Exception\InvalidArgumentException |
setReference | ( | $reference | ) |
setType | ( | $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.
string | $type |
setWhen | ( | $date = null | ) |
Set when.
null | string | DateTime | $date |
Exception\InvalidArgumentException |
|
protected |
|
protected |