dokeos
[ class tree: dokeos ] [ index: dokeos ] [ all elements ]

Class: HTML_QuickForm_Rule_Date

Source Location: /main/inc/lib/formvalidator/Rule/Date.php

Class Overview

HTML_QuickForm_Rule
   |
   --HTML_QuickForm_Rule_Date

QuickForm rule to check a date


Methods


Inherited Variables

Inherited Methods

Class: HTML_QuickForm_Rule

HTML_QuickForm_Rule::getValidationScript()
Returns the javascript test (the test should return true if the value is INVALID)
HTML_QuickForm_Rule::setName()
Sets the rule name
HTML_QuickForm_Rule::validate()
Validates a value

Class Details

[line 28]
QuickForm rule to check a date



[ Top ]


Class Methods


method validate [line 36]

boolean validate( array $date)

Function to check a date



Tags:

return:  True if date is valid
see:  HTML_QuickForm_Rule


Overrides HTML_QuickForm_Rule::validate() (Validates a value)

Parameters:

array   $date   An array with keys F (month), d (day) and Y (year)

[ Top ]


Documentation generated on Thu, 12 Jun 2008 13:18:08 -0500 by phpDocumentor 1.4.1