Output_ItemAtom

Package: Output

class Output_ItemAtom

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

__construct($items)

Build the Atom feed using DOM.

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

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

Parameters:
  • $items (array) –
Returns:

array

getFeed()

Returns the XML feed.

Returns:string