category Zend
package Zend_Feed
subpackage Writer

 Methods

Create and return a Feed based on data provided.

factory(array | \Traversable $data) : \Zend\Feed\Writer\Feed

Parameters

$data

array\Traversable

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException

Returns

Normalize a key

convertKey(string $key) : string

Parameters

$key

string

Returns

string

Create and attach entries to a feed

createEntries(array | \Traversable $entries, \Zend\Feed\Writer\Feed $feed) : void

Parameters

$entries

array\Traversable

Exceptions

\Zend\Feed\Writer\Exception\InvalidArgumentException