| 1 | <?php |
||
| 16 | class QueryBuilder |
||
| 17 | { |
||
| 18 | public $parameters = array(); |
||
| 19 | |||
| 20 | public $query = array(); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $name |
||
| 24 | * @param mixed $value |
||
| 25 | */ |
||
| 26 | public function setParameter($name, $value) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $query |
||
| 33 | */ |
||
| 34 | public function andWhere($query) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return QueryBuilder |
||
| 41 | */ |
||
| 42 | public function expr() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $name |
||
| 49 | * @param string $value |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function in($name, $value) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getRootAlias() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @param string $parameter |
||
| 73 | * @param string $alias |
||
| 74 | */ |
||
| 75 | public function leftJoin($parameter, $alias) |
||
| 79 | } |
||
| 80 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.