[solved] Helper Page Calling Other Helpers - 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] Helper Page Calling Other Helpers (/showthread.php?tid=46650) |
[solved] Helper Page Calling Other Helpers - El Forum - 11-09-2011 [eluser]Unknown[/eluser] I have been using CI since Sunday, but I have read a lot up on it. Yet for the life of me I cannot figure this out. I have a helper page for functions I use a lot. One of them is called sanitize, the idea is you send an array for DB results and it converts the date to human readable, converts one of my fields into a url by adding dashes etc. In that function I want to call another function located in the same helper page....but it will not let me. Code: // Sanitizes result array to make it human readable and returns it See the url_title(getGenre{$row['genre']), 'dash', TRUE)? I am trying to use the result from the function getGenre and then create a url out of it. I know its not the double function call. The date manipulation I am doing was also a function that I moved as well. |