\Fubber\DbTableSet

Represents a subset of data from a class that extends Table. Allows filtering of the data.

Summary

Methods
Properties
Constants
__construct()
parseWhereFromString()
join()
count()
field()
fields()
one()
column()
getIterator()
where()
order()
limit()
No public properties found
No constants found
_buildWheres()
_buildSql()
$_class
$_wheres
$_order
$_orderDesc
$_limit
$_offset
$_fields
$_joins
$_noLimit
$_cache
N/A
No private methods found
No private properties found
N/A

Properties

$_class

$_class : 

Type

$_wheres

$_wheres : 

Type

$_order

$_order : 

Type

$_orderDesc

$_orderDesc : 

Type

$_limit

$_limit : 

Type

$_offset

$_offset : 

Type

$_fields

$_fields : 

Type

$_joins

$_joins : 

Type

$_noLimit

$_noLimit : 

Type

$_cache

$_cache : 

Type

Methods

__construct()

__construct(  $class) 

Parameters

$class

parseWhereFromString()

parseWhereFromString(  $where) 

Parameters

$where

join()

join(  $joinSpec, array  $one, array  $two) 

$rows->join('SomeTable.userId=id AND SomeTable.groupId=?', array(12), array('createdDate' => 'joinedDate'))

Parameters

$joinSpec
array $one
array $two

count()

count() 

field()

field(  $field) 

Parameters

$field

fields()

fields(  $fields) 

Parameters

$fields

one()

one() 

column()

column(  $fieldName) 

Parameters

$fieldName

getIterator()

getIterator() 

where()

where(  $field,   $op,   $value) 

Parameters

$field
$op
$value

order()

order(  $field,   $desc = FALSE) 

Parameters

$field
$desc

limit()

limit(  $limit,   $offset) 

Parameters

$limit
$offset

_buildWheres()

_buildWheres(  $prefix = '') 

Parameters

$prefix

_buildSql()

_buildSql()