| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | public function build($query, $compiler) |
||
| 47 | { |
||
| 48 | $sql = 'MATCH('.$compiler->quoteIdentifier($query, $query->preprocessor()->field($this->search)).' AGAINST('.$compiler->quote($this->value).')'; |
||
| 49 | |||
| 50 | if ($this->booleanMode) { |
||
| 51 | $sql .= ' IN BOOLEAN MODE)'; |
||
| 52 | } else { |
||
| 53 | $sql .= ')'; |
||
| 54 | } |
||
| 55 | |||
| 56 | return $sql; |
||
| 57 | } |
||
| 59 |