Welcome Guest, Not a member yet? Register   Sign In
sample math function, where to store?
#1

[eluser]jtan[/eluser]
where would you store simple math function? is it best to use controller or just use model so the function won't be accessible via URL?
#2

[eluser]CroNiX[/eluser]
I'd create a helper for it, unless it is something that will only be used in a single place.

You can make methods private in the controller so they aren't accessible via the url. That's in the docs.




Theme © iAndrew 2016 - Forum software by © MyBB