-
Notifications
You must be signed in to change notification settings - Fork 20
Accountcontroller
wimmer edited this page Jan 17, 2013
·
4 revisions
This controller extends from the CustomController. The Controller is responsible to treat the data and pass it to the view. A controller is structured in following actions:
-
###function init() This function initializes the controller and sets the layout and title of the view.
-
###function indexAction() Redirects if no user is logged in
-
###function loginAction() Gets request params and it logges in the user
-
###function logoutAction() It logges out the user registered user
-
###function viewAction() It pass the data to the view to show all contents of the logged in user
-
###function settingsAction() Provides the data for all user settings