• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
access helper function inside controller

#3
[eluser]rogierb[/eluser]
$this-> (the CI superobject)does not exists in a helper or in a library.

Read the user guide and you will understand why.
A tip: you have to use get_instance()


Messages In This Thread
access helper function inside controller - by El Forum - 12-14-2009, 04:15 AM
access helper function inside controller - by El Forum - 12-14-2009, 04:25 AM
access helper function inside controller - by El Forum - 12-14-2009, 04:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.