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

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

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

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:25 +0200 by phpDocumentor 1.4.2