Path

ez components / documentation / api reference / 2008.2.3 / databaseschema


eZ Components 2008.2.3

DatabaseSchema: ezcDbSchemaAutoIncrementIndexValidator

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

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

array(string) validate( ezcDbSchema $schema )
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

Name Type Description
$schema ezcDbSchema  

Last updated: Mon, 11 May 2009