package |
Default |
---|
__call( $method, $args)
__construct(\Core\Orm\TableGateway $table, mixed $primaryKey = null)
__get( $key) : mixed
mixed
__set( $key, $value) : $this
$this
_delete(string $query) : boolean
string
Query string
boolean
_getData(mixed $primaryKey) : mixed
mixed
mixed
_save(string $query, $params) : \Core\Orm\RowGateway|boolean
checkRelationship( $method) : mixed
mixed
delete() : boolean
boolean
parseRelationship(\Core\Orm\TableGateway $table, string $type, array $params) : \Core\Orm\RowGateway
string
Type of relationship (one, many, belongsTo)
array
Relationship definition
\Core\Orm\RowGateway
| bool
save() : $this
$this
| bool
setData(array $data)
array
Array with record data
_data :
table :
db :