CodeIgniter Forums
CI helper in helper - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: CI helper in helper (/showthread.php?tid=62629)



CI helper in helper - Marcel - 08-07-2015

Hi all
I use a custom helper to build a grid of articles each article has its own menu for (delete,report,hide etc...)
what is the best way to pass the language of these elements to my helper

?
in other words i need to access my language helper from within my custom helper

thanks for your help

what im doing at the moment is creating an array of the language entries and passing it as an variable to the helper function