Bouncy Melons 0.2
declarative style orm
FilterRaw.php
Go to the documentation of this file.
1 <?php
2 
3 namespace bm;
4 
5 class FilterRaw extends FilterAll {
6 
10  protected $where;
11 
18  public function __construct($where, $page = null, $itemsPerPage = null, $orderBy = []) {
19  parent::__construct($page, $itemsPerPage, $orderBy);
20  $this->setWhere($where);
21  }
22 
27  public function createWhere($fields) {
28  return $this->getWhere();
29  }
30 
34  public function setWhere($where) {
35  $this->where = $where;
36  }
37 
41  public function getWhere() {
42  return $this->where;
43  }
44 }
__construct($where, $page=null, $itemsPerPage=null, $orderBy=[])
Definition: FilterRaw.php:18
setWhere($where)
Definition: FilterRaw.php:34
createWhere($fields)
Definition: FilterRaw.php:27