Hi
how can I destroy, or unset a grocery_crud object ?
Actually I use a variable named $reset, and if put to 1, I show $grocery_crud->output,
else, doesn't.
I change the $reset value to callback function, but the solution doesn't clear for me ...
so I'd like to control the $grocery_crud variable directly,
like:
<?php if(!isset($grocery_crud)) : ?> html code <?php else: echo $grocery_crud->output; ?> <?php endif; ?>
and for this I must destroy the object $grocery_crud, like:
$crud->__destroy()
I try to find some distructon in the library grocery_crud.php, but unfortunately :(
in the controller ... is it possible ?