yii\sphinx\MatchBuilder::buildMatchColumn PHP Метод

buildMatchColumn() защищенный Метод

Created column as string for expression of MATCH
protected buildMatchColumn ( string $column, boolean $ignored = false ) : string
$column string column specification.
$ignored boolean whether column should be specified as 'ignored'.
Результат string the column statement.
    protected function buildMatchColumn($column, $ignored = false)
    {
        if (empty($column)) {
            return '';
        }
        if ($column === '*') {
            return '@*';
        }
        return '@' . ($ignored ? '!' : '') . (strpos($column, ',') === false ? $column : '(' . $column . ')');
    }