Welcome Guest, Not a member yet? Register   Sign In
Call methods from other controller
#1

[eluser]rochellecanale[/eluser]
hey guys just want to ask how can i call the function in other controller?
Example: i have a homepage controller and user controller.
My problem is in my homepage controller there i put all my function layouts. and in my user controller there is my function in controlling user data where to go and validate them.
My default controller is my homepage so every time the page load it shows only the login and create membeship. my login view is connected to my user controller that handles the validation, etc.... and if you passed the validation and the function that determine whether your a member or not. the page will automatically redirected to my home function which is in the homepage controller.

Help me guys.. Thanks!!!




Theme © iAndrew 2016 - Forum software by © MyBB