$table
$table : string
Class Docs_assignment_repo_docs_m - Model
Model for docs_assignment_users table.
read_table(array $items, array $or_like = array(), array $order = array(), integer $Pagesize, integer $Offset, true|false $count = FALSE, null|array $filter = NULL)
Return data for table of the crud.
Recive some params to make database query & return data
| array | $items | Contain columns names to get from database |
| array | $or_like | - |
| array | $order | Specifies data order, use a simple array using key for column & value for direction |
| integer | $Pagesize | Specifies the maximum number of rows to return |
| integer | $Offset | Specifies the offset of the first row to return |
| true|false | $count | |
| null|array | $filter | - |
_before_save(integer $id, array $data)
This callback runs before save of the crud.
The callback takes as a 1st parameter the primary key value and as 2nd the post array. With this opportunity you can add or unset some post variables.
| integer | $id | Primary key |
| array | $data | Array |
_before_update(integer $id, array $data)
This callback runs before the update of the crud.
The callback takes as a 1st parameter the primary key value and as 2nd the post array. With this opportunity you can add or unset some post variables.
| integer | $id | Primary key |
| array | $data | Array |