![]() |
[Solved] How to Use model Function In array_map callback? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [Solved] How to Use model Function In array_map callback? (/showthread.php?tid=49185) |
[Solved] How to Use model Function In array_map callback? - El Forum - 02-10-2012 [eluser]Iciclefeet[/eluser] Is there a way to Use Model Function in a array_map callback Example Model with Callback function Code: <?php Example Call Code: $Header=Array('Example 1'=>100, Warning Message array_map() expects parameter 1 to be a valid callback, function '$this->global_functions->Mysql_Header_BackTick' not found or invalid function name Thanks in advance. [Solved] How to Use model Function In array_map callback? - El Forum - 02-10-2012 [eluser]Kamarg[/eluser] Been a while but I think the below works. Code: $Header=Array('Example 1'=>100, [Solved] How to Use model Function In array_map callback? - El Forum - 02-10-2012 [eluser]Iciclefeet[/eluser] Thanks, Works... seems so obvious now. TGIF |