PHP Class Smile\ElasticsuiteCore\Helper\Autocomplete

Author: Romain Ruaud ([email protected])
Inheritance: extends AbstractConfiguration
Show file Open project: smile-sa/elasticsuite Class Usage Examples

Public Methods

Method Description
getMaxSize ( string $type = null ) : integer Retrieve Max Size for a given type of autocomplete results

Protected Methods

Method Description
getConfigValue ( string $key ) : mixed Retrieve a configuration value by its key

Method Details

getConfigValue() protected method

Retrieve a configuration value by its key
protected getConfigValue ( string $key ) : mixed
$key string The configuration key
return mixed

getMaxSize() public method

Retrieve Max Size for a given type of autocomplete results
public getMaxSize ( string $type = null ) : integer
$type string The type of autocomplete element
return integer