Methods
Get the feed character encoding
getEncoding() : string | null
getReference()
getReference() : string
Retrieve the current or last feed type exported.
getType() : string
Returns
string
Value will be "rss" or "atom"
Set the feed character encoding
setEncoding($encoding) : string | null: \Zend\Feed\Writer\Deleted
Parameters
$encoding
Exceptions
Returns
string
null
Set the current feed type being exported to "rss" or "atom".
setType(string $type) : \Zend\Feed\Writer\Deleted
This allows
other objects to gracefully choose whether to execute or not, depending
on their appropriateness for the current type, e.g. renderers.
Parameters
$type
string
Returns
Properties
Internal array containing all data associated with this entry or item.
$data : array
Holds the value "atom" or "rss" depending on the feed type set when
when last exported.
$type : string