unset_operations
void unset_operations()
Quick Description: Unset all the operations . A user have access only to the grid.
Unset all the operations . A user cannot insert, update or delete from the CRUD. User has access only to the table grid.
Example:
function film_management_list() { $crud = new grocery_CRUD(); $crud->set_table('film'); $crud->set_theme('datatables'); $crud->unset_columns('description','special_features','last_update','actors','category'); $crud->unset_operations(); $output = $crud->render(); $this->_example_output($output); }
Note: The below example is an iframe so it might appeared with a scroll bar. If you like you can view the example
on a new tab