System:Model:match

From Aspen Documentation

Adds a fulltext index match function

Since 1.0

Arguments

void match (string $search, [array $fields = false], [string $match = 'AND'])

search
Keyword that should be matched.
fields
An array of fields keyword should be matched against.
match
Connecting operator to previous where statement. Default is AND.

Returns

This function does not return any values.

Examples

Example:

$this->APP->model->match('keyword', array('title', 'body', 'subject'));