com\setasign\SetaFramework\Database\Table
Row Class Table Row
File: /SetaFramework/src/Database/Table/Row.php
Class hierarchy
Summary
Properties
$primaryKeyData
protected ?array Row::$primaryKeyData
Methods
__construct()
Constructor
Parameters
Exceptions
Throws \com\setasign\SetaFramework\Exception If a primary key is missing
__get()
Returns the value of the column $name
Parameters
- $name : string
Exceptions
Throws \InvalidArgumentException If column is unknown.
__set()
Sets the column $name on the value $value
Parameters
- $name : string
- $value : mixed
Exceptions
Throws \InvalidArgumentException If column is unknown.
getInitial()
Return the initial data of the row
Parameters
- $name : string
ColumnName or AliasName
Exceptions
Throws \InvalidArgumentException
processPrimaryKeyData()
Gets the data for the primary key from its $data
Exceptions
Throws \com\setasign\SetaFramework\Exception If a primary key is missing
save()
Saves the row object.
Exceptions
Throws \com\setasign\SetaFramework\Exception If a primary key is missing
