Class myLoginValidator

Description

Class for checking the name and password of an user to login

  • author: Diego Cebrián

Located in /apps/frontend/lib/myLoginValidator.class.php (line 10)

sfValidator
   |
   --myLoginValidator
Method Summary
boolean execute (string &$value, string &$error)
boolean initialize (unknown_type $context, [array $parameters = null])
Methods
execute (line 51)

Function that execute the validation with the parameters passed in initialize, except the value, that is passed here by the validation helper, and it's value is the value filled in the field form to check.
Value: nickname for the user.

  • access: public
boolean execute (string &$value, string &$error)
  • string &$value
  • string &$error
initialize (line 28)

Function to start the validation class.

The parameters array is composed of:

  • password: the password to verify
  • login_error: the error message to send the controler and inform the user

  • access: public
boolean initialize (unknown_type $context, [array $parameters = null])
  • unknown_type $context
  • array $parameters

Documentation generated on Sun, 22 Mar 2009 19:18:08 +0100 by phpDocumentor 1.4.2