| 1 | <?php |
||
| 19 | class QueryBuilder |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Manganel instance |
||
| 24 | * @var Manganel |
||
| 25 | */ |
||
| 26 | private $manganel = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Annotated model |
||
| 30 | * @var AnnotatedInterface |
||
| 31 | */ |
||
| 32 | private $model; |
||
| 33 | |||
| 34 | 1 | public function __construct($model) |
|
| 39 | |||
| 40 | public function range($field, $start, $end = null) |
||
| 44 | |||
| 45 | 1 | public function search($q = null) |
|
| 61 | |||
| 62 | /** |
||
| 63 | * TODO Return true if search has hits |
||
| 64 | * @return boolean |
||
| 65 | * @throws Exception |
||
| 66 | */ |
||
| 67 | public function hasHits() |
||
| 72 | |||
| 73 | } |
||
| 74 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.