Path

ez components / documentation / api reference / 2008.2.3 / databaseschema


eZ Components 2008.2.3

DatabaseSchema: ezcDbSchemaUniqueIndexNameValidator

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

Class: ezcDbSchemaUniqueIndexNameValidator

ezcDbSchemaUniqueIndexNameValidator checks for duplicate index names. [source]

Method Summary

public static array(string) validate( $schema )
Validates if all the index names used are unique accross the schema.

Methods

validate

array(string) validate( ezcDbSchema $schema )
Validates if all the index names used are unique accross the schema.
This method loops over all the indexes in all tables and checks whether they have been used before.

Parameters

Name Type Description
$schema ezcDbSchema  

Last updated: Mon, 11 May 2009