DatabaseSchema: ezcDbSchemaValidator
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaValidator
|
ezcDbSchemaValidator validates schemas for correctness. [
source]
Method Summary
|
public static array(string) |
validate(
$schema )
Validates the ezcDbSchema object $schema with the recorded validator classes. |
Methods
validate
Validates the ezcDbSchema object $schema with the recorded validator classes.
This method loops over all the known validator classes and calls their validate() method with the $schema as argument. It returns an array containing validation errors as strings.
Parameters
Last updated: Thu, 01 Nov 2007