Class QueryString
Representation of a query string.
- ICanBoogie\Facets\QueryString implements IteratorAggregate uses ICanBoogie\Accessor\AccessorTrait (not available)
Methods summary
public
search( string $phrase
)
: ICanBoogie\Facets\QueryStringWord[]
|null
Search the phrase in the query string.
public
before( ICanBoogie\Facets\QueryStringWord
$word
)
: ICanBoogie\Facets\QueryStringWord
|null
Returns the word before the specified query string word, if any.
public
after( ICanBoogie\Facets\QueryStringWord
$word
)
: ICanBoogie\Facets\QueryStringWord
|null
Returns the word after the specified query string word, if any.
protected
get_matched( void )
: ICanBoogie\Facets\QueryStringWord[]
Returns the query string words that have a match.
protected
get_not_matched( void )
: ICanBoogie\Facets\QueryStringWord[]
Returns the query string words that do not have a match.
Properties summary
Magic properties
public read-only
$matched
: ICanBoogie\Facets\QueryStringWord[]
Query string words for which a match was found.
public read-only
$not_matched
: ICanBoogie\Facets\QueryStringWord[]
Query string words for which no match was found.
public read-only
$conditions
: array
An array of conditions suitable for Criterion::alter_query_with_conditions.