Method |
Description |
|
__callStatic ( $method, $arguments ) : mixed |
Magic method for calling other Query methods |
|
__construct ( $row = [] ) |
Create a new instance of the record class |
|
__get ( $key ) : mixed |
Magic method for getting a item from the data array |
|
__set ( $key, $value ) |
Magic method for setting a item in the data array |
|
create ( $row ) : object |
Create a new instance of the record class for chaining |
|
delete ( ) : integer |
Delete the record from the database |
|
find ( $id ) : object |
Find a record by primary key and return a new Record object |
|
populate ( $row ) |
Set the data array |
|
save ( ) : integer |
Commit the data array to the database |
|
update ( $id, $row ) : integer |
Commit data array to database matching the primary key |
|