sample math function, where to store? |
[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?
[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. |
Welcome Guest, Not a member yet? Register Sign In |