Class UserController

Description

Controller class for managing user actions.

  • author: Margus Sellin <margus@bitweb.ee>
  • copyright: Copyright (C) 2011. All rights reserved. Margus Sellin

Located in /controllers/UserController.php (line 10)

Zend_Controller_Action
   |
   --UserController
Method Summary
boolean authenticate (string $username, string $password)
void loginAction ()
void logoutAction ()
Methods
authenticate (line 50)

Authentication action.

Verifies whether the parameters given by the user are valid or not by checking their existance in database.

  • return: Authentication result
  • access: private
boolean authenticate (string $username, string $password)
  • string $username: User's username
  • string $password: User's password
loginAction (line 18)

Login action.

User inserts his/her username and password into form and based on their validity he/she is being logged in or informed with the error message.

  • access: public
void loginAction ()
logoutAction (line 79)

Logout action.

Logs out the current user by clearing his/her identity in Zend_Auth instance.

  • access: public
void logoutAction ()

Documentation generated on Tue, 14 Jun 2011 19:53:26 +0300 by phpDocumentor 1.4.1