PHP Interface eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\FilterInterface

Inheritance: extends Imagine\Filter\FilterInterface
Afficher le fichier Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Méthodes publiques

Méthode Description
getOption ( string $optionName, null | mixed $defaultValue = null ) : mixed Returns value for $optionName.
getOptions ( ) : array Returns all options.
hasOption ( string $optionName ) : boolean Checks if $optionName exists and has a value.
setOption ( string $optionName, mixed $value ) Sets $value for $optionName.
setOptions ( array $options ) Replaces inner options by $options.

Method Details

getOption() public méthode

Defaults to $defaultValue if $optionName doesn't exist.
public getOption ( string $optionName, null | mixed $defaultValue = null ) : mixed
$optionName string
$defaultValue null | mixed
Résultat mixed

getOptions() public méthode

Returns all options.
public getOptions ( ) : array
Résultat array

hasOption() public méthode

Checks if $optionName exists and has a value.
public hasOption ( string $optionName ) : boolean
$optionName string
Résultat boolean

setOption() public méthode

Sets $value for $optionName.
public setOption ( string $optionName, mixed $value )
$optionName string
$value mixed

setOptions() public méthode

Replaces inner options by $options.
public setOptions ( array $options )
$options array