Bouncy Melons 0.2
declarative style orm
Public Member Functions | Protected Attributes
FilterComplex Class Reference
Inheritance diagram for FilterComplex:
FilterAll Filter IFilter FilterPermissive FilterStrict

Public Member Functions

 __construct ($where, $page=null, $itemsPerPage=null, $orderBy=[], $groupBy=[])
 
 setWhere ($where)
 
 getWhere ()
 
- Public Member Functions inherited from FilterAll
 __construct ($page=null, $itemsPerPage=null, $orderBy=[], $groupBy=[])
 
 createWhere ($fields)
 
- Public Member Functions inherited from Filter
 __constcruct ()
 
 setBm ($bm)
 
 getBm ()
 
 setPage ($page=null)
 
 getPage ()
 
 setItemsPerPage ($itemsPerPage=null)
 
 getItemsPerPage ()
 
 setOrderBy ($orderBy)
 
 setGroupBy ($groupBy)
 
 getDefaultItemsPerPage ()
 
 createLimit ()
 
 createOrderBy ($fields)
 
 createGroupBy ()
 

Protected Attributes

 $where
 
- Protected Attributes inherited from Filter
 $page
 
 $itemsPerPage
 
 $orderBy
 
 $groupBy
 

Additional Inherited Members

- Data Fields inherited from Filter
const DEFAULT_PAGE = 0
 
const DEFAULT_ITEMS_PER_PAGE = 50
 
const INFINITY = -1
 

Detailed Description

Definition at line 5 of file FilterComplex.php.

Constructor & Destructor Documentation

__construct (   $where,
  $page = null,
  $itemsPerPage = null,
  $orderBy = [],
  $groupBy = [] 
)
Parameters
array$wherewhere clause
int$page
int$itemsPerPage
arrayof IOrderByClause $orderBy
arrayof IGroupBy $groupBy

Definition at line 19 of file FilterComplex.php.

Member Function Documentation

getWhere ( )
Returns
array

Definition at line 34 of file FilterComplex.php.

setWhere (   $where)
Parameters
array$where

Definition at line 27 of file FilterComplex.php.

Field Documentation

$where
protected

Definition at line 10 of file FilterComplex.php.


The documentation for this class was generated from the following file: