Output_ItemAtom

class Output_ItemAtom

Package: Output

Model class for an Atom feed for a list of items.

property _feed
__construct(array $items)

Build the Atom feed using DOM.

Parameters:
  • $items (array) – An array of Item records.
Returns:

void

Returns the URLs, if any, for rel=self|next|previous links.

Parameters:
  • $items (array) –
Returns:

array

getFeed()

Returns the XML feed.

Returns:string