v 1.3.3 grocery CRUD - an automatic Codeigniter CRUD |
[eluser]web-johnny[/eluser]
[quote author="ReyPM" date="1303762049"]Okey fine but what about with showed at first run (when get data from DB)? callback_field (http://www.web-and-development.com/groce...back_field)? Can you post a example of this?[/quote] (The callback_field is for both add and edit field). I have it in the example is : callback_edit_field . You don't need callback_add_field because when you insert a code you don't have to decrypt it because ... its empty ;-). But if you still wanted you can do it like this: Code: $this->grocery_crud->callback_field('usuario',array($this,'username_decrypt')); Code: function username_decrypt($value = '' /* Just insert this line */) |
Welcome Guest, Not a member yet? Register Sign In |