category Zend
package Zend_Feed_Writer
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

getBy()

getBy() 

getComment()

getComment() 

Get the feed character encoding

getEncoding() : string | null

Returns

stringnull

getReference()

getReference() 

Retrieve the current or last feed type exported.

getType() : string

Returns

stringValue will be "rss" or "atom"

getWhen()

getWhen() 

Unset a specific data point

remove(string $name) 

Parameters

$name

string

setBy()

setBy(array $by) 

Parameters

$by

setComment()

setComment($comment) 

Parameters

$comment

Set the feed character encoding

setEncoding($encoding) : string | null

Parameters

$encoding

Returns

stringnull

setReference()

setReference($reference) 

Parameters

$reference

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) 

Parameters

$type

string

setWhen()

setWhen($date = null

Parameters

$date

 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