Class mySelfPasswordValidator

Description

Check the correct password from an usser, but it does not make login

  • author: Diego Cebrián

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

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

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

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

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