PHP Class Bolt\Storage\Query\Adapter\PostgresSearch

Show file Open project: bolt/bolt Class Usage Examples

Protected Properties

Property Type Description
$config
$contentType
$qb
$searchWords

Public Methods

Method Description
__construct ( Doctrine\DBAL\Query\QueryBuilder $qb, SearchConfig $config, array $searchWords )
getQuery ( )
getWeight ( $score )
setContentType ( $type )

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Query\QueryBuilder $qb, SearchConfig $config, array $searchWords )
$qb Doctrine\DBAL\Query\QueryBuilder
$config Bolt\Storage\Query\SearchConfig
$searchWords array

getQuery() public method

public getQuery ( )

getWeight() public method

public getWeight ( $score )

setContentType() public method

public setContentType ( $type )

Property Details

$config protected property

protected $config

$contentType protected property

protected $contentType

$qb protected property

protected $qb

$searchWords protected property

protected $searchWords