Class humhub\modules\search\libs\SearchHelper

Inheritancehumhub\modules\search\libs\SearchHelper » yii\base\BaseObject
Available since version1.2.3

SearchHelper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
matchQuery() Checks if given text matches a search query. humhub\modules\search\libs\SearchHelper
queueDelete() Queues search index delete of an active record humhub\modules\search\libs\SearchHelper
queueUpdate() Queues search index update of an active record humhub\modules\search\libs\SearchHelper

Method Details

matchQuery() public static method

Checks if given text matches a search query.

public static boolean matchQuery ( $query, $text )
$query string
$text string
queueDelete() public static method

Queues search index delete of an active record

public static boolean queueDelete ( \yii\db\ActiveRecord $record )
$record \yii\db\ActiveRecord
queueUpdate() public static method

Queues search index update of an active record

public static boolean queueUpdate ( \yii\db\ActiveRecord $record )
$record \yii\db\ActiveRecord