PHP Интерфейс Swiftriver\Core\DAL\DataContextInterfaces\IContentDataContext

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]