Class TableGateway

Summary

Fully Qualified Name: Zend\Db\TableGateway\TableGateway
Extends: AbstractTableGateway

Description

Methods

Name Description Defined By
__call() AbstractTableGateway
__clone() __clone AbstractTableGateway
__construct() Constructor TableGateway
__get() __get AbstractTableGateway
__set() AbstractTableGateway
delete() Delete AbstractTableGateway
deleteWith() AbstractTableGateway
getAdapter() Get adapter AbstractTableGateway
getColumns() AbstractTableGateway
getFeatureSet() AbstractTableGateway
getLastInsertValue() Get last insert value AbstractTableGateway
getResultSetPrototype() Get select result prototype AbstractTableGateway
getSql() AbstractTableGateway
getTable() Get table name AbstractTableGateway
initialize() Initialize AbstractTableGateway
insert() Insert AbstractTableGateway
insertWith() AbstractTableGateway
isInitialized() AbstractTableGateway
select() Select AbstractTableGateway
selectWith() AbstractTableGateway
update() Update AbstractTableGateway
updateWith() AbstractTableGateway

Method Details

__call()

Parameter Name Type Description
$arguments
$method
$arguments

Returns: mixed

__clone()

__clone

Returns:

__construct()

Constructor

Parameter Name Type Description
$table string|\TableIdentifier|array
$adapter \AdapterInterface
$features \Feature\AbstractFeature|\Feature\FeatureSet|\Feature\AbstractFeature[]|null
$resultSetPrototype \ResultSetInterface|null
$sql \Sql|null

Returns:

__get()

__get

Parameter Name Type Description
$property string

Returns: mixed

__set()

Parameter Name Type Description
$property string
$value mixed

Returns: mixed

delete()

Delete

Parameter Name Type Description
$where \Where|\Closure|string|array

Returns: int

deleteWith()

Parameter Name Type Description
$delete \Delete

Returns: int

getAdapter()

Get adapter

Returns: \AdapterInterface

getColumns()

Returns: array

getFeatureSet()

Returns: \Feature\FeatureSet

getLastInsertValue()

Get last insert value

Returns: int

getResultSetPrototype()

Get select result prototype

Returns: \ResultSetInterface

getSql()

Returns: \Sql

getTable()

Get table name

Returns: string

initialize()

Initialize

Returns: null

insert()

Insert

Parameter Name Type Description
$set array

Returns: int

insertWith()

Parameter Name Type Description
$insert \Insert

Returns: int

isInitialized()

Returns: bool

select()

Select

Parameter Name Type Description
$where \Where|\Closure|string|array

Returns: \ResultSetInterface

selectWith()

Parameter Name Type Description
$select \Select

Returns: \ResultSetInterface

update()

Update

Parameter Name Type Description
$set array
$where string|array|\Closure
$joins null|array

Returns: int

updateWith()

Parameter Name Type Description
$update \Zend\Db\Sql\Update

Returns: int

Top