Zend Framework
3.0
|
Public Member Functions | |
__construct (AdapterInterface $slaveAdapter, Sql $slaveSql=null) | |
Constructor. | |
getSlaveAdapter () | |
getSlaveSql () | |
postInitialize () | |
after initialization, retrieve the original adapter as "master" | |
preSelect () | |
preSelect() Replace adapter with slave temporarily | |
postSelect () | |
postSelect() Ensure to return to the master adapter | |
Public Member Functions inherited from AbstractFeature | |
getName () | |
setTableGateway (AbstractTableGateway $tableGateway) | |
initialize () | |
getMagicMethodSpecifications () | |
Public Member Functions inherited from AbstractTableGateway | |
isInitialized () | |
initialize () | |
Initialize. | |
getTable () | |
Get table name. | |
getAdapter () | |
Get adapter. | |
getColumns () | |
getFeatureSet () | |
getResultSetPrototype () | |
Get select result prototype. | |
getSql () | |
select ($where=null) | |
Select. | |
selectWith (Select $select) | |
insert ($set) | |
Insert. | |
insertWith (Insert $insert) | |
update ($set, $where=null, array $joins=null) | |
Update. | |
updateWith (Update $update) | |
delete ($where) | |
Delete. | |
deleteWith (Delete $delete) | |
getLastInsertValue () | |
Get last insert value. | |
__get ($property) | |
__get | |
__set ($property, $value) | |
__call ($method, $arguments) | |
__clone () | |
__clone | |
Public Member Functions inherited from TableGatewayInterface | |
update ($set, $where=null) | |
Protected Attributes | |
$slaveAdapter = null | |
$masterSql = null | |
$slaveSql = null | |
Protected Attributes inherited from AbstractFeature | |
$tableGateway = null | |
$sharedData = [] | |
Protected Attributes inherited from AbstractTableGateway | |
$isInitialized = false | |
$adapter = null | |
$table = null | |
$columns = [] | |
$featureSet = null | |
$resultSetPrototype = null | |
$sql = null | |
$lastInsertValue = null | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractTableGateway | |
executeSelect (Select $select) | |
executeInsert (Insert $insert) | |
executeUpdate (Update $update) | |
executeDelete (Delete $delete) | |
__construct | ( | AdapterInterface | $slaveAdapter, |
Sql | $slaveSql = null |
||
) |
Constructor.
AdapterInterface | $slaveAdapter | |
Sql | null | $slaveSql |
getSlaveAdapter | ( | ) |
getSlaveSql | ( | ) |
postInitialize | ( | ) |
after initialization, retrieve the original adapter as "master"
postSelect | ( | ) |
postSelect() Ensure to return to the master adapter
preSelect | ( | ) |
preSelect() Replace adapter with slave temporarily
|
protected |
|
protected |
|
protected |