i18nSchema Class Reference

Inheritance diagram for i18nSchema:

CakeSchema CakeSchema Object Object

List of all members.


Public Member Functions

 after ($event=array())
 after ($event=array())
 before ($event=array())
 before ($event=array())

Public Attributes

 $i18n
 $name = 'i18n'

Detailed Description

Definition at line 36 of file i18n.php.


Member Function Documentation

i18nSchema::after ( event = array()  ) 

After callback to be implemented in subclasses

Parameters:
array $events schema object properties public

Reimplemented from CakeSchema.

Definition at line 44 of file i18n.php.

i18nSchema::after ( event = array()  ) 

After callback to be implemented in subclasses

Parameters:
array $events schema object properties public

Reimplemented from CakeSchema.

Definition at line 44 of file i18n.php.

i18nSchema::before ( event = array()  ) 

Before callback to be implemented in subclasses

Parameters:
array $events schema object properties
Returns:
boolean Should process continue public

Reimplemented from CakeSchema.

Definition at line 40 of file i18n.php.

i18nSchema::before ( event = array()  ) 

Before callback to be implemented in subclasses

Parameters:
array $events schema object properties
Returns:
boolean Should process continue public

Reimplemented from CakeSchema.

Definition at line 40 of file i18n.php.


Member Data Documentation

i18nSchema::$i18n

Initial value:

 array(
            'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
            'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'),
            'model' => array('type'=>'string', 'null' => false, 'key' => 'index'),
            'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
            'field' => array('type'=>'string', 'null' => false, 'key' => 'index'),
            'content' => array('type'=>'text', 'null' => true, 'default' => NULL),
            'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'locale' => array('column' => 'locale', 'unique' => 0), 'model' => array('column' => 'model', 'unique' => 0), 'row_id' => array('column' => 'foreign_key', 'unique' => 0), 'field' => array('column' => 'field', 'unique' => 0))
        )

Definition at line 47 of file i18n.php.

i18nSchema::$name = 'i18n'

Reimplemented from CakeSchema.

Definition at line 38 of file i18n.php.


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