unset_fields
void unset_fields( string $var [, string $var [, string $... ]] )
Quick Description: Unset fields from both add and edit form.
Available for version >= 1.2.1
Unset_fields is nothing more than a shorcut to unset_add_fields and unset_edit_fields
So for example if you have:
$crud->unset_fields('name','age');
$crud->unset_add_fields('name','age'); $crud->unset_edit_fields('name','age');
nothing more complicated than that.
You can also use the unset_fields with an array input so for example:
$crud->unset_fields(array('name','age'));
$crud->unset_fields('name','age');