Welcome Guest, Not a member yet? Register   Sign In
[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



Theme © iAndrew 2016 - Forum software by © MyBB