ZendDbSchema
Schema management for Zend Framework
 All Classes Namespaces Functions Pages
ZendDbSchema_Validate_Db_Schema_Table_Mysql_Index_Type Class Reference
Collaboration diagram for ZendDbSchema_Validate_Db_Schema_Table_Mysql_Index_Type:

List of all members.

Public Member Functions

 isValid ($value)

Public Attributes

const NAME_EMPTY = 'indexTypeEmpty'
const RENAME = 'indexTypeRename'
const INVALID = 'indexTypeInvalid'

Protected Attributes

 $_messageTemplates
 $_indexesTypes

Detailed Description

Definition at line 29 of file Type.php.


Member Function Documentation

ZendDbSchema_Validate_Db_Schema_Table_Mysql_Index_Type::isValid (   $value)

Check if option can be given value

Parameters:
string | ZendDbSchema_Db_Schema_Table_Index$value
Returns:
boolen

Definition at line 59 of file Type.php.


Member Data Documentation

ZendDbSchema_Validate_Db_Schema_Table_Mysql_Index_Type::$_indexesTypes
protected
Initial value:
array(
'FULLTEXT',
'UNIQUE'
)

Definition at line 48 of file Type.php.

ZendDbSchema_Validate_Db_Schema_Table_Mysql_Index_Type::$_messageTemplates
protected
Initial value:
array(
self::NAME_EMPTY => "Index type can not be empty",
self::INVALID => "Index type %value% is not a valid type",
self::RENAME => "Cannot change type of existing index"
)

Definition at line 39 of file Type.php.


The documentation for this class was generated from the following file: