package Default
inherited_from \Zend\Db\TableGateway\Feature\AbstractFeature

 Methods

__call()

__call($method, $arguments) : mixed
Inherited

Parameters

$method

$arguments

Exceptions

\Zend\Db\TableGateway\Exception\InvalidArgumentException

Returns

mixed

__clone

__clone() 
Inherited

Constructor

__construct(\Zend\Db\Metadata\MetadataInterface $metadata = null

Parameters

$metadata

\Zend\Db\Metadata\MetadataInterface

__get

__get(string $property) : mixed
Inherited

Parameters

$property

string

Exceptions

\Zend\Db\TableGateway\Exception\InvalidArgumentException

Returns

mixed

__set()

__set(string $property, mixed $value) : mixed
Inherited

Parameters

$property

string

$value

mixed

Exceptions

\Zend\Db\TableGateway\Exception\InvalidArgumentException

Returns

mixed

Delete

delete(\Zend\Db\Sql\Where|\Closure|string|array $where) : integer
Inherited
inherited_from \Zend\Db\TableGateway\TableGatewayInterface::delete()

Parameters

$where

\Zend\Db\Sql\Where\Closurestringarray

Returns

integer

deleteWith()

deleteWith(\Zend\Db\Sql\Delete $delete) : mixed
Inherited

Parameters

$delete

\Zend\Db\Sql\Delete

Returns

mixed

Get adapter

getAdapter() : \Zend\Db\Adapter\AdapterInterface
Inherited

Returns

\Zend\Db\Adapter\AdapterInterface

getColumns()

getColumns() : array
Inherited

Returns

array

getFeatureSet()

getFeatureSet() : \Zend\Db\TableGateway\Feature\FeatureSet
Inherited

Returns

\Zend\Db\TableGateway\Feature\FeatureSet

Get last insert value

getLastInsertValue() : integer
Inherited

Returns

integer

getMagicMethodSpecifications()

getMagicMethodSpecifications() 
Inherited

getName()

getName() 
Inherited

Get select result prototype

getResultSetPrototype() : \Zend\Db\ResultSet\ResultSet
Inherited

Returns

\Zend\Db\ResultSet\ResultSet

getSql()

getSql() : \Zend\Db\Sql\Sql
Inherited

Returns

\Zend\Db\Sql\Sql

Get table name

getTable() : string
Inherited
inherited_from \Zend\Db\TableGateway\TableGatewayInterface::getTable()

Returns

string

Initialize

initialize() : null
Inherited

Exceptions

\Zend\Db\TableGateway\Exception\RuntimeException

Returns

null

Insert

insert(array $set) : integer
Inherited
inherited_from \Zend\Db\TableGateway\TableGatewayInterface::insert()

Parameters

$set

array

Returns

integer

insertWith()

insertWith(\Zend\Db\Sql\Insert $insert) : mixed
Inherited

Parameters

$insert

\Zend\Db\Sql\Insert

Returns

mixed

isInitialized()

isInitialized() : boolean
Inherited

Returns

boolean

postInitialize()

postInitialize() 

Select

select(\Zend\Db\Sql\Where|\Closure|string|array $where = null) : \Zend\Db\ResultSet\ResultSet
Inherited
inherited_from \Zend\Db\TableGateway\TableGatewayInterface::select()

Parameters

$where

\Zend\Db\Sql\Where\Closurestringarray

Returns

\Zend\Db\ResultSet\ResultSet

selectWith()

selectWith(\Zend\Db\Sql\Select $select) : null | \Zend\Db\ResultSet\ResultSetInterface
Inherited

Parameters

$select

\Zend\Db\Sql\Select

Exceptions

\RuntimeException

Returns

null\Zend\Db\ResultSet\ResultSetInterface

setTableGateway()

setTableGateway(\Zend\Db\TableGateway\AbstractTableGateway $tableGateway) 
Inherited

Parameters

$tableGateway

Update

update(array $set, string|array|\Closure $where = null) : integer
Inherited
inherited_from \Zend\Db\TableGateway\TableGatewayInterface::update()

Parameters

$set

array

$where

stringarray\Closure

Returns

integer

updateWith()

updateWith(\Zend\Db\Sql\Update $update) : mixed
Inherited

Parameters

$update

\Zend\Db\Sql\Update

Returns

mixed

executeDelete()

executeDelete(\Zend\Db\Sql\Delete $delete) : mixed
Inherited
todo add $columns support

Parameters

$delete

\Zend\Db\Sql\Delete

Exceptions

\Zend\Db\TableGateway\Exception\RuntimeException

Returns

mixed

executeInsert()

executeInsert(\Zend\Db\Sql\Insert $insert) : mixed
Inherited
todo add $columns support

Parameters

$insert

\Zend\Db\Sql\Insert

Exceptions

\Zend\Db\TableGateway\Exception\RuntimeException

Returns

mixed

executeSelect()

executeSelect(\Zend\Db\Sql\Select $select) : \Zend\Db\ResultSet\ResultSet
Inherited

Parameters

$select

\Zend\Db\Sql\Select

Exceptions

\Zend\Db\TableGateway\Exception\RuntimeException

Returns

\Zend\Db\ResultSet\ResultSet

executeUpdate()

executeUpdate(\Zend\Db\Sql\Update $update) : mixed
Inherited
todo add $columns support

Parameters

$update

\Zend\Db\Sql\Update

Exceptions

\Zend\Db\TableGateway\Exception\RuntimeException

Returns

mixed

 Properties

 

$adapter

$adapter : \Zend\Db\Adapter\AdapterInterface

Default

null
 

$columns

$columns : array

Default

array()
 

$featureSet

$featureSet : \Zend\Db\TableGateway\Feature\FeatureSet

Default

null
 

$isInitialized

$isInitialized : boolean

Default

false
 

$lastInsertValue

$lastInsertValue : integer

Default

null
   

$resultSetPrototype

$resultSetPrototype : \Zend\Db\ResultSet\ResultSetInterface

Default

null
 

$sharedData

$sharedData 

Default

array()
 

$sql

$sql : \Zend\Db\Sql\Sql

Default

null
 

$table

$table : string | array | \Zend\Db\Sql\TableIdentifier

Default

null
 

$tableGateway

$tableGateway : \Zend\Db\TableGateway\AbstractTableGateway

Default

null