From e1e96e213acae3fccfa37529986a3fbc60a163f1 Mon Sep 17 00:00:00 2001 From: predominant Date: Sun, 4 Apr 2010 17:14:14 +1000 Subject: [PATCH] Changed public vars to use public keyword in app/ --- app/config/core.php | 4 ++-- app/config/database.php.default | 4 ++-- app/config/schema/db_acl.php | 8 ++++---- app/config/schema/i18n.php | 4 ++-- app/config/schema/sessions.php | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/config/core.php b/app/config/core.php index 66ca1b2d2..3a052a673 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -97,8 +97,8 @@ * Enable cache checking. * * If set to true, for view caching you must still use the controller - * var $cacheAction inside your controllers to define caching settings. - * You can either set it controller-wide by setting var $cacheAction = true, + * public $cacheAction inside your controllers to define caching settings. + * You can either set it controller-wide by setting public $cacheAction = true, * or in each action using $this->cacheAction = true. * */ diff --git a/app/config/database.php.default b/app/config/database.php.default index 8549025a6..cf9a6327c 100644 --- a/app/config/database.php.default +++ b/app/config/database.php.default @@ -73,7 +73,7 @@ */ class DATABASE_CONFIG { - var $default = array( + public $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', @@ -83,7 +83,7 @@ class DATABASE_CONFIG { 'prefix' => '', ); - var $test = array( + public $test = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', diff --git a/app/config/schema/db_acl.php b/app/config/schema/db_acl.php index 7fc92c3ed..6979d34c9 100644 --- a/app/config/schema/db_acl.php +++ b/app/config/schema/db_acl.php @@ -28,7 +28,7 @@ */ class DbAclSchema extends CakeSchema { - var $name = 'DbAcl'; + public $name = 'DbAcl'; function before($event = array()) { return true; @@ -37,7 +37,7 @@ class DbAclSchema extends CakeSchema { function after($event = array()) { } - var $acos = array( + public $acos = array( 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), 'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), 'model' => array('type'=>'string', 'null' => true), @@ -48,7 +48,7 @@ class DbAclSchema extends CakeSchema { 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) ); - var $aros = array( + public $aros = array( 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), 'parent_id' => array('type'=>'integer', 'null' => true, 'default' => NULL, 'length' => 10), 'model' => array('type'=>'string', 'null' => true), @@ -59,7 +59,7 @@ class DbAclSchema extends CakeSchema { 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) ); - var $aros_acos = array( + public $aros_acos = array( 'id' => array('type'=>'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'), 'aro_id' => array('type'=>'integer', 'null' => false, 'length' => 10, 'key' => 'index'), 'aco_id' => array('type'=>'integer', 'null' => false, 'length' => 10), diff --git a/app/config/schema/i18n.php b/app/config/schema/i18n.php index bcf133dec..dcd64bdd4 100644 --- a/app/config/schema/i18n.php +++ b/app/config/schema/i18n.php @@ -28,7 +28,7 @@ */ class i18nSchema extends CakeSchema { - var $name = 'i18n'; + public $name = 'i18n'; function before($event = array()) { return true; @@ -37,7 +37,7 @@ class i18nSchema extends CakeSchema { function after($event = array()) { } - var $i18n = array( + public $i18n = 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'), diff --git a/app/config/schema/sessions.php b/app/config/schema/sessions.php index a5a0952cf..dd7880fa8 100644 --- a/app/config/schema/sessions.php +++ b/app/config/schema/sessions.php @@ -28,7 +28,7 @@ */ class SessionsSchema extends CakeSchema { - var $name = 'Sessions'; + public $name = 'Sessions'; function before($event = array()) { return true; @@ -37,7 +37,7 @@ class SessionsSchema extends CakeSchema { function after($event = array()) { } - var $cake_sessions = array( + public $cake_sessions = array( 'id' => array('type'=>'string', 'null' => false, 'key' => 'primary'), 'data' => array('type'=>'text', 'null' => true, 'default' => NULL), 'expires' => array('type'=>'integer', 'null' => true, 'default' => NULL),