PHP Interface Sulu\Component\SmartContent\Configuration\ProviderConfigurationInterface

Exibir arquivo Open project: sulu/sulu

Public Methods

Method Description
getDatasource ( ) : null | Sulu\Component\SmartContent\Configuration\ComponentConfigurationInterface Returns configuration for datasource.
getDeepLink ( ) : string Returns deep-link template.
getSorting ( ) : PropertyParameter[] Returns items for sorting select.
hasCategories ( ) : boolean Returns TRUE if categories should be displayed.
hasDatasource ( ) : boolean Returns TRUE if datasource should be displayed.
hasLimit ( ) : boolean Returns TRUE if limit should be displayed.
hasPagination ( ) : boolean Indicates pagination is possible.
hasPresentAs ( ) : boolean Returns TRUE if present as should be displayed.
hasSorting ( ) : boolean Returns TRUE if sorting should be displayed.
hasTags ( ) : boolean Returns TRUE if tags should be displayed.

Method Details

getDatasource() public method

If NULL no datasource will be displayed.
public getDatasource ( ) : null | Sulu\Component\SmartContent\Configuration\ComponentConfigurationInterface
return null | Sulu\Component\SmartContent\Configuration\ComponentConfigurationInterface

getSorting() public method

Returns items for sorting select.
public getSorting ( ) : PropertyParameter[]
return Sulu\Component\Content\Compat\PropertyParameter[]

hasCategories() public method

Returns TRUE if categories should be displayed.
public hasCategories ( ) : boolean
return boolean

hasDatasource() public method

Configuration will be returned from 'getDatasource()'.
public hasDatasource ( ) : boolean
return boolean

hasLimit() public method

Returns TRUE if limit should be displayed.
public hasLimit ( ) : boolean
return boolean

hasPagination() public method

Indicates pagination is possible.
public hasPagination ( ) : boolean
return boolean

hasPresentAs() public method

Returns TRUE if present as should be displayed.
public hasPresentAs ( ) : boolean
return boolean

hasSorting() public method

Returns TRUE if sorting should be displayed.
public hasSorting ( ) : boolean
return boolean

hasTags() public method

Returns TRUE if tags should be displayed.
public hasTags ( ) : boolean
return boolean