db_acl.php

Go to the documentation of this file.
00001 <?php
00002 /* SVN FILE: $Id: db_acl.php 7805 2008-10-30 17:30:26Z AD7six $ */
00003 /*DbAcl schema generated on: 2007-11-24 15:11:13 : 1195945453*/
00004 /**
00005  * This is Acl Schema file
00006  *
00007  * Use it to configure database for ACL
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 DbAcl
00032  *
00033  */
00034 class DbAclSchema extends CakeSchema {
00035 
00036     var $name = 'DbAcl';
00037 
00038     function before($event = array()) {
00039         return true;
00040     }
00041 
00042     function after($event = array()) {
00043     }
00044 
00045     var $acos = array(
00046             'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
00047             'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00048             'model' => array('type'=>'string', 'null' => true),
00049             'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00050             'alias' => array('type'=>'string', 'null' => true),
00051             'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00052             'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00053             'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
00054         );
00055 
00056     var $aros = array(
00057             'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
00058             'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00059             'model' => array('type'=>'string', 'null' => true),
00060             'foreign_key' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00061             'alias' => array('type'=>'string', 'null' => true),
00062             'lft' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00063             'rght' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10),
00064             'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
00065         );
00066 
00067     var $aros_acos = array(
00068             'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
00069             'aro_id' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'),
00070             'aco_id' => array('type'=>'integer', 'null' => false, 'length' => 10),
00071             '_create' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
00072             '_read' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
00073             '_update' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
00074             '_delete' => array('type'=>'string', 'null' => false, 'default' => '0', 'length' => 2),
00075             'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'ARO_ACO_KEY' => array('column' => array('aro_id', 'aco_id'), 'unique' => 1))
00076         );
00077 
00078 }
00079 ?>

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