Another "I did this in CodeIgniter" question: If I've got a function that I want to use all over my app, what's he best way to go about doing that? It really is only a couple of functions, so it isn't sophisticated like a package.
Hi all, although it isoldpost but if i call my test function from Helper class <?php Helper::test();?> in view, thne get error ErrorException [ Fatal Error ]: Class 'Helper' not found
A static class method, like Helper::test(), should always work, as long as the class is defined in the correct file. In this case, APPPATH.'classes/helper.php'.