Method |
Description |
|
__construct ( ) |
Class Constructor |
|
delete ( integer $row_id ) : boolean |
Delete a row identified by the primary key |
|
get ( integer $row_id ) : object |
Retrieve a row by the primary key |
|
get_by ( integer $column, integer $row_id ) : object |
Retrieve a row by a specific column / value |
|
get_column ( integer $column, integer $row_id ) : string |
Retrieve a specific column's value by the primary key |
|
get_column_by ( integer $column, string $column_where, string $column_value ) : string |
Retrieve a specific column's value by the the specified column / value |
|
get_column_defaults ( ) : array |
Default column values |
|
get_columns ( ) : array |
Whitelist of columns |
|
insert ( array $data, string $type = '' ) : integer |
Insert a new row |
|
installed ( ) : boolean |
Check if the table was ever installed |
|
table_exists ( string $table ) : boolean |
Check if the given table exists |
|
update ( integer $row_id, array $data = [], string $where = '' ) : boolean |
Update a row |
|