• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[resolved]Function in controller

#6
[eluser]xwero[/eluser]
You can solve this 3 ways.

- create a helper class with that function and autoload it.
benefits : you can use the function without class reference
- create a library with that function an autoload it
benefits : you can use it anywhere in your code
- add the function to your model and when you return the data you can do a first visual data manipulation using the function


Messages In This Thread
[resolved]Function in controller - by El Forum - 10-22-2007, 06:25 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 06:32 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 06:35 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 06:48 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 06:59 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 07:08 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 07:11 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 07:11 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 07:31 AM
[resolved]Function in controller - by El Forum - 10-22-2007, 08:06 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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