PHP 인터페이스 Sulu\Component\SmartContent\DataProviderInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
getConfiguration ( ) : Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface Returns configuration for smart-content.
getDefaultPropertyParameter ( ) : PropertyParameter[] Returns default parameter.
resolveDataItems ( array $filters, array $propertyParameter, array $options = [], integer | null $limit = null, integer $page = 1, integer | null $pageSize = null ) : DataProviderResult Resolves given filters and returns filtered data items.
resolveDatasource ( mixed $datasource, array $propertyParameter, array $options ) : Sulu\Component\SmartContent\DatasourceItemInterface Resolves datasource and returns the data of it.
resolveResourceItems ( array $filters, array $propertyParameter, array $options = [], integer | null $limit = null, integer $page = 1, integer | null $pageSize = null ) : DataProviderResult Resolves given filters and returns filtered resource items with ArrayAccess.

메소드 상세

getConfiguration() 공개 메소드

Returns configuration for smart-content.
public getConfiguration ( ) : Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface
리턴 Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface

getDefaultPropertyParameter() 공개 메소드

Returns default parameter.
public getDefaultPropertyParameter ( ) : PropertyParameter[]
리턴 Sulu\Component\Content\Compat\PropertyParameter[]

resolveDataItems() 공개 메소드

Resolves given filters and returns filtered data items.
public resolveDataItems ( array $filters, array $propertyParameter, array $options = [], integer | null $limit = null, integer $page = 1, integer | null $pageSize = null ) : DataProviderResult
$filters array Contains the filter configuration
$propertyParameter array Contains the parameter of resolved property
$options array Options like webspace or locale
$limit integer | null Indicates maximum size of result set
$page integer Indicates page of result set
$pageSize integer | null Indicates page-size of result set
리턴 DataProviderResult

resolveDatasource() 공개 메소드

Resolves datasource and returns the data of it.
public resolveDatasource ( mixed $datasource, array $propertyParameter, array $options ) : Sulu\Component\SmartContent\DatasourceItemInterface
$datasource mixed Identification of datasource
$propertyParameter array Contains the parameter of resolved property
$options array Options like webspace or locale
리턴 Sulu\Component\SmartContent\DatasourceItemInterface

resolveResourceItems() 공개 메소드

Resolves given filters and returns filtered resource items with ArrayAccess.
public resolveResourceItems ( array $filters, array $propertyParameter, array $options = [], integer | null $limit = null, integer $page = 1, integer | null $pageSize = null ) : DataProviderResult
$filters array Contains the filter configuration
$propertyParameter array Contains the parameter of resolved property
$options array Options like webspace or locale
$limit integer | null Indicates maximum size of result set
$page integer Indicates page of result set
$pageSize integer | null Indicates page-size of result set
리턴 DataProviderResult