Class for compare two dates , one from a form and other from a database, and verify if them follows the condition passed
Located in /apps/frontend/lib/myDbDateCompareValidator.php (line 18)
sfValidator | --myDbDateCompareValidator
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
Function to start the validation class.
The parameters array is composed of (+ are mandatory, * one of this is mandatory):
The date passed by $value is searched in the table 'class_name'.
The table must have a colum called 'column_filter', and the validator only will compare with the fields that have in this column 'column_value'.
To get the true answer (and can execute without error) there must not be any field of the column * 'column' that can be find using the search_type.
Documentation generated on Tue, 31 Mar 2009 19:03:25 +0200 by phpDocumentor 1.4.2