package Default

 Methods

getBy()

getBy() : string

Returns

string

getComment()

getComment() : string

Returns

string

Get the feed character encoding

getEncoding() : string | null

Returns

stringnull

getReference()

getReference() : string

Returns

string

Retrieve the current or last feed type exported.

getType() : string

Returns

stringValue will be "rss" or "atom"

getWhen()

getWhen() : \DateTime

Returns

\DateTime

Unset a specific data point

remove(string $name) : \Zend\Feed\Writer\Deleted

Parameters

$name

string

Returns

\Zend\Feed\Writer\Deleted

Set by

setBy(array $by) : \Zend\Feed\Writer\Deleted

Parameters

$by

array

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

\Zend\Feed\Writer\Deleted

setComment()

setComment(string $comment) : \Zend\Feed\Writer\Deleted

Parameters

$comment

string

Returns

\Zend\Feed\Writer\Deleted

Set the feed character encoding

setEncoding($encoding) : string | null: \Zend\Feed\Writer\Deleted

Parameters

$encoding

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

stringnull
\Zend\Feed\Writer\Deleted

Set reference

setReference($reference) : \Zend\Feed\Writer\Deleted

Parameters

$reference

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

\Zend\Feed\Writer\Deleted

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.

setType(string $type) : \Zend\Feed\Writer\Deleted

Parameters

$type

string

Returns

\Zend\Feed\Writer\Deleted

Set when

setWhen(null|string|\DateTime $date = null) : \Zend\Feed\Writer\Deleted

Parameters

$date

nullstring\DateTime

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

\Zend\Feed\Writer\Deleted

 Properties

 

Internal array containing all data associated with this entry or item.

$data : array

Default

array()
 

Holds the value "atom" or "rss" depending on the feed type set when when last exported.

$type : string

Default

null