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 16)

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

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 33)

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 Tue, 31 Mar 2009 19:03:26 +0200 by phpDocumentor 1.4.2