PHP Класс Sulu\Component\Content\SmartContent\QueryBuilder

Наследование: extends Sulu\Component\Content\Query\ContentQueryBuilder
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$excerpt boolean disable automatic excerpt loading.

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

Метод Описание
__construct ( Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, $languageNamespace )
init ( array $options )

Защищенные методы

Метод Описание
buildOrder ( $webspaceKey, $locale )
buildPageSelector ( ) build select for uuids.
buildSelect ( $webspaceKey, $locale, &$additionalFields )
buildWhere ( $webspaceKey, $locale )

Приватные методы

Метод Описание
buildCategoriesWhere ( $categories, $operator, $languageCode ) build categories where clauses.
buildDatasourceWhere ( ) build datasource where clause.
buildExtensionSelect ( $alias, $extension, $propertyName, $locale, &$additionalFields ) build select for extension property.
buildPageExclude ( ) build sql for exluded Pages.
buildPropertiesSelect ( $locale, &$additionalFields ) build select for properties.
buildPropertySelect ( $alias, $propertyName, $locale, &$additionalFields ) build select for single property.
buildTagsWhere ( $tags, $operator, $languageCode ) build tags where clauses.
getConfig ( string $name, mixed $default = null ) : mixed returns config value.
hasConfig ( string $name ) : boolean checks if config has given config name.

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

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

public __construct ( Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, $languageNamespace )
$structureManager Sulu\Component\Content\Compat\StructureManagerInterface
$extensionManager Sulu\Component\Content\Extension\ExtensionManagerInterface
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface

buildOrder() защищенный Метод

protected buildOrder ( $webspaceKey, $locale )

buildPageSelector() защищенный Метод

build select for uuids.
protected buildPageSelector ( )

buildSelect() защищенный Метод

protected buildSelect ( $webspaceKey, $locale, &$additionalFields )

buildWhere() защищенный Метод

protected buildWhere ( $webspaceKey, $locale )

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

public init ( array $options )
$options array

Описание свойств

$excerpt защищенное свойство

disable automatic excerpt loading.
protected bool $excerpt
Результат boolean