eZ Publish Community Project (Legacy Stack) 2013.4
Class

ezpRestFeedDecorator

class ezpRestFeedDecorator

This class decorates the feed provided in the REST interface for content sync mechanisms.

The interface is based on the in-progress ezcMvcFeedDecorator interface.

The decorator objects should be able describe the various syncing streams, the decorator needs to be able to extract relevant information for defined streams via an interface suited for this purpose.

Methods

decorateFeed(ezcFeed $feed)

string getItemVariable()

Returns the name of the variable in the result object to decorate

void decorateFeedItem(ezcFeedEntryElement $item, $data)

Adds feed metadata pertaining to the item's data specified in $data

Details

at line 25
public decorateFeed(ezcFeed $feed)

Parameters

ezcFeed $feed

at line 34
public string getItemVariable()

Returns the name of the variable in the result object to decorate

Return Value

string

at line 47
public void decorateFeedItem(ezcFeedEntryElement $item, $data)

Adds feed metadata pertaining to the item's data specified in $data

Parameters

ezcFeedEntryElement $item
$data

Return Value

void