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

Показать файл Открыть проект

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

Метод Описание
create ( )
enableCategories ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables categories.
enableDatasource ( string $component, array $options = [] ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables datasource.
enableLimit ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables limit.
enablePagination ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables pagination.
enablePresentAs ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables present as.
enableSorting ( array $sorting ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables categories.
enableTags ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Enables tags.
getConfiguration ( ) : Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface Returns build configuration.
setDeepLink ( string $deepLink ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Set deep-link.

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

create() публичный статический Метод

public static create ( )

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

Enables categories.
public enableCategories ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$enable boolean | true
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables datasource.
public enableDatasource ( string $component, array $options = [] ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$component string name of component
$options array options to initialized component
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables limit.
public enableLimit ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$enable boolean | true
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables pagination.
public enablePagination ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$enable boolean | true
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables present as.
public enablePresentAs ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$enable boolean | true
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables categories.
public enableSorting ( array $sorting ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$sorting array array of arrays with keys column and title (translation key)
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Enables tags.
public enableTags ( boolean | true $enable = true ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
$enable boolean | true
Результат Sulu\Component\SmartContent\Configuration\BuilderInterface

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

Returns build configuration.
public getConfiguration ( ) : Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface
Результат Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface