PHP 인터페이스 Swiftriver\Core\DAL\DataContextInterfaces\IContentDataContext

파일 보기 프로젝트 열기: ushahidi/Swiftriver-2011

공개 메소드들

메소드 설명
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.

메소드 상세

DeleteContent() 공개 정적인 메소드

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() 공개 정적인 메소드

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[]
리턴 Swiftriver\Core\ObjectModel\Content[]

GetContentList() 공개 정적인 메소드

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

SaveContent() 공개 정적인 메소드

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[]