i18n.php

Go to the documentation of this file.
00001 <?php
00002 /* SVN FILE: $Id: i18n.php 7805 2008-10-30 17:30:26Z AD7six $ */
00003 /*i18n schema generated on: 2007-11-25 07:11:25 : 1196004805*/
00004 /**
00005  * This is i18n Schema file
00006  *
00007  * Use it to configure database for i18n
00008  *
00009  * PHP versions 4 and 5
00010  *
00011  * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
00012  * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
00013  *
00014  * Licensed under The MIT License
00015  * Redistributions of files must retain the above copyright notice.
00016  *
00017  * @filesource
00018  * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
00019  * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
00020  * @package       cake
00021  * @subpackage    cake.app.config.sql
00022  * @since         CakePHP(tm) v 0.2.9
00023  * @version       $Revision: 7805 $
00024  * @modifiedby    $LastChangedBy: AD7six $
00025  * @lastmodified  $Date: 2008-10-30 13:30:26 -0400 (Thu, 30 Oct 2008) $
00026  * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
00027  */
00028 /*
00029  *
00030  * Using the Schema command line utility
00031  * cake schema run create i18n
00032  *
00033  */
00034 class i18nSchema extends CakeSchema {
00035 
00036     var $name = 'i18n';
00037 
00038     function before($event = array()) {
00039         return true;
00040     }
00041 
00042     function after($event = array()) {
00043     }
00044 
00045     var $i18n = array(
00046             'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
00047             'locale' => array('type'=>'string', 'null' => false, 'length' => 6, 'key' => 'index'),
00048             'model' => array('type'=>'string', 'null' => false, 'key' => 'index'),
00049             'foreign_key' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
00050             'field' => array('type'=>'string', 'null' => false, 'key' => 'index'),
00051             'content' => array('type'=>'text', 'null' => true, 'default' => NULL),
00052             '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))
00053         );
00054 
00055 }
00056 ?>

Generated on Sun Nov 22 00:30:51 2009 for CakePHP 1.2.x.x (v1.2.4.8284) by doxygen 1.4.7