DatabaseSchema: ezcDbSchemaIndexFieldsValidator
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDbSchemaIndexFieldsValidator
|
ezcDbSchemaIndexFieldsValidator validates whether fields used in indexes exist. [
source]
Method Summary
|
public static array(string) |
validate(
$schema )
Validates if all the fields used in all indexes exist. |
Methods
validate
Validates if all the fields used in all indexes exist.
This method loops over all the fields in the indexes of each table and checks whether the fields that is used in an index is also defined in the table definition. It will return an array containing error strings for each non-supported type that it finds.
Parameters
Last updated: Mon, 21 Dec 2009