protected function ftFilter($type)
    {
        if ($type === Column::TYPE_TEXT)
        {
            return array_map(function ($v) {
                return trim($v, '%');
            }, $this->searcher->query);
        }
        return $this->searcher->query;

    }
protected function ftFilter($type)
    {
        if ($type === Column::TYPE_TEXT)
        {
            return array_map(function ($v) {
                return trim($v, '%');
            }, $this->searcher->query);
        }
        return $this->searcher->query;

    }
protected function ftFilter ( $ type ) { if ( $ type === Column :: TYPE_TEXT ) { return array_map ( function ( $ v ) { return trim ( $ v , '%' ) ; } , $ this -> searcher -> query ) ; } return $ this -> searcher -> query ; }
Prepare query data to fulltext search

@param integer $type column type
@return array
Prepare query data to fulltext search