PHP 인터페이스 Sulu\Component\SmartContent\Configuration\BuilderInterface

파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
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