TableAbstract

package

Default

Methods

__construct

__construct() 

Delete a row or rowset

_delete(array $where) : boolean

Arguments

$where

array

Where conditions array

Response

boolean

_fetch

_fetch(array $where = null, array $column = null,  $order = null,  $limit = null) 

Arguments

$where

array

$column

array

$order

$limit

_fetchAll

_fetchAll( $query,  $params) 

Arguments

$query

$params

_fetchRow

_fetchRow( $query,  $params) 

Arguments

$query

$params

_insert

_insert( $query,  $params) 

Arguments

$query

$params

_setTableColumns

_setTableColumns() 

Update a row or rowset

_update(array $data, array $where) : boolean

Arguments

$data

array

Data array

$where

array

Where conditions array

Response

boolean

getAdapter

getAdapter() 

getBelongsToRelationship

getBelongsToRelationship() 

getManyRelationship

getManyRelationship() 

getOneRelationship

getOneRelationship() 

getPrimaryKey

getPrimaryKey() 

getTableColumns

getTableColumns() 

getTableName

getTableName() 

Properties

db

db : 

Type(s)

_name

_name : 

Type(s)

_primary

_primary : 

Type(s)

_rowClass

_rowClass : 

Type(s)

_columns

_columns : 

Type(s)

_has_many

_has_many : 

Type(s)

_has_one

_has_one : 

Type(s)

_belongs_to

_belongs_to : 

Type(s)