DatabaseSchema: ezcDbSchemaAutoIncrementIndexValidator
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaAutoIncrementIndexValidator
|
ezcDbSchemaAutoIncrementIndexValidator validates field definition types. [
source]
Method Summary
|
public static array(string) |
validate(
$schema )
Validates if all the types used in the $schema are supported. |
Methods
validate
Validates if all the types used in the $schema are supported.
This method loops over all the fields in a table and checks whether the type that is used for each field is supported. It will return an array containing error strings for each non-supported type that it finds.
Parameters
Last updated: Mon, 17 Dec 2007