Methods
__call()
__call($method, $arguments) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::__call() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::__call() |
Parameters
$method
$arguments
Exceptions
Returns
mixed
__clone
__clone()
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::__clone() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::__clone() |
Constructor
__construct(\Zend\Db\Adapter\AdapterInterface $slaveAdapter, \Zend\Db\Sql\Sql $slaveSql)
__get
__get(string $property) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::__get() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::__get() |
Parameters
$property
string
Exceptions
Returns
mixed
__set()
__set(string $property, mixed $value) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::__set() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::__set() |
Parameters
$property
string
$value
mixed
Exceptions
Returns
mixed
Delete
delete(\Zend\Db\Sql\Where | \Closure | string | array $where) : int
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::delete() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::delete() |
Parameters
Returns
int
deleteWith()
deleteWith(\Zend\Db\Sql\Delete $delete) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::deleteWith() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::deleteWith() |
Parameters
Returns
mixed
Get adapter
getAdapter() : \Zend\Db\Adapter\AdapterInterface
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getAdapter() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getAdapter() |
Returns
getColumns()
getColumns() : array
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getColumns() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getColumns() |
Returns
array
getFeatureSet()
getFeatureSet() : \Zend\Db\TableGateway\Feature\FeatureSet
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getFeatureSet() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getFeatureSet() |
Returns
Get last insert value
getLastInsertValue() : int
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getLastInsertValue() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getLastInsertValue() |
Returns
int
getMagicMethodSpecifications()
getMagicMethodSpecifications()
Inherited
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getMagicMethodSpecifications() |
getName()
getName()
Inherited
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getName() |
Get select result prototype
getResultSetPrototype() : \Zend\Db\ResultSet\ResultSet
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getResultSetPrototype() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getResultSetPrototype() |
Returns
getSlaveAdapter()
getSlaveAdapter()
getSql()
getSql() : \Zend\Db\Sql\Sql
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getSql() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getSql() |
Returns
Get table name
getTable() : string
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::getTable() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::getTable() |
Returns
string
Initialize
initialize() : null
Inherited
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::initialize() |
Exceptions
Returns
null
Insert
insert(array $set) : int
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::insert() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::insert() |
Parameters
$set
array
Returns
int
insertWith()
insertWith(\Zend\Db\Sql\Insert $insert) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::insertWith() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::insertWith() |
Parameters
Returns
mixed
isInitialized()
isInitialized() : bool
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::isInitialized() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::isInitialized() |
Returns
bool
after initialization, retrieve the original adapter as "master"
postInitialize()
postSelect()
Ensure to return to the master adapter
postSelect()
preSelect()
Replace adapter with slave temporarily
preSelect()
selectWith()
selectWith(\Zend\Db\Sql\Select $select) : null | \Zend\Db\ResultSet\ResultSetInterface
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::selectWith() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::selectWith() |
Parameters
Exceptions
Returns
setTableGateway()
setTableGateway(\Zend\Db\TableGateway\AbstractTableGateway $tableGateway)
Inherited
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::setTableGateway() |
Parameters
$tableGateway
Update
update(array $set, string | array | \Closure $where) : int
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::update() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::update() |
Parameters
$set
array
Returns
int
updateWith()
updateWith(\Zend\Db\Sql\Update $update) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::updateWith() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::updateWith() |
Parameters
Returns
mixed
executeDelete()
executeDelete(\Zend\Db\Sql\Delete $delete) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::executeDelete() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::executeDelete() |
Parameters
Exceptions
Returns
mixed
executeInsert()
executeInsert(\Zend\Db\Sql\Insert $insert) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::executeInsert() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::executeInsert() |
Parameters
Exceptions
Returns
mixed
executeSelect()
executeSelect(\Zend\Db\Sql\Select $select) : \Zend\Db\ResultSet\ResultSet
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::executeSelect() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::executeSelect() |
Parameters
Exceptions
Returns
executeUpdate()
executeUpdate(\Zend\Db\Sql\Update $update) : mixed
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::executeUpdate() |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::executeUpdate() |
Parameters
Exceptions
Returns
mixed
Properties
$adapter
$adapter : \Zend\Db\Adapter\AdapterInterface
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$adapter |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$adapter |
$columns
$columns : array
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$columns |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$columns |
$featureSet
$featureSet : \Zend\Db\TableGateway\Feature\FeatureSet
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$featureSet |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$featureSet |
$isInitialized
$isInitialized : bool
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$isInitialized |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$isInitialized |
$lastInsertValue
$lastInsertValue : int
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$lastInsertValue |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$lastInsertValue |
$resultSetPrototype
$resultSetPrototype : \Zend\Db\ResultSet\ResultSetInterface
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$resultSetPrototype |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$resultSetPrototype |
$sharedData
$sharedData
Inherited
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$sharedData |
$sql
$sql : \Zend\Db\Sql\Sql
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$sql |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$sql |
$table
$table : string | array | \Zend\Db\Sql\TableIdentifier
Inherited
inherited_from |
\Zend\Db\TableGateway\AbstractTableGateway::$$table |
inherited_from |
\Zend\Db\TableGateway\Feature\AbstractFeature::$$table |