function mailer($user_mail) {
// bla bla bla...
$this->crud->callback_after_insert(array($this,'_send_mails'));
}
function _send_mails($post_array,$primary_key,$user_mail) {
// bla bla bla...
}
Something like this. Or if i set the variable as $this->user_mail = $user_mail; can i access it from callback function?
Thanks in advance...