I have seen many people referring to the usage of call_user_func() to debug the problems in a Grocery_CRUD callback, but unfortunately no one has come off with a complete example to actually how to use it like where to to place a call to the test function [just_a_test()] in the controller an example of what I am trying to discover is here.
I am unable to understand where do we call this
just_a_test(),- how are we able to pass on the desired parameters using
call_user_func(array($this,'insert_coupon_codes'));when there are no para's being passed to thejust_a_test()? - how come the
insert_coupon_codeswill be able to get the desired para's?