AS_ARRAY
AS_ARRAY
Constants to set individual row data type
Abstract record class
$rowGateway : \Pop\Db\Gateway\Row
Row gateway
$tableGateway : \Pop\Db\Gateway\Table
Table gateway
setTable(string $table) : \Pop\Db\Record\AbstractRecord
Set the table
string | $table |
setPrefix(string $prefix) : \Pop\Db\Record\AbstractRecord
Set the table prefix
string | $prefix |
setPrimaryKeys(array $keys) : \Pop\Db\Record\AbstractRecord
Set the primary keys
array | $keys |
addRelationship(integer $id, \Pop\Db\Record\AbstractRecord $row = null) : \Pop\Db\Record\AbstractRecord
Add eager relationship
integer | $id | |
\Pop\Db\Record\AbstractRecord | $row |
addWith(string $name, array $options = null) : \Pop\Db\Record\AbstractRecord
Set eager with
string | $name | |
array | $options |
getRowGateway() : \Pop\Db\Gateway\Row
Get the row gateway
getTableGateway() : \Pop\Db\Gateway\Table
Get the table gateway
getRows() : \Pop\Db\Record\Collection
Get the rows
rows() : \Pop\Db\Record\Collection
Get the rows (alias method)
setColumns(mixed $columns = null) : \Pop\Db\Record\AbstractRecord
Set all the table column values at once
mixed | $columns |
setRows(array $rows = null, string $resultAs = \Pop\Db\Record\AbstractRecord::AS_RECORD) : \Pop\Db\Record\AbstractRecord
Set all the table rows at once
array | $rows | |
string | $resultAs |