Zend\Db\TableGateway\Feature\EventFeature
Synopsis
class EventFeature
extends AbstractFeature
implements
EventsCapableInterface
{
- // members
- protected EventManagerInterface $eventManager;
- protected null $event;
- // Inherited members from AbstractFeature
- protected AbstractTableGateway $tableGateway;
- protected array $sharedData;
- // Inherited members from AbstractTableGateway
- protected bool $isInitialized;
- protected AdapterInterface $adapter;
- protected string $table;
- protected array $columns;
- protected FeatureSet $featureSet;
- protected ResultSetInterface $resultSetPrototype;
- protected Sql $sql;
- protected int $lastInsertValue;
- // methods
- public void __construct()
- public EventManagerInterface getEventManager()
- public TableGatewayEvent getEvent()
- public void preInitialize()
- public void postInitialize()
- public void preSelect()
- public void postSelect()
- public void preInsert()
- public void postInsert()
- public void preUpdate()
- public void postUpdate()
- public void preDelete()
- public void postDelete()
- // Inherited methods from AbstractFeature
- public void getName()
- public void setTableGateway()
- public void initialize()
- public void getMagicMethodSpecifications()
- // Inherited methods from AbstractTableGateway
- public bool isInitialized()
- public null initialize()
- public string getTable()
- public AdapterInterface getAdapter()
- public array getColumns()
- public FeatureSet getFeatureSet()
- public ResultSet getResultSetPrototype()
- public Sql getSql()
- public ResultSet select()
- public null|ResultSetInterface selectWith()
- protected ResultSet executeSelect()
- public int insert()
- public mixed insertWith()
- protected mixed executeInsert()
- public int update()
- public mixed updateWith()
- protected mixed executeUpdate()
- public int delete()
- public mixed deleteWith()
- protected mixed executeDelete()
- public int getLastInsertValue()
- public mixed __get()
- public mixed __set()
- public mixed __call()
- public void __clone()
Hierarchy
Extends
Implements
Tasks
Line | Task |
---|---|
280+ | add $columns support |
340+ | add $columns support |
396+ | add $columns support |
Members
protected
- $adapter — Zend\Db\Adapter\AdapterInterface
- $columns — array
- $event — Zend\Db\TableGateway\Feature\null
- $eventManager — Zend\EventManager\EventManagerInterface
- $featureSet — Zend\Db\TableGateway\Feature\FeatureSet
- $isInitialized — Zend\Db\TableGateway\bool
- $lastInsertValue — int
- $resultSetPrototype — Zend\Db\ResultSet\ResultSetInterface
- $sql — Zend\Db\Sql\Sql
- $table — string
- $tableGateway — Zend\Db\TableGateway\AbstractTableGateway
Methods
public
- __construct()
- getEvent() — Retrieve composed event instance
- getEventManager() — Retrieve composed event manager instance
- postDelete() — Trigger the "postDelete" event
- postInitialize() — Trigger the "postInitialize" event
- postInsert() — Trigger the "postInsert" event
- postSelect() — Trigger the "postSelect" event
- postUpdate() — Trigger the "postUpdate" event
- preDelete() — Trigger the "preDelete" event
- preInitialize() — Initialize feature and trigger "preInitialize" event
- preInsert() — Trigger the "preInsert" event
- preSelect() — Trigger the "preSelect" event
- preUpdate() — Trigger the "preUpdate" event
Inherited from Zend\Db\TableGateway\Feature\AbstractFeature
public
Inherited from Zend\Db\TableGateway\AbstractTableGateway
protected
public
- __call()
- __clone() — __clone
- __get() — __get
- __set()
- delete() — Delete
- deleteWith()
- getAdapter() — Get adapter
- getColumns()
- getFeatureSet()
- getLastInsertValue() — Get last insert value
- getResultSetPrototype() — Get select result prototype
- getSql()
- getTable() — Get table name
- initialize() — Initialize
- insert() — Insert
- insertWith()
- isInitialized()
- select() — Select
- selectWith()
- update() — Update
- updateWith()