Property | Type | Description | |
---|---|---|---|
$excerpt | boolean | Load Excerpt data. | |
$extensionManager | Sulu\Component\Content\Extension\ExtensionManagerInterface | ||
$languageNamespace | string | ||
$properties | string[] | ||
$published | boolean | Only published content. | |
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface |
Method | Description | |
---|---|---|
__construct ( Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, $languageNamespace ) | ||
build ( $webspaceKey, $locales ) | ||
getPublished ( ) |
Method | Description | |
---|---|---|
buildOrder ( $webspaceKey, $locale ) | Returns custom order statement. | |
buildSelect ( $webspaceKey, $locale, &$additionalFields ) | Returns custom where statement. | |
buildSelector ( $name ) | Returns single select statement. | |
buildWhere ( $webspaceKey, $locale ) | Returns custom select statement. | |
getPropertyName ( $property ) | Returns translated property name. | |
getTranslatedProperty ( Sulu\Component\Content\Compat\PropertyInterface $property, $locale ) | Returns a translated property. | |
setLocale ( string $locale ) | Configures translated properties to given locale. |
Method | Description | |
---|---|---|
buildSelectForStructure ( $locale, Sulu\Component\Content\Compat\StructureInterface $structure, &$names ) | Returns select of a single structure with title and url selector. | |
buildSelectForStructures ( $locale, $structures, &$names ) | Returns select statement with all url and title properties. | |
buildSelectorForExcerpt ( $locale, &$additionalFields ) | Returns a select statement for excerpt data. |
public __construct ( Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, $languageNamespace ) | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$extensionManager | Sulu\Component\Content\Extension\ExtensionManagerInterface |
protected buildOrder ( $webspaceKey, $locale ) |
abstract protected buildSelect ( $webspaceKey, $locale, &$additionalFields ) |
abstract protected buildWhere ( $webspaceKey, $locale ) |
protected getPropertyName ( $property ) |
protected getTranslatedProperty ( Sulu\Component\Content\Compat\PropertyInterface $property, $locale ) | ||
$property | Sulu\Component\Content\Compat\PropertyInterface |
protected ExtensionManagerInterface,Sulu\Component\Content\Extension $extensionManager | ||
return | Sulu\Component\Content\Extension\ExtensionManagerInterface |