Zend\Db\RowGateway\AbstractRowGateway
Synopsis
class AbstractRowGateway
implements
ArrayAccess,Countable,RowGatewayInterface
{
- // members
- protected bool $isInitialized;
- protected string|TableIdentifier $table;
- protected array $primaryKeyColumn;
- protected array $primaryKeyData;
- protected array $data;
- protected Sql $sql;
- protected FeatureSet $featureSet;
- // methods
- public void initialize()
- public AbstractRowGateway populate()
- public array|void exchangeArray()
- public int save()
- public int delete()
- public bool offsetExists()
- public mixed offsetGet()
- public RowGateway offsetSet()
- public AbstractRowGateway offsetUnset()
- public int count()
- public array toArray()
- public mixed __get()
- public void __set()
- public bool __isset()
- public void __unset()
- public bool rowExistsInDatabase()
- protected void processPrimaryKeyData()
Hierarchy
Extended by
Implements
Tasks
Line | Task |
---|---|
214 | determine if we need to do a select to ensure 1 row will be affected |
Members
protected
- $data — array
- $featureSet — Zend\Db\RowGateway\Feature\FeatureSet
- $isInitialized — Zend\Db\RowGateway\bool
- $primaryKeyColumn — array
- $primaryKeyData — array
- $sql — Zend\Db\Sql\Sql
- $table — Zend\Db\RowGateway\string|TableIdentifier
Methods
protected
public
- __get() — __get
- __isset() — __isset
- __set() — __set
- __unset() — __unset
- count()
- delete() — Delete
- exchangeArray()
- initialize() — initialize()
- offsetExists() — Offset Exists
- offsetGet() — Offset get
- offsetSet() — Offset set
- offsetUnset() — Offset unset
- populate() — Populate Data
- rowExistsInDatabase()
- save() — Save
- toArray() — To array