Class myDateValidator

Description

Class for checking that a date is valid for a localized environment

Located in /apps/frontend/lib/myDateValidator.php (line 7)

sfValidator
   |
   --myDateValidator
Method Summary
boolean execute (string &$value, string &$error)
unknown initialize (unknown_type $context, [unknown_type $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 26)

Function to star the validation class.

The parameters array is composed of:

  • date_error: The string that will be shown when the date is not valid

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

Documentation generated on Sat, 21 Mar 2009 21:21:01 +0100 by phpDocumentor 1.4.2