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