PHP Интерфейс Sulu\Component\SmartContent\DataProviderPoolInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
add ( string $alias, Sulu\Component\SmartContent\DataProviderInterface $provider ) Add new DataProvider with given alias.
exists ( string $alias ) : boolean Returns TRUE if DataProvider exists otherwise FALSE.
get ( string $alias ) : Sulu\Component\SmartContent\DataProviderInterface Returns DataProvider with given alias.
getAll ( ) : Sulu\Component\SmartContent\DataProviderInterface[] Returns all registered DataProvider.

Описание методов

add() публичный Метод

Add new DataProvider with given alias.
public add ( string $alias, Sulu\Component\SmartContent\DataProviderInterface $provider )
$alias string identify the DataProvider
$provider Sulu\Component\SmartContent\DataProviderInterface

exists() публичный Метод

Returns TRUE if DataProvider exists otherwise FALSE.
public exists ( string $alias ) : boolean
$alias string identify the DataProvider
Результат boolean

get() публичный Метод

Returns DataProvider with given alias.
public get ( string $alias ) : Sulu\Component\SmartContent\DataProviderInterface
$alias string identify the DataProvider
Результат Sulu\Component\SmartContent\DataProviderInterface

getAll() публичный Метод

Returns all registered DataProvider.
public getAll ( ) : Sulu\Component\SmartContent\DataProviderInterface[]
Результат Sulu\Component\SmartContent\DataProviderInterface[]