PHP Interface Swiftriver\Core\DAL\DataContextInterfaces\IContentDataContext

ファイルを表示 Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
DeleteContent ( Content[] $content ) Given an array of content items, this method removes them from the data store.
GetContent ( string[] $ids, $orderby = null ) : Content[] Given an array of content is's, this function will fetch the content objects from the data store.
GetContentList ( string[] $parameters )
SaveContent ( Content[] $content ) Given a set of content items, this method will persist them to the data store, if they already exists then this method should update the values in the data store.

Method Details

DeleteContent() public static method

Given an array of content items, this method removes them from the data store.
public static DeleteContent ( Content[] $content )
$content Swiftriver\Core\ObjectModel\Content[]

GetContent() public static method

Given an array of content is's, this function will fetch the content objects from the data store.
public static GetContent ( string[] $ids, $orderby = null ) : Content[]
$ids string[]
return Swiftriver\Core\ObjectModel\Content[]

GetContentList() public static method

public static GetContentList ( string[] $parameters )
$parameters string[]

SaveContent() public static method

Given a set of content items, this method will persist them to the data store, if they already exists then this method should update the values in the data store.
public static SaveContent ( Content[] $content )
$content Swiftriver\Core\ObjectModel\Content[]