|Info||View files (0)||Download .zip||Reputation||Support forum||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|-||Not yet rated by the users||Total: 563||All time: 4,887 This week: 1,808|
|data-validator 1.0||GNU General Public Lice...||5.0||PHP 5, Validation|
This class can validate a set of values based on a list of rules.
It takes an array of values and a list of rules to validate the input values.
The rules list associate a rule expression to be evaluated and the associated error message if the rule is not verified.
The rule expression defines the name of the input variable to be verified and the type of rule it has to satisfy to be considered an error.
The class can consider validation of some values depending on whether other values are valid.
The actual validation rules are implemented by separate classes. Custom validation classes may be added to support new validation types.
|Unique User Downloads||Download Rankings|
|This week:||0||This week:||1,808|