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

Public Member Functions

 __construct ($where, $page=null, $itemsPerPage=null, $orderBy=[])
 
 createWhere ($fields)
 
 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 FilterRaw.php.

Constructor & Destructor Documentation

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

Definition at line 18 of file FilterRaw.php.

Member Function Documentation

createWhere (   $fields)
Parameters
arrayof IField $fields
Returns
string

Implements IFilter.

Definition at line 27 of file FilterRaw.php.

getWhere ( )
Returns
string

Definition at line 41 of file FilterRaw.php.

setWhere (   $where)
Parameters
string$where

Definition at line 34 of file FilterRaw.php.

Field Documentation

$where
protected

Definition at line 10 of file FilterRaw.php.


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