category Zend
package Zend_Feed_Writer

 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

Unset a specific data point

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

Parameters

$name

string

Returns

Set by

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

setComment()

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

Parameters

$comment

string

Returns

Set the feed character encoding

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

Parameters

$encoding

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

stringnull

Set reference

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

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

Set when

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

 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