Craft 3 Class Reference

Class craft\search\SearchQueryTermGroup

Inheritance
craft\search\SearchQueryTermGroup
Available since version
3.0
Source Code
https://github.com/craftcms/cms/blob/master/src/search/SearchQueryTermGroup.php

Search Query Term Group class Contains multiple SearchQueryTerm instances, each representing a term in the search query that was combined by "OR".

Public Properties
Property Type Description Defined By
$terms array, null craft\search\SearchQueryTermGroup
Public Methods
Method Description Defined By
__construct() Constructor craft\search\SearchQueryTermGroup

Property Details

$terms public property #

public array, null $terms null

Method Details

__construct() public method #

Constructor

public void __construct ( array $terms = [] )
$terms array