Method | Description | |
---|---|---|
__construct ( Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQueryExecutor, Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory, $showDrafts ) | ||
getConfiguration ( ) | ||
getDefaultPropertyParameter ( ) | ||
resolveDataItems ( array $filters, array $propertyParameter, array $options = [], $limit = null, $page = 1, $pageSize = null ) | ||
resolveDatasource ( $datasource, array $propertyParameter, array $options ) | ||
resolveResourceItems ( array $filters, array $propertyParameter, array $options = [], $limit = null, $page = 1, $pageSize = null ) |
Method | Description | |
---|---|---|
decorateDataItems ( array $data, string $locale ) : |
Decorates result with item class. | |
decorateResourceItems ( array $data, string $locale ) : |
Decorates result with item class. | |
getResource ( string $uuid, string $locale ) : object | Returns Proxy Document for uuid. | |
initConfiguration ( ) : Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface | Initiate configuration. | |
load ( array $options, integer $limit ) : array | Load data. | |
loadPaginated ( array $options, integer $limit, integer $page, integer $pageSize ) : array | Load paginated data. | |
resolveFilters ( array $filters, array $propertyParameter, array $options = [], $limit = null, $page = 1, $pageSize = null ) | Resolves filters. |
public __construct ( Sulu\Component\Content\Query\ContentQueryBuilderInterface $contentQueryBuilder, Sulu\Component\Content\Query\ContentQueryExecutorInterface $contentQueryExecutor, Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory, $showDrafts ) | ||
$contentQueryBuilder | Sulu\Component\Content\Query\ContentQueryBuilderInterface | |
$contentQueryExecutor | Sulu\Component\Content\Query\ContentQueryExecutorInterface | |
$documentManager | Sulu\Component\DocumentManager\DocumentManagerInterface | |
$proxyFactory | ProxyManager\Factory\LazyLoadingValueHolderFactory |
public resolveDatasource ( $datasource, array $propertyParameter, array $options ) | ||
$propertyParameter | array | |
$options | array |