PHP Class Sulu\Component\SmartContent\Configuration\Builder

Inheritance: implements Sulu\Component\SmartContent\Configuration\BuilderInterface
Exibir arquivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( )
create ( ) : Sulu\Component\SmartContent\Configuration\BuilderInterface Returns new builder instance.
enableCategories ( $enable = true )
enableDatasource ( $component, array $options = [] )
enableLimit ( $enable = true )
enablePagination ( $enable = true )
enablePresentAs ( $enable = true )
enableSorting ( array $sorting )
enableTags ( $enable = true )
getConfiguration ( )
setDeepLink ( $deepLink )

Method Details

__construct() public method

public __construct ( )

create() public static method

Returns new builder instance.
public static create ( ) : Sulu\Component\SmartContent\Configuration\BuilderInterface
return Sulu\Component\SmartContent\Configuration\BuilderInterface

enableCategories() public method

public enableCategories ( $enable = true )

enableDatasource() public method

public enableDatasource ( $component, array $options = [] )
$options array

enableLimit() public method

public enableLimit ( $enable = true )

enablePagination() public method

public enablePagination ( $enable = true )

enablePresentAs() public method

public enablePresentAs ( $enable = true )

enableSorting() public method

public enableSorting ( array $sorting )
$sorting array

enableTags() public method

public enableTags ( $enable = true )

getConfiguration() public method

public getConfiguration ( )