Changed all public 'var' declarations to be 'public $var'

This commit is contained in:
predominant 2010-04-04 17:14:00 +10:00
parent 4c93fc9e52
commit 850ca02bb6
306 changed files with 1728 additions and 1728 deletions

View file

@ -37,7 +37,7 @@ class ShellDispatcher {
* @var filehandle
* @access public
*/
var $stdin;
public $stdin;
/**
* Standard output stream.
@ -45,7 +45,7 @@ class ShellDispatcher {
* @var filehandle
* @access public
*/
var $stdout;
public $stdout;
/**
* Standard error stream.
@ -53,7 +53,7 @@ class ShellDispatcher {
* @var filehandle
* @access public
*/
var $stderr;
public $stderr;
/**
* Contains command switches parsed from the command line.
@ -61,7 +61,7 @@ class ShellDispatcher {
* @var array
* @access public
*/
var $params = array();
public $params = array();
/**
* Contains arguments parsed from the command line.
@ -69,7 +69,7 @@ class ShellDispatcher {
* @var array
* @access public
*/
var $args = array();
public $args = array();
/**
* The file name of the shell that was invoked.
@ -77,7 +77,7 @@ class ShellDispatcher {
* @var string
* @access public
*/
var $shell = null;
public $shell = null;
/**
* The class name of the shell that was invoked.
@ -85,7 +85,7 @@ class ShellDispatcher {
* @var string
* @access public
*/
var $shellClass = null;
public $shellClass = null;
/**
* The command called if public methods are available.
@ -93,7 +93,7 @@ class ShellDispatcher {
* @var string
* @access public
*/
var $shellCommand = null;
public $shellCommand = null;
/**
* The path locations of shells.
@ -101,7 +101,7 @@ class ShellDispatcher {
* @var array
* @access public
*/
var $shellPaths = array();
public $shellPaths = array();
/**
* The path to the current shell location.
@ -109,7 +109,7 @@ class ShellDispatcher {
* @var string
* @access public
*/
var $shellPath = null;
public $shellPath = null;
/**
* The name of the shell in camelized.
@ -117,7 +117,7 @@ class ShellDispatcher {
* @var string
* @access public
*/
var $shellName = null;
public $shellName = null;
/**
* Constructor

View file

@ -32,7 +32,7 @@ class ErrorHandler extends Object {
* @var filehandle
* @access public
*/
var $stdout;
public $stdout;
/**
* Standard error stream.
@ -40,7 +40,7 @@ class ErrorHandler extends Object {
* @var filehandle
* @access public
*/
var $stderr;
public $stderr;
/**
* Class constructor.

View file

@ -34,7 +34,7 @@ class AclShell extends Shell {
* @var AclComponent
* @access public
*/
var $Acl;
public $Acl;
/**
* Contains arguments parsed from the command line.
@ -42,7 +42,7 @@ class AclShell extends Shell {
* @var array
* @access public
*/
var $args;
public $args;
/**
* Contains database source to use
@ -50,7 +50,7 @@ class AclShell extends Shell {
* @var string
* @access public
*/
var $connection = 'default';
public $connection = 'default';
/**
* Contains tasks to load and instantiate
@ -58,7 +58,7 @@ class AclShell extends Shell {
* @var array
* @access public
*/
var $tasks = array('DbConfig');
public $tasks = array('DbConfig');
/**
* Override startup of the Shell

View file

@ -34,7 +34,7 @@ class ApiShell extends Shell {
* @var array
* @access public
*/
var $paths = array();
public $paths = array();
/**
* Override intialize of the Shell

View file

@ -37,7 +37,7 @@ class BakeShell extends Shell {
* @var array
* @access public
*/
var $tasks = array('Project', 'DbConfig', 'Model', 'Controller', 'View', 'Plugin', 'Fixture', 'Test');
public $tasks = array('Project', 'DbConfig', 'Model', 'Controller', 'View', 'Plugin', 'Fixture', 'Test');
/**
* Override loadTasks() to handle paths

View file

@ -30,7 +30,7 @@ class ConsoleShell extends Shell {
* @var array
* @access public
*/
var $associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany');
public $associations = array('hasOne', 'hasMany', 'belongsTo', 'hasAndBelongsToMany');
/**
* Chars that describe invalid commands
@ -38,7 +38,7 @@ class ConsoleShell extends Shell {
* @var array
* @access public
*/
var $badCommandChars = array('$', ';');
public $badCommandChars = array('$', ';');
/**
* Available models
@ -46,7 +46,7 @@ class ConsoleShell extends Shell {
* @var array
* @access public
*/
var $models = array();
public $models = array();
/**
* Override intialize of the Shell

View file

@ -32,7 +32,7 @@ class I18nShell extends Shell {
* @var string
* @access public
*/
var $dataSource = 'default';
public $dataSource = 'default';
/**
* Contains tasks to load and instantiate
@ -40,7 +40,7 @@ class I18nShell extends Shell {
* @var array
* @access public
*/
var $tasks = array('DbConfig', 'Extract');
public $tasks = array('DbConfig', 'Extract');
/**
* Override startup of the Shell

View file

@ -32,7 +32,7 @@ class Shell extends Object {
* @var ShellDispatcher
* @access public
*/
var $Dispatch = null;
public $Dispatch = null;
/**
* If true, the script will ask for permission to perform actions.
@ -40,7 +40,7 @@ class Shell extends Object {
* @var boolean
* @access public
*/
var $interactive = true;
public $interactive = true;
/**
* Holds the DATABASE_CONFIG object for the app. Null if database.php could not be found,
@ -49,7 +49,7 @@ class Shell extends Object {
* @var DATABASE_CONFIG
* @access public
*/
var $DbConfig = null;
public $DbConfig = null;
/**
* Contains command switches parsed from the command line.
@ -57,7 +57,7 @@ class Shell extends Object {
* @var array
* @access public
*/
var $params = array();
public $params = array();
/**
* Contains arguments parsed from the command line.
@ -65,7 +65,7 @@ class Shell extends Object {
* @var array
* @access public
*/
var $args = array();
public $args = array();
/**
* The file name of the shell that was invoked.
@ -73,7 +73,7 @@ class Shell extends Object {
* @var string
* @access public
*/
var $shell = null;
public $shell = null;
/**
* The class name of the shell that was invoked.
@ -81,7 +81,7 @@ class Shell extends Object {
* @var string
* @access public
*/
var $className = null;
public $className = null;
/**
* The command called if public methods are available.
@ -89,7 +89,7 @@ class Shell extends Object {
* @var string
* @access public
*/
var $command = null;
public $command = null;
/**
* The name of the shell in camelized.
@ -97,7 +97,7 @@ class Shell extends Object {
* @var string
* @access public
*/
var $name = null;
public $name = null;
/**
* An alias for the shell
@ -105,7 +105,7 @@ class Shell extends Object {
* @var string
* @access public
*/
var $alias = null;
public $alias = null;
/**
* Contains tasks to load and instantiate
@ -113,7 +113,7 @@ class Shell extends Object {
* @var array
* @access public
*/
var $tasks = array();
public $tasks = array();
/**
* Contains the loaded tasks
@ -121,7 +121,7 @@ class Shell extends Object {
* @var array
* @access public
*/
var $taskNames = array();
public $taskNames = array();
/**
* Contains models to load and instantiate
@ -129,7 +129,7 @@ class Shell extends Object {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* Constructs this Shell instance.
@ -224,10 +224,10 @@ class Shell extends Object {
}
/**
* if var $uses = true
* if public $uses = true
* Loads AppModel file and constructs AppModel class
* makes $this->AppModel available to subclasses
* if var $uses is an array of models will load those models
* if public $uses is an array of models will load those models
*
* @return bool
* @access protected
@ -265,7 +265,7 @@ class Shell extends Object {
}
/**
* Loads tasks defined in var $tasks
* Loads tasks defined in public $tasks
*
* @return bool
* @access public

View file

@ -25,7 +25,7 @@ class BakeTask extends Shell {
* @var string
* @access public
*/
var $plugin = null;
public $plugin = null;
/**
* The db connection being used for baking
@ -33,14 +33,14 @@ class BakeTask extends Shell {
* @var string
* @access public
*/
var $connection = null;
public $connection = null;
/**
* Flag for interactive mode
*
* @var boolean
*/
var $interactive = false;
public $interactive = false;
/**
* Gets the path for output. Checks the plugin property

View file

@ -34,7 +34,7 @@ class ControllerTask extends BakeTask {
* @var array
* @access public
*/
var $tasks = array('Model', 'Test', 'Template', 'DbConfig', 'Project');
public $tasks = array('Model', 'Test', 'Template', 'DbConfig', 'Project');
/**
* path to CONTROLLERS directory
@ -42,7 +42,7 @@ class ControllerTask extends BakeTask {
* @var array
* @access public
*/
var $path = CONTROLLERS;
public $path = CONTROLLERS;
/**
* Override initialize

View file

@ -32,7 +32,7 @@ class DbConfigTask extends Shell {
* @var string
* @access public
*/
var $path = null;
public $path = null;
/**
* Default configuration settings to use
@ -52,7 +52,7 @@ class DbConfigTask extends Shell {
*
* @var string
*/
var $databaseClassName = 'DATABASE_CONFIG';
public $databaseClassName = 'DATABASE_CONFIG';
/**
* initialization callback

View file

@ -32,7 +32,7 @@ class FixtureTask extends BakeTask {
* @var array
* @access public
*/
var $tasks = array('DbConfig', 'Model', 'Template');
public $tasks = array('DbConfig', 'Model', 'Template');
/**
* path to fixtures directory
@ -40,7 +40,7 @@ class FixtureTask extends BakeTask {
* @var string
* @access public
*/
var $path = null;
public $path = null;
/**
* Schema instance
@ -153,7 +153,7 @@ class FixtureTask extends BakeTask {
*
* @param string $model Name of model to bake.
* @param string $useTable Name of table to use.
* @param array $importOptions Options for var $import
* @param array $importOptions Options for public $import
* @return string Baked fixture content
* @access public
*/

View file

@ -34,7 +34,7 @@ class ModelTask extends BakeTask {
* @var string
* @access public
*/
var $path = MODELS;
public $path = MODELS;
/**
* tasks
@ -42,7 +42,7 @@ class ModelTask extends BakeTask {
* @var array
* @access public
*/
var $tasks = array('DbConfig', 'Fixture', 'Test', 'Template');
public $tasks = array('DbConfig', 'Fixture', 'Test', 'Template');
/**
* Tables to skip when running all()
@ -50,7 +50,7 @@ class ModelTask extends BakeTask {
* @var array
* @access protected
*/
var $skipTables = array('i18n');
public $skipTables = array('i18n');
/**
* Holds tables found on connection.

View file

@ -30,7 +30,7 @@ class PluginTask extends Shell {
* Tasks
*
*/
var $tasks = array('Model', 'Controller', 'View');
public $tasks = array('Model', 'Controller', 'View');
/**
* path to CONTROLLERS directory
@ -38,7 +38,7 @@ class PluginTask extends Shell {
* @var array
* @access public
*/
var $path = null;
public $path = null;
/**
* initialize

View file

@ -31,7 +31,7 @@ class ProjectTask extends Shell {
*
* @var string
*/
var $configPath = null;
public $configPath = null;
/**
* Checks that given project path does not already exist, and

View file

@ -24,7 +24,7 @@ class TemplateTask extends Shell {
*
* @var array
*/
var $templateVars = array();
public $templateVars = array();
/**
* Paths to look for templates on.
@ -32,7 +32,7 @@ class TemplateTask extends Shell {
*
* @var array
*/
var $templatePaths = array();
public $templatePaths = array();
/**
* Initialize callback. Setup paths for the template task.

View file

@ -34,7 +34,7 @@ class TestTask extends BakeTask {
* @var string
* @access public
*/
var $path = TESTS;
public $path = TESTS;
/**
* Tasks used.
@ -42,7 +42,7 @@ class TestTask extends BakeTask {
* @var array
* @access public
*/
var $tasks = array('Template');
public $tasks = array('Template');
/**
* class types that methods can be generated for
@ -50,7 +50,7 @@ class TestTask extends BakeTask {
* @var array
* @access public
*/
var $classTypes = array('Model', 'Controller', 'Component', 'Behavior', 'Helper');
public $classTypes = array('Model', 'Controller', 'Component', 'Behavior', 'Helper');
/**
* Internal list of fixtures that have been added so far.

View file

@ -34,7 +34,7 @@ class ViewTask extends BakeTask {
* @var array
* @access public
*/
var $tasks = array('Project', 'Controller', 'DbConfig', 'Template');
public $tasks = array('Project', 'Controller', 'DbConfig', 'Template');
/**
* path to VIEWS directory
@ -42,7 +42,7 @@ class ViewTask extends BakeTask {
* @var array
* @access public
*/
var $path = VIEWS;
public $path = VIEWS;
/**
* Name of the controller being used
@ -50,7 +50,7 @@ class ViewTask extends BakeTask {
* @var string
* @access public
*/
var $controllerName = null;
public $controllerName = null;
/**
* Path to controller to put views
@ -58,7 +58,7 @@ class ViewTask extends BakeTask {
* @var string
* @access public
*/
var $controllerPath = null;
public $controllerPath = null;
/**
* The template file to use
@ -66,7 +66,7 @@ class ViewTask extends BakeTask {
* @var string
* @access public
*/
var $template = null;
public $template = null;
/**
* Actions to use for scaffolding
@ -74,7 +74,7 @@ class ViewTask extends BakeTask {
* @var array
* @access public
*/
var $scaffoldActions = array('index', 'view', 'add', 'edit');
public $scaffoldActions = array('index', 'view', 'add', 'edit');
/**
* An array of action names that don't require templates. These
@ -83,7 +83,7 @@ class ViewTask extends BakeTask {
* @var array
* @access public
*/
var $noTemplateActions = array('delete');
public $noTemplateActions = array('delete');
/**
* Override initialize

View file

@ -27,7 +27,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $category = '';
public $category = '';
/**
* "group", "case" or "all"
@ -35,7 +35,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $type = '';
public $type = '';
/**
* Path to the test case/group file
@ -43,7 +43,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $file = '';
public $file = '';
/**
* Storage for plugins that have tests
@ -51,7 +51,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $plugins = array();
public $plugins = array();
/**
* Convenience variable to avoid duplicated code
@ -59,7 +59,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $isPluginTest = false;
public $isPluginTest = false;
/**
* Stores if the user wishes to get a code coverage analysis report
@ -67,7 +67,7 @@ class TestSuiteShell extends Shell {
* @var string
* @access public
*/
var $doCoverage = false;
public $doCoverage = false;
/**
* Initialization method installs Simpletest and loads all plugins

View file

@ -106,8 +106,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.
*
*/

View file

@ -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',

View file

@ -30,7 +30,7 @@
*/
class DbAclSchema extends CakeSchema {
var $name = 'DbAcl';
public $name = 'DbAcl';
function before($event = array()) {
return true;
@ -39,7 +39,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),
@ -50,7 +50,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),
@ -61,7 +61,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),

View file

@ -30,7 +30,7 @@
*/
class i18nSchema extends CakeSchema {
var $name = 'i18n';
public $name = 'i18n';
function before($event = array()) {
return true;
@ -39,7 +39,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'),

View file

@ -30,7 +30,7 @@
*/
class SessionsSchema extends CakeSchema {
var $name = 'Sessions';
public $name = 'Sessions';
function before($event = array()) {
return true;
@ -39,7 +39,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),

View file

@ -43,7 +43,7 @@ class Dispatcher extends Object {
* @var string
* @access public
*/
var $base = false;
public $base = false;
/**
* webroot path
@ -51,7 +51,7 @@ class Dispatcher extends Object {
* @var string
* @access public
*/
var $webroot = '/';
public $webroot = '/';
/**
* Current URL
@ -59,7 +59,7 @@ class Dispatcher extends Object {
* @var string
* @access public
*/
var $here = false;
public $here = false;
/**
* the params for this request
@ -67,7 +67,7 @@ class Dispatcher extends Object {
* @var string
* @access public
*/
var $params = null;
public $params = null;
/**
* Constructor.

View file

@ -549,7 +549,7 @@ class CacheEngine {
* @var int
* @access public
*/
var $settings = array();
public $settings = array();
/**
* Initialize the cache engine

View file

@ -51,7 +51,7 @@ class FileEngine extends CacheEngine {
* @see CacheEngine::__defaults
* @access public
*/
var $settings = array();
public $settings = array();
/**
* True unless FileEngine::__active(); fails

View file

@ -45,7 +45,7 @@ class MemcacheEngine extends CacheEngine {
* @var array
* @access public
*/
var $settings = array();
public $settings = array();
/**
* Initialize the Cache Engine

View file

@ -36,7 +36,7 @@ class XcacheEngine extends CacheEngine {
* @var array
* @access public
*/
var $settings = array();
public $settings = array();
/**
* Initialize the Cache Engine

View file

@ -40,7 +40,7 @@ class CakeSession extends Object {
* @var boolean
* @access public
*/
var $valid = false;
public $valid = false;
/**
* Error messages for this session
@ -48,7 +48,7 @@ class CakeSession extends Object {
* @var array
* @access public
*/
var $error = false;
public $error = false;
/**
* User agent string
@ -64,7 +64,7 @@ class CakeSession extends Object {
* @var string
* @access public
*/
var $path = '/';
public $path = '/';
/**
* Error number of last occurred error
@ -72,7 +72,7 @@ class CakeSession extends Object {
* @var integer
* @access public
*/
var $lastError = null;
public $lastError = null;
/**
* 'Security.level' setting, "high", "medium", or "low".
@ -80,7 +80,7 @@ class CakeSession extends Object {
* @var string
* @access public
*/
var $security = null;
public $security = null;
/**
* Start time for this session.
@ -88,7 +88,7 @@ class CakeSession extends Object {
* @var integer
* @access public
*/
var $time = false;
public $time = false;
/**
* Time when this session becomes invalid.
@ -96,7 +96,7 @@ class CakeSession extends Object {
* @var integer
* @access public
*/
var $sessionTime = false;
public $sessionTime = false;
/**
* Keeps track of keys to watch for writes on
@ -104,7 +104,7 @@ class CakeSession extends Object {
* @var array
* @access public
*/
var $watchKeys = array();
public $watchKeys = array();
/**
* Current Session id
@ -112,7 +112,7 @@ class CakeSession extends Object {
* @var string
* @access public
*/
var $id = null;
public $id = null;
/**
* Session Started
@ -128,7 +128,7 @@ class CakeSession extends Object {
* @var string
* @access public
*/
var $host = null;
public $host = null;
/**
* Constructor.

View file

@ -35,7 +35,7 @@ class CakeSocket extends Object {
* @var string
* @access public
*/
var $description = 'Remote DataSource Network Socket Interface';
public $description = 'Remote DataSource Network Socket Interface';
/**
* Base configuration settings for the socket connection
@ -57,7 +57,7 @@ class CakeSocket extends Object {
* @var array
* @access public
*/
var $config = array();
public $config = array();
/**
* Reference to socket connection resource
@ -65,7 +65,7 @@ class CakeSocket extends Object {
* @var resource
* @access public
*/
var $connection = null;
public $connection = null;
/**
* This boolean contains the current state of the CakeSocket class
@ -73,7 +73,7 @@ class CakeSocket extends Object {
* @var boolean
* @access public
*/
var $connected = false;
public $connected = false;
/**
* This variable contains an array with the last error number (num) and string (str)
@ -81,7 +81,7 @@ class CakeSocket extends Object {
* @var array
* @access public
*/
var $lastError = array();
public $lastError = array();
/**
* Constructor.

View file

@ -34,7 +34,7 @@ class Configure extends Object {
* @var integer
* @access public
*/
var $debug = 0;
public $debug = 0;
/**
* Returns a singleton instance of the Configure class.
@ -452,7 +452,7 @@ class App extends Object {
* @var array
* @access public
*/
var $types = array(
public $types = array(
'class' => array('suffix' => '.php', 'extends' => null, 'core' => true),
'file' => array('suffix' => '.php', 'extends' => null, 'core' => true),
'model' => array('suffix' => '.php', 'extends' => 'AppModel', 'core' => false),
@ -473,7 +473,7 @@ class App extends Object {
* @var array
* @access public
*/
var $models = array();
public $models = array();
/**
* List of additional path(s) where behavior files reside.
@ -481,7 +481,7 @@ class App extends Object {
* @var array
* @access public
*/
var $behaviors = array();
public $behaviors = array();
/**
* List of additional path(s) where controller files reside.
@ -489,7 +489,7 @@ class App extends Object {
* @var array
* @access public
*/
var $controllers = array();
public $controllers = array();
/**
* List of additional path(s) where component files reside.
@ -497,7 +497,7 @@ class App extends Object {
* @var array
* @access public
*/
var $components = array();
public $components = array();
/**
* List of additional path(s) where datasource files reside.
@ -505,7 +505,7 @@ class App extends Object {
* @var array
* @access public
*/
var $datasources = array();
public $datasources = array();
/**
* List of additional path(s) where libs files reside.
@ -513,14 +513,14 @@ class App extends Object {
* @var array
* @access public
*/
var $libs = array();
public $libs = array();
/**
* List of additional path(s) where view files reside.
*
* @var array
* @access public
*/
var $views = array();
public $views = array();
/**
* List of additional path(s) where helper files reside.
@ -528,7 +528,7 @@ class App extends Object {
* @var array
* @access public
*/
var $helpers = array();
public $helpers = array();
/**
* List of additional path(s) where plugins reside.
@ -536,7 +536,7 @@ class App extends Object {
* @var array
* @access public
*/
var $plugins = array();
public $plugins = array();
/**
* List of additional path(s) where vendor packages reside.
@ -544,7 +544,7 @@ class App extends Object {
* @var array
* @access public
*/
var $vendors = array();
public $vendors = array();
/**
* List of additional path(s) where locale files reside.
@ -552,7 +552,7 @@ class App extends Object {
* @var array
* @access public
*/
var $locales = array();
public $locales = array();
/**
* List of additional path(s) where console shell files reside.
@ -560,7 +560,7 @@ class App extends Object {
* @var array
* @access public
*/
var $shells = array();
public $shells = array();
/**
* Paths to search for files.
@ -568,7 +568,7 @@ class App extends Object {
* @var array
* @access public
*/
var $search = array();
public $search = array();
/**
* Whether or not to return the file that is loaded.
@ -576,7 +576,7 @@ class App extends Object {
* @var boolean
* @access public
*/
var $return = false;
public $return = false;
/**
* Determines if $__maps and $__paths cache should be written.

View file

@ -506,7 +506,7 @@ class IniAcl extends AclBase {
* @var array
* @access public
*/
var $config = null;
public $config = null;
/**
* The constructor must be overridden, as AclBase is abstract.

View file

@ -46,7 +46,7 @@ class AuthComponent extends Object {
* @var array
* @access public
*/
var $components = array('Session', 'RequestHandler');
public $components = array('Session', 'RequestHandler');
/**
* A reference to the object used for authentication
@ -54,7 +54,7 @@ class AuthComponent extends Object {
* @var object
* @access public
*/
var $authenticate = null;
public $authenticate = null;
/**
* The name of the component to use for Authorization or set this to
@ -67,7 +67,7 @@ class AuthComponent extends Object {
* @var mixed
* @access public
*/
var $authorize = false;
public $authorize = false;
/**
* The name of an optional view element to render when an Ajax request is made
@ -76,7 +76,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $ajaxLogin = null;
public $ajaxLogin = null;
/**
* The name of the element used for SessionComponent::setFlash
@ -84,7 +84,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $flashElement = 'default';
public $flashElement = 'default';
/**
* The name of the model that represents users which will be authenticated. Defaults to 'User'.
@ -92,7 +92,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $userModel = 'User';
public $userModel = 'User';
/**
* Additional query conditions to use when looking up and authenticating users,
@ -101,7 +101,7 @@ class AuthComponent extends Object {
* @var array
* @access public
*/
var $userScope = array();
public $userScope = array();
/**
* Allows you to specify non-default login name and password fields used in
@ -110,7 +110,7 @@ class AuthComponent extends Object {
* @var array
* @access public
*/
var $fields = array('username' => 'username', 'password' => 'password');
public $fields = array('username' => 'username', 'password' => 'password');
/**
* The session key name where the record of the current user is stored. If
@ -119,7 +119,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $sessionKey = null;
public $sessionKey = null;
/**
* If using action-based access control, this defines how the paths to action
@ -130,7 +130,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $actionPath = null;
public $actionPath = null;
/**
* A URL (defined as a string or array) to the controller action that handles
@ -139,7 +139,7 @@ class AuthComponent extends Object {
* @var mixed
* @access public
*/
var $loginAction = null;
public $loginAction = null;
/**
* Normally, if a user is redirected to the $loginAction page, the location they
@ -150,7 +150,7 @@ class AuthComponent extends Object {
* @var mixed
* @access public
*/
var $loginRedirect = null;
public $loginRedirect = null;
/**
* The the default action to redirect to after the user is logged out. While AuthComponent does
@ -162,7 +162,7 @@ class AuthComponent extends Object {
* @see AuthComponent::$loginAction
* @see AuthComponent::logout()
*/
var $logoutRedirect = null;
public $logoutRedirect = null;
/**
* The name of model or model object, or any other object has an isAuthorized method.
@ -170,7 +170,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $object = null;
public $object = null;
/**
* Error to display when user login fails. For security purposes, only one error is used for all
@ -179,7 +179,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $loginError = null;
public $loginError = null;
/**
* Error to display when user attempts to access an object or action to which they do not have
@ -188,7 +188,7 @@ class AuthComponent extends Object {
* @var string
* @access public
*/
var $authError = null;
public $authError = null;
/**
* Determines whether AuthComponent will automatically redirect and exit if login is successful.
@ -196,7 +196,7 @@ class AuthComponent extends Object {
* @var boolean
* @access public
*/
var $autoRedirect = true;
public $autoRedirect = true;
/**
* Controller actions for which user validation is not required.
@ -205,7 +205,7 @@ class AuthComponent extends Object {
* @access public
* @see AuthComponent::allow()
*/
var $allowedActions = array();
public $allowedActions = array();
/**
* Maps actions to CRUD operations. Used for controller-based validation ($validate = 'controller').
@ -214,7 +214,7 @@ class AuthComponent extends Object {
* @access public
* @see AuthComponent::mapActions()
*/
var $actionMap = array(
public $actionMap = array(
'index' => 'read',
'add' => 'create',
'edit' => 'update',
@ -228,7 +228,7 @@ class AuthComponent extends Object {
* @var array
* @access public
*/
var $data = array();
public $data = array();
/**
* Parameter data from Controller::$params
@ -236,7 +236,7 @@ class AuthComponent extends Object {
* @var array
* @access public
*/
var $params = array();
public $params = array();
/**
* Method list for bound controller

View file

@ -43,7 +43,7 @@ class CookieComponent extends Object {
* @var string
* @access public
*/
var $name = 'CakeCookie';
public $name = 'CakeCookie';
/**
* The time a cookie will remain valid.
@ -56,7 +56,7 @@ class CookieComponent extends Object {
* @var mixed
* @access public
*/
var $time = null;
public $time = null;
/**
* Cookie path.
@ -65,14 +65,14 @@ class CookieComponent extends Object {
* $this->Cookie->path = '/';
*
* The path on the server in which the cookie will be available on.
* If var $cookiePath is set to '/foo/', the cookie will only be available
* If public $cookiePath is set to '/foo/', the cookie will only be available
* within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.
* The default value is the entire domain.
*
* @var string
* @access public
*/
var $path = '/';
public $path = '/';
/**
* Domain path.
@ -88,7 +88,7 @@ class CookieComponent extends Object {
* @var string
* @access public
*/
var $domain = '';
public $domain = '';
/**
* Secure HTTPS only cookie.
@ -102,7 +102,7 @@ class CookieComponent extends Object {
* @var boolean
* @access public
*/
var $secure = false;
public $secure = false;
/**
* Encryption key.
@ -113,7 +113,7 @@ class CookieComponent extends Object {
* @var string
* @access protected
*/
var $key = null;
public $key = null;
/**
* Values stored in the cookie.
@ -381,7 +381,7 @@ class CookieComponent extends Object {
}
/**
* Encrypts $value using var $type method in Security class
* Encrypts $value using public $type method in Security class
*
* @param string $value Value to encrypt
* @return string encrypted string
@ -400,7 +400,7 @@ class CookieComponent extends Object {
}
/**
* Decrypts $value using var $type method in Security class
* Decrypts $value using public $type method in Security class
*
* @param array $values Values to decrypt
* @return string decrypted string

View file

@ -37,7 +37,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $to = null;
public $to = null;
/**
* The mail which the email is sent from
@ -45,7 +45,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $from = null;
public $from = null;
/**
* The email the recipient will reply to
@ -53,7 +53,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $replyTo = null;
public $replyTo = null;
/**
* The read receipt email
@ -61,7 +61,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $readReceipt = null;
public $readReceipt = null;
/**
* The mail that will be used in case of any errors like
@ -72,7 +72,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $return = null;
public $return = null;
/**
* Carbon Copy
@ -83,7 +83,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $cc = array();
public $cc = array();
/**
* Blind Carbon Copy
@ -94,7 +94,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $bcc = array();
public $bcc = array();
/**
* The subject of the email
@ -102,7 +102,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $subject = null;
public $subject = null;
/**
* Associative array of a user defined headers
@ -111,7 +111,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $headers = array();
public $headers = array();
/**
* List of additional headers
@ -121,7 +121,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $additionalParams = null;
public $additionalParams = null;
/**
* Layout for the View
@ -129,7 +129,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $layout = 'default';
public $layout = 'default';
/**
* Template for the view
@ -137,7 +137,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $template = null;
public $template = null;
/**
* as per RFC2822 Section 2.1.1
@ -145,7 +145,7 @@ class EmailComponent extends Object{
* @var integer
* @access public
*/
var $lineLength = 70;
public $lineLength = 70;
/**
* @deprecated see lineLength
@ -163,7 +163,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $sendAs = 'text';
public $sendAs = 'text';
/**
* What method should the email be sent by
@ -176,7 +176,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $delivery = 'mail';
public $delivery = 'mail';
/**
* charset the email is sent in
@ -184,7 +184,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $charset = 'utf-8';
public $charset = 'utf-8';
/**
* List of files that should be attached to the email.
@ -194,7 +194,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $attachments = array();
public $attachments = array();
/**
* What mailer should EmailComponent identify itself as
@ -202,7 +202,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $xMailer = 'CakePHP Email Component';
public $xMailer = 'CakePHP Email Component';
/**
* The list of paths to search if an attachment isnt absolute
@ -210,7 +210,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $filePaths = array();
public $filePaths = array();
/**
* List of options to use for smtp mail method
@ -226,7 +226,7 @@ class EmailComponent extends Object{
* @var array
* @access public
*/
var $smtpOptions = array(
public $smtpOptions = array(
'port'=> 25, 'host' => 'localhost', 'timeout' => 30
);
@ -237,7 +237,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $smtpError = null;
public $smtpError = null;
/**
* Contains the rendered plain text message if one was sent.
@ -245,7 +245,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $textMessage = null;
public $textMessage = null;
/**
* Contains the rendered HTML message if one was sent.
@ -253,7 +253,7 @@ class EmailComponent extends Object{
* @var string
* @access public
*/
var $htmlMessage = null;
public $htmlMessage = null;
/**
* Whether to generate a Message-ID header for the
@ -264,7 +264,7 @@ class EmailComponent extends Object{
* @var mixed
* @access public
*/
var $messageId = true;
public $messageId = true;
/**
* Temporary store of message header lines

View file

@ -36,7 +36,7 @@ class RequestHandlerComponent extends Object {
* @access public
* @see RequestHandler::setAjax()
*/
var $ajaxLayout = 'ajax';
public $ajaxLayout = 'ajax';
/**
* Determines whether or not callbacks will be fired on this component
@ -44,7 +44,7 @@ class RequestHandlerComponent extends Object {
* @var boolean
* @access public
*/
var $enabled = true;
public $enabled = true;
/**
* Holds the content-type of the response that is set when using
@ -61,7 +61,7 @@ class RequestHandlerComponent extends Object {
* @var array
* @access public
*/
var $params = array();
public $params = array();
/**
* Friendly content-type mappings used to set response types and determine
@ -107,7 +107,7 @@ class RequestHandlerComponent extends Object {
* @var array
* @access public
*/
var $mobileUA = array(
public $mobileUA = array(
'Android',
'AvantGo',
'BlackBerry',
@ -158,7 +158,7 @@ class RequestHandlerComponent extends Object {
* @access public
* @see Router::parseExtensions()
*/
var $ext = null;
public $ext = null;
/**
* Flag set when MIME types have been initialized

View file

@ -32,7 +32,7 @@ class SecurityComponent extends Object {
* @var string
* @access public
*/
var $blackHoleCallback = null;
public $blackHoleCallback = null;
/**
* List of controller actions for which a POST request is required
@ -41,7 +41,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requirePost()
*/
var $requirePost = array();
public $requirePost = array();
/**
* List of controller actions for which a GET request is required
@ -50,7 +50,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireGet()
*/
var $requireGet = array();
public $requireGet = array();
/**
* List of controller actions for which a PUT request is required
@ -59,7 +59,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requirePut()
*/
var $requirePut = array();
public $requirePut = array();
/**
* List of controller actions for which a DELETE request is required
@ -68,7 +68,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireDelete()
*/
var $requireDelete = array();
public $requireDelete = array();
/**
* List of actions that require an SSL-secured connection
@ -77,7 +77,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireSecure()
*/
var $requireSecure = array();
public $requireSecure = array();
/**
* List of actions that require a valid authentication key
@ -86,7 +86,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireAuth()
*/
var $requireAuth = array();
public $requireAuth = array();
/**
* List of actions that require an HTTP-authenticated login (basic or digest)
@ -95,7 +95,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireLogin()
*/
var $requireLogin = array();
public $requireLogin = array();
/**
* Login options for SecurityComponent::requireLogin()
@ -104,7 +104,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireLogin()
*/
var $loginOptions = array('type' => '', 'prompt' => null);
public $loginOptions = array('type' => '', 'prompt' => null);
/**
* An associative array of usernames/passwords used for HTTP-authenticated logins.
@ -114,7 +114,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireLogin()
*/
var $loginUsers = array();
public $loginUsers = array();
/**
* Controllers from which actions of the current controller are allowed to receive
@ -124,7 +124,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireAuth()
*/
var $allowedControllers = array();
public $allowedControllers = array();
/**
* Actions from which actions of the current controller are allowed to receive
@ -134,7 +134,7 @@ class SecurityComponent extends Object {
* @access public
* @see SecurityComponent::requireAuth()
*/
var $allowedActions = array();
public $allowedActions = array();
/**
* Form fields to disable
@ -142,7 +142,7 @@ class SecurityComponent extends Object {
* @var array
* @access public
*/
var $disabledFields = array();
public $disabledFields = array();
/**
* Whether to validate POST data. Set to false to disable for data coming from 3rd party
@ -151,7 +151,7 @@ class SecurityComponent extends Object {
* @var boolean
* @access public
*/
var $validatePost = true;
public $validatePost = true;
/**
* Other components used by the Security component
@ -159,7 +159,7 @@ class SecurityComponent extends Object {
* @var array
* @access public
*/
var $components = array('RequestHandler', 'Session');
public $components = array('RequestHandler', 'Session');
/**
* Holds the current action of the controller

View file

@ -43,7 +43,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/959/Controller-Attributes
*/
var $name = null;
public $name = null;
/**
* Stores the current URL, relative to the webroot of the application.
@ -51,7 +51,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $here = null;
public $here = null;
/**
* The webroot of the application.
@ -59,7 +59,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $webroot = null;
public $webroot = null;
/**
* The name of the currently requested controller action.
@ -67,12 +67,12 @@ class Controller extends Object {
* @var string
* @access public
*/
var $action = null;
public $action = null;
/**
* An array containing the class names of models this controller uses.
*
* Example: `var $uses = array('Product', 'Post', 'Comment');`
* Example: `public $uses = array('Product', 'Post', 'Comment');`
*
* Can be set to array() to use no models. Can be set to false to
* use no models and prevent the merging of $uses with AppController
@ -81,19 +81,19 @@ class Controller extends Object {
* @access protected
* @link http://book.cakephp.org/view/961/components-helpers-and-uses
*/
var $uses = false;
public $uses = false;
/**
* An array containing the names of helpers this controller uses. The array elements should
* not contain the "Helper" part of the classname.
*
* Example: `var $helpers = array('Html', 'Javascript', 'Time', 'Ajax');`
* Example: `public $helpers = array('Html', 'Javascript', 'Time', 'Ajax');`
*
* @var mixed A single name as a string or a list of names as an array.
* @access protected
* @link http://book.cakephp.org/view/961/components-helpers-and-uses
*/
var $helpers = array('Session', 'Html', 'Form');
public $helpers = array('Session', 'Html', 'Form');
/**
* Parameters received in the current request: GET and POST data, information
@ -103,7 +103,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/963/The-Parameters-Attribute-params
*/
var $params = array();
public $params = array();
/**
* Data POSTed to the controller using the HtmlHelper. Data here is accessible
@ -112,7 +112,7 @@ class Controller extends Object {
* @var array
* @access public
*/
var $data = array();
public $data = array();
/**
* Holds pagination defaults for controller actions. The keys that can be included
@ -123,7 +123,7 @@ class Controller extends Object {
* the name of the model as a key for a pagination array:
*
* {{{
* var $paginate = array(
* public $paginate = array(
* 'Post' => array(...),
* 'Comment' => array(...)
* );
@ -133,7 +133,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/1231/Pagination
*/
var $paginate = array('limit' => 20, 'page' => 1);
public $paginate = array('limit' => 20, 'page' => 1);
/**
* The name of the views subfolder containing views for this controller.
@ -141,7 +141,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $viewPath = null;
public $viewPath = null;
/**
* The name of the layouts subfolder containing layouts for this controller.
@ -149,7 +149,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $layoutPath = null;
public $layoutPath = null;
/**
* Contains variables to be handed to the view.
@ -157,7 +157,7 @@ class Controller extends Object {
* @var array
* @access public
*/
var $viewVars = array();
public $viewVars = array();
/**
* An array containing the class names of the models this controller uses.
@ -165,7 +165,7 @@ class Controller extends Object {
* @var array Array of model objects.
* @access public
*/
var $modelNames = array();
public $modelNames = array();
/**
* Base URL path.
@ -173,7 +173,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $base = null;
public $base = null;
/**
* The name of the layout file to render the view inside of. The name specified
@ -184,7 +184,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/962/Page-related-Attributes-layout-and-pageTitle
*/
var $layout = 'default';
public $layout = 'default';
/**
* Set to true to automatically render the view
@ -193,7 +193,7 @@ class Controller extends Object {
* @var boolean
* @access public
*/
var $autoRender = true;
public $autoRender = true;
/**
* Set to true to automatically render the layout around views.
@ -201,7 +201,7 @@ class Controller extends Object {
* @var boolean
* @access public
*/
var $autoLayout = true;
public $autoLayout = true;
/**
* Instance of Component used to handle callbacks.
@ -209,19 +209,19 @@ class Controller extends Object {
* @var string
* @access public
*/
var $Component = null;
public $Component = null;
/**
* Array containing the names of components this controller uses. Component names
* should not contain the "Component" portion of the classname.
*
* Example: `var $components = array('Session', 'RequestHandler', 'Acl');`
* Example: `public $components = array('Session', 'RequestHandler', 'Acl');`
*
* @var array
* @access public
* @link http://book.cakephp.org/view/961/components-helpers-and-uses
*/
var $components = array('Session');
public $components = array('Session');
/**
* The name of the View class this controller sends output to.
@ -229,7 +229,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $view = 'View';
public $view = 'View';
/**
* File extension for view templates. Defaults to Cake's conventional ".ctp".
@ -237,7 +237,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $ext = '.ctp';
public $ext = '.ctp';
/**
* The output of the requested action. Contains either a variable
@ -247,7 +247,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $output = null;
public $output = null;
/**
* Automatically set to the name of a plugin.
@ -255,7 +255,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $plugin = null;
public $plugin = null;
/**
* Used to define methods a controller that will be cached. To cache a
@ -265,7 +265,7 @@ class Controller extends Object {
* Example:
*
* {{{
* var $cacheAction = array(
* public $cacheAction = array(
* 'view/23/' => 21600,
* 'recalled/' => 86400
* );
@ -278,7 +278,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/1380/Caching-in-the-Controller
*/
var $cacheAction = false;
public $cacheAction = false;
/**
* Used to create cached instances of models a controller uses.
@ -288,7 +288,7 @@ class Controller extends Object {
* @var boolean
* @access public
*/
var $persistModel = false;
public $persistModel = false;
/**
* Holds all params passed and named.
@ -296,7 +296,7 @@ class Controller extends Object {
* @var mixed
* @access public
*/
var $passedArgs = array();
public $passedArgs = array();
/**
* Triggers Scaffolding
@ -305,7 +305,7 @@ class Controller extends Object {
* @access public
* @link http://book.cakephp.org/view/1103/Scaffolding
*/
var $scaffold = false;
public $scaffold = false;
/**
* Holds current methods of the controller
@ -314,7 +314,7 @@ class Controller extends Object {
* @access public
* @link
*/
var $methods = array();
public $methods = array();
/**
* This controller's primary model class name, the Inflector::classify()'ed version of
@ -325,7 +325,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $modelClass = null;
public $modelClass = null;
/**
* This controller's model key name, an underscored version of the controller's $modelClass property.
@ -335,7 +335,7 @@ class Controller extends Object {
* @var string
* @access public
*/
var $modelKey = null;
public $modelKey = null;
/**
* Holds any validation errors produced by the last call of the validateErrors() method/
@ -343,7 +343,7 @@ class Controller extends Object {
* @var array Validation errors, or false if none
* @access public
*/
var $validationErrors = null;
public $validationErrors = null;
/**
* Contains a list of the HTTP codes that CakePHP recognizes. These may be

View file

@ -36,7 +36,7 @@ class PagesController extends AppController {
* @var string
* @access public
*/
var $name = 'Pages';
public $name = 'Pages';
/**
* Default helper
@ -44,7 +44,7 @@ class PagesController extends AppController {
* @var array
* @access public
*/
var $helpers = array('Html', 'Session');
public $helpers = array('Html', 'Session');
/**
* This controller does not use a model
@ -52,7 +52,7 @@ class PagesController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* Displays a view

View file

@ -39,7 +39,7 @@ class Scaffold extends Object {
* @var Controller
* @access public
*/
var $controller = null;
public $controller = null;
/**
* Name of the controller to scaffold
@ -47,7 +47,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $name = null;
public $name = null;
/**
* Action to be performed.
@ -55,7 +55,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $action = null;
public $action = null;
/**
* Name of current model this view context is attached to
@ -63,7 +63,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $model = null;
public $model = null;
/**
* Path to View.
@ -71,7 +71,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $viewPath;
public $viewPath;
/**
* Path parts for creating links in views.
@ -79,7 +79,7 @@ class Scaffold extends Object {
* @var string Base URL
* @access public
*/
var $base = null;
public $base = null;
/**
* Name of layout to use with this View.
@ -87,7 +87,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $layout = 'default';
public $layout = 'default';
/**
* Array of parameter data
@ -95,7 +95,7 @@ class Scaffold extends Object {
* @var array
* @access public
*/
var $params;
public $params;
/**
* File extension. Defaults to Cake's template ".ctp".
@ -103,7 +103,7 @@ class Scaffold extends Object {
* @var array
* @access public
*/
var $ext = '.ctp';
public $ext = '.ctp';
/**
* Sub-directory for this view file.
@ -111,7 +111,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $subDir = null;
public $subDir = null;
/**
* Plugin name.
@ -119,7 +119,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $plugin = null;
public $plugin = null;
/**
* valid session.
@ -146,7 +146,7 @@ class Scaffold extends Object {
* @var string
* @access public
*/
var $scaffoldTitle = null;
public $scaffoldTitle = null;
/**
* Construct and set up given controller with given parameters.
@ -433,7 +433,7 @@ class Scaffold extends Object {
/**
* When methods are now present in a controller
* scaffoldView is used to call default Scaffold methods if:
* `var $scaffold;` is placed in the controller's class definition.
* `public $scaffold;` is placed in the controller's class definition.
*
* @param array $params Parameters for scaffolding
* @return mixed A rendered view of scaffold action, or showing the error

View file

@ -51,7 +51,7 @@ class Debugger extends Object {
* @var array
* @access public
*/
var $errors = array();
public $errors = array();
/**
* Contains the base URL for error code documentation.
@ -59,7 +59,7 @@ class Debugger extends Object {
* @var string
* @access public
*/
var $helpPath = null;
public $helpPath = null;
/**
* The current output format.

View file

@ -30,14 +30,14 @@ App::import('Controller', 'App');
* @subpackage cake.cake.libs
*/
class CakeErrorController extends AppController {
var $name = 'CakeError';
public $name = 'CakeError';
/**
* Uses Property
*
* @var array
*/
var $uses = array();
public $uses = array();
/**
* __construct
@ -73,7 +73,7 @@ class ErrorHandler extends Object {
* @var Controller
* @access public
*/
var $controller = null;
public $controller = null;
/**
* Class constructor.

View file

@ -43,7 +43,7 @@ class File extends Object {
* @var Folder
* @access public
*/
var $Folder = null;
public $Folder = null;
/**
* Filename
@ -51,7 +51,7 @@ class File extends Object {
* @var string
* @access public
*/
var $name = null;
public $name = null;
/**
* file info
@ -59,7 +59,7 @@ class File extends Object {
* @var string
* @access public
*/
var $info = array();
public $info = array();
/**
* Holds the file handler resource if the file is opened
@ -67,7 +67,7 @@ class File extends Object {
* @var resource
* @access public
*/
var $handle = null;
public $handle = null;
/**
* enable locking for file reading and writing
@ -75,7 +75,7 @@ class File extends Object {
* @var boolean
* @access public
*/
var $lock = null;
public $lock = null;
/**
* path property
@ -85,7 +85,7 @@ class File extends Object {
* @var mixed null
* @access public
*/
var $path = null;
public $path = null;
/**
* Constructor

View file

@ -41,7 +41,7 @@ class Folder extends Object {
* @var string
* @access public
*/
var $path = null;
public $path = null;
/**
* Sortedness. Whether or not list results
@ -50,7 +50,7 @@ class Folder extends Object {
* @var boolean
* @access public
*/
var $sort = false;
public $sort = false;
/**
* Mode to be used on create. Does nothing on windows platforms.
@ -58,7 +58,7 @@ class Folder extends Object {
* @var integer
* @access public
*/
var $mode = 0755;
public $mode = 0755;
/**
* Holds messages from last method.

View file

@ -36,7 +36,7 @@ class HttpSocket extends CakeSocket {
* @var string
* @access public
*/
var $description = 'HTTP-based DataSource Interface';
public $description = 'HTTP-based DataSource Interface';
/**
* When one activates the $quirksMode by setting it to true, all checks meant to
@ -46,7 +46,7 @@ class HttpSocket extends CakeSocket {
* @var boolean
* @access public
*/
var $quirksMode = false;
public $quirksMode = false;
/**
* The default values to use for a request
@ -54,7 +54,7 @@ class HttpSocket extends CakeSocket {
* @var array
* @access public
*/
var $request = array(
public $request = array(
'method' => 'GET',
'uri' => array(
'scheme' => 'http',
@ -88,7 +88,7 @@ class HttpSocket extends CakeSocket {
* @var array
* @access public
*/
var $response = array(
public $response = array(
'raw' => array(
'status-line' => null,
'header' => null,
@ -111,7 +111,7 @@ class HttpSocket extends CakeSocket {
* @var array
* @access public
*/
var $config = array(
public $config = array(
'persistent' => false,
'host' => 'localhost',
'protocol' => 'tcp',
@ -138,7 +138,7 @@ class HttpSocket extends CakeSocket {
* @var string
* @access public
*/
var $lineBreak = "\r\n";
public $lineBreak = "\r\n";
/**
* Build an HTTP Socket using the specified configuration.

View file

@ -37,7 +37,7 @@ class I18n extends Object {
* @var I10n
* @access public
*/
var $l10n = null;
public $l10n = null;
/**
* Current domain of translation
@ -45,7 +45,7 @@ class I18n extends Object {
* @var string
* @access public
*/
var $domain = null;
public $domain = null;
/**
* Current category of translation
@ -53,7 +53,7 @@ class I18n extends Object {
* @var string
* @access public
*/
var $category = 'LC_MESSAGES';
public $category = 'LC_MESSAGES';
/**
* Current language used for translations

View file

@ -32,7 +32,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $language = 'English (United States)';
public $language = 'English (United States)';
/**
* Locale search paths
@ -40,7 +40,7 @@ class L10n extends Object {
* @var array
* @access public
*/
var $languagePath = array('eng');
public $languagePath = array('eng');
/**
* ISO 639-3 for current locale
@ -48,7 +48,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $lang = 'eng';
public $lang = 'eng';
/**
* Locale
@ -56,7 +56,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $locale = 'en_us';
public $locale = 'en_us';
/**
* Default ISO 639-3 language.
@ -66,7 +66,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $default = null;
public $default = null;
/**
* Encoding used for current locale
@ -74,7 +74,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $charset = 'utf-8';
public $charset = 'utf-8';
/**
* Text direction for current locale
@ -82,7 +82,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $direction = 'ltr';
public $direction = 'ltr';
/**
* Set to true if a locale is found
@ -90,7 +90,7 @@ class L10n extends Object {
* @var string
* @access public
*/
var $found = false;
public $found = false;
/**
* Maps ISO 639-3 to I10n::__l10nCatalog

View file

@ -37,12 +37,12 @@ class MagicDb extends Object {
*
* @var array
*/
var $db = array();
public $db = array();
/**
* Reads a MagicDb from various formats
*
* @var $magicDb mixed Can be an array containing the db, a magic db as a string, or a filename pointing to a magic db in .db or magic.db.php format
* @public $magicDb mixed Can be an array containing the db, a magic db as a string, or a filename pointing to a magic db in .db or magic.db.php format
* @return boolean Returns false if reading / validation failed or true on success.
* @author Felix
*/
@ -186,7 +186,7 @@ class MagicFileResource extends Object{
* @var unknown
* @access public
*/
var $resource = null;
public $resource = null;
/**
* undocumented variable
@ -194,7 +194,7 @@ class MagicFileResource extends Object{
* @var unknown
* @access public
*/
var $offset = 0;
public $offset = 0;
/**
* undocumented function

View file

@ -35,7 +35,7 @@ class ContainableBehavior extends ModelBehavior {
* @var array
* @access private
*/
var $types = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
public $types = array('belongsTo', 'hasOne', 'hasMany', 'hasAndBelongsToMany');
/**
* Runtime configuration for this behavior
@ -43,7 +43,7 @@ class ContainableBehavior extends ModelBehavior {
* @var array
* @access private
*/
var $runtime = array();
public $runtime = array();
/**
* Initiate behavior for the model using specified settings.

View file

@ -29,7 +29,7 @@ class TranslateBehavior extends ModelBehavior {
/**
* Used for runtime configuration of model
*/
var $runtime = array();
public $runtime = array();
/**
* Callback
@ -517,9 +517,9 @@ if (!defined('CAKEPHP_UNIT_TEST_EXECUTION')) {
* @subpackage cake.cake.libs.model.behaviors
*/
class I18nModel extends AppModel {
var $name = 'I18nModel';
var $useTable = 'i18n';
var $displayField = 'field';
public $name = 'I18nModel';
public $useTable = 'i18n';
public $displayField = 'field';
}
}
?>

View file

@ -36,7 +36,7 @@ class TreeBehavior extends ModelBehavior {
*
* @var array
*/
var $errors = array();
public $errors = array();
/**
* Defaults

View file

@ -33,7 +33,7 @@ class CakeSchema extends Object {
* @var string
* @access public
*/
var $name = null;
public $name = null;
/**
* Path to write location
@ -41,7 +41,7 @@ class CakeSchema extends Object {
* @var string
* @access public
*/
var $path = null;
public $path = null;
/**
* File to write
@ -49,7 +49,7 @@ class CakeSchema extends Object {
* @var string
* @access public
*/
var $file = 'schema.php';
public $file = 'schema.php';
/**
* Connection used for read
@ -57,14 +57,14 @@ class CakeSchema extends Object {
* @var string
* @access public
*/
var $connection = 'default';
public $connection = 'default';
/**
* plugin name.
*
* @var string
*/
var $plugin = null;
public $plugin = null;
/**
* Set of tables
@ -72,7 +72,7 @@ class CakeSchema extends Object {
* @var array
* @access public
*/
var $tables = array();
public $tables = array();
/**
* Constructor

View file

@ -36,7 +36,7 @@ class ConnectionManager extends Object {
* @var DATABASE_CONFIG
* @access public
*/
var $config = null;
public $config = null;
/**
* Holds instances DataSource objects

View file

@ -32,7 +32,7 @@ class DataSource extends Object {
* @var boolean
* @access public
*/
var $connected = false;
public $connected = false;
/**
* Print full query debug info?
@ -40,7 +40,7 @@ class DataSource extends Object {
* @var boolean
* @access public
*/
var $fullDebug = false;
public $fullDebug = false;
/**
* Error description of last query
@ -48,7 +48,7 @@ class DataSource extends Object {
* @var unknown_type
* @access public
*/
var $error = null;
public $error = null;
/**
* String to hold how many rows were affected by the last SQL operation.
@ -56,7 +56,7 @@ class DataSource extends Object {
* @var string
* @access public
*/
var $affected = null;
public $affected = null;
/**
* Number of rows in current resultset
@ -64,7 +64,7 @@ class DataSource extends Object {
* @var int
* @access public
*/
var $numRows = null;
public $numRows = null;
/**
* Time the last query took
@ -72,7 +72,7 @@ class DataSource extends Object {
* @var int
* @access public
*/
var $took = null;
public $took = null;
/**
* The starting character that this DataSource uses for quoted identifiers.
@ -80,7 +80,7 @@ class DataSource extends Object {
* @var string
* @access public
*/
var $startQuote = null;
public $startQuote = null;
/**
* The ending character that this DataSource uses for quoted identifiers.
@ -88,7 +88,7 @@ class DataSource extends Object {
* @var string
* @access public
*/
var $endQuote = null;
public $endQuote = null;
/**
* Enter description here...
@ -170,7 +170,7 @@ class DataSource extends Object {
* @var array
* @access public
*/
var $connection = null;
public $connection = null;
/**
* The DataSource configuration
@ -178,7 +178,7 @@ class DataSource extends Object {
* @var array
* @access public
*/
var $config = array();
public $config = array();
/**
* The DataSource configuration key name
@ -186,7 +186,7 @@ class DataSource extends Object {
* @var string
* @access public
*/
var $configKeyName = null;
public $configKeyName = null;
/**
* Whether or not this DataSource is in the middle of a transaction
@ -203,7 +203,7 @@ class DataSource extends Object {
* @var boolean
* @access public
*/
var $cacheSources = true;
public $cacheSources = true;
/**
* Constructor.

View file

@ -33,21 +33,21 @@ class DboMssql extends DboSource {
*
* @var string
*/
var $description = "MS SQL DBO Driver";
public $description = "MS SQL DBO Driver";
/**
* Starting quote character for quoted identifiers
*
* @var string
*/
var $startQuote = "[";
public $startQuote = "[";
/**
* Ending quote character for quoted identifiers
*
* @var string
*/
var $endQuote = "]";
public $endQuote = "]";
/**
* Creates a map between field aliases and numeric indexes. Workaround for the
@ -76,7 +76,7 @@ class DboMssql extends DboSource {
*
* @var array
*/
var $columns = array(
public $columns = array(
'primary_key' => array('name' => 'IDENTITY (1, 1) NOT NULL'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),

View file

@ -31,21 +31,21 @@ class DboMysqlBase extends DboSource {
*
* @var string
*/
var $description = "MySQL DBO Base Driver";
public $description = "MySQL DBO Base Driver";
/**
* Start quote
*
* @var string
*/
var $startQuote = "`";
public $startQuote = "`";
/**
* End quote
*
* @var string
*/
var $endQuote = "`";
public $endQuote = "`";
/**
* use alias for update and delete. Set to true if version >= 4.1
@ -73,7 +73,7 @@ class DboMysqlBase extends DboSource {
* @var array
* @access public
*/
var $fieldParameters = array(
public $fieldParameters = array(
'charset' => array('value' => 'CHARACTER SET', 'quote' => false, 'join' => ' ', 'column' => false, 'position' => 'beforeDefault'),
'collate' => array('value' => 'COLLATE', 'quote' => false, 'join' => ' ', 'column' => 'Collation', 'position' => 'beforeDefault'),
'comment' => array('value' => 'COMMENT', 'quote' => true, 'join' => ' ', 'column' => 'Comment', 'position' => 'afterDefault')
@ -85,7 +85,7 @@ class DboMysqlBase extends DboSource {
* @var array
* @access public
*/
var $tableParameters = array(
public $tableParameters = array(
'charset' => array('value' => 'DEFAULT CHARSET', 'quote' => false, 'join' => '=', 'column' => 'charset'),
'collate' => array('value' => 'COLLATE', 'quote' => false, 'join' => '=', 'column' => 'Collation'),
'engine' => array('value' => 'ENGINE', 'quote' => false, 'join' => '=', 'column' => 'Engine')
@ -96,7 +96,7 @@ class DboMysqlBase extends DboSource {
*
* @var array
*/
var $columns = array(
public $columns = array(
'primary_key' => array('name' => 'NOT NULL AUTO_INCREMENT'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),
@ -511,7 +511,7 @@ class DboMysql extends DboMysqlBase {
*
* @var unknown_type
*/
var $description = "MySQL DBO Driver";
public $description = "MySQL DBO Driver";
/**
* Base configuration settings for MySQL driver

View file

@ -34,7 +34,7 @@ class DboMysqli extends DboMysqlBase {
*
* @var unknown_type
*/
var $description = "Mysqli DBO Driver";
public $description = "Mysqli DBO Driver";
/**
* Base configuration settings for Mysqli driver

View file

@ -34,14 +34,14 @@ class DboOracle extends DboSource {
* @var unknown_type
* @access public
*/
var $config = array();
public $config = array();
/**
* Enter description here...
*
* @var unknown_type
*/
var $alias = '';
public $alias = '';
/**
* Sequence names as introspected from the database
@ -61,7 +61,7 @@ class DboOracle extends DboSource {
* @var unknown_type
* @access public
*/
var $columns = array(
public $columns = array(
'primary_key' => array('name' => ''),
'string' => array('name' => 'varchar2', 'limit' => '255'),
'text' => array('name' => 'varchar2'),
@ -82,7 +82,7 @@ class DboOracle extends DboSource {
* @var unknown_type
* @access protected
*/
var $connection;
public $connection;
/**
* Enter description here...

View file

@ -34,7 +34,7 @@ class DboPostgres extends DboSource {
* @var string
* @access public
*/
var $description = "PostgreSQL DBO Driver";
public $description = "PostgreSQL DBO Driver";
/**
* Index of basic SQL commands
@ -65,7 +65,7 @@ class DboPostgres extends DboSource {
'encoding' => ''
);
var $columns = array(
public $columns = array(
'primary_key' => array('name' => 'serial NOT NULL'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),
@ -87,7 +87,7 @@ class DboPostgres extends DboSource {
* @var string
* @access public
*/
var $startQuote = '"';
public $startQuote = '"';
/**
* Ending Quote
@ -95,7 +95,7 @@ class DboPostgres extends DboSource {
* @var string
* @access public
*/
var $endQuote = '"';
public $endQuote = '"';
/**
* Contains mappings of custom auto-increment sequences, if a table uses a sequence name

View file

@ -33,21 +33,21 @@ class DboSqlite extends DboSource {
*
* @var unknown_type
*/
var $description = "SQLite DBO Driver";
public $description = "SQLite DBO Driver";
/**
* Opening quote for quoted identifiers
*
* @var string
*/
var $startQuote = '"';
public $startQuote = '"';
/**
* Closing quote for quoted identifiers
*
* @var string
*/
var $endQuote = '"';
public $endQuote = '"';
/**
* Keeps the transaction statistics of CREATE/UPDATE/DELETE queries
@ -84,7 +84,7 @@ class DboSqlite extends DboSource {
*
* @var array
*/
var $columns = array(
public $columns = array(
'primary_key' => array('name' => 'integer primary key'),
'string' => array('name' => 'varchar', 'limit' => '255'),
'text' => array('name' => 'text'),
@ -104,7 +104,7 @@ class DboSqlite extends DboSource {
* @var array
* @access public
*/
var $fieldParameters = array(
public $fieldParameters = array(
'collate' => array(
'value' => 'COLLATE',
'quote' => false,

View file

@ -35,14 +35,14 @@ class DboSource extends DataSource {
* @var string
* @access public
*/
var $description = "Database Data Source";
public $description = "Database Data Source";
/**
* index definition, standard cake, primary, index, unique
*
* @var array
*/
var $index = array('PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique');
public $index = array('PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique');
/**
* Database keyword used to assign aliases to identifiers.
@ -50,7 +50,7 @@ class DboSource extends DataSource {
* @var string
* @access public
*/
var $alias = 'AS ';
public $alias = 'AS ';
/**
* Caches result from query parsing operations
@ -58,7 +58,7 @@ class DboSource extends DataSource {
* @var array
* @access public
*/
var $methodCache = array();
public $methodCache = array();
/**
* Whether or not to cache the results of DboSource::name() and DboSource::conditions()
@ -67,7 +67,7 @@ class DboSource extends DataSource {
* @var boolean.
* @access public
*/
var $cacheMethods = true ;
public $cacheMethods = true ;
/**
* Bypass automatic adding of joined fields/associations.
@ -103,7 +103,7 @@ class DboSource extends DataSource {
* @var array
* @access public
*/
var $tableParameters = array();
public $tableParameters = array();
/**
* List of engine specific additional field parameters used on table creating
@ -111,7 +111,7 @@ class DboSource extends DataSource {
* @var array
* @access public
*/
var $fieldParameters = array();
public $fieldParameters = array();
/**
* Constructor

View file

@ -40,7 +40,7 @@ class AclNode extends AppModel {
* @var boolean
* @access public
*/
var $cacheQueries = false;
public $cacheQueries = false;
/**
* ACL models use the Tree behavior
@ -48,7 +48,7 @@ class AclNode extends AppModel {
* @var array
* @access public
*/
var $actsAs = array('Tree' => 'nested');
public $actsAs = array('Tree' => 'nested');
/**
* Constructor
@ -209,7 +209,7 @@ class Aco extends AclNode {
* @var string
* @access public
*/
var $name = 'Aco';
public $name = 'Aco';
/**
* Binds to ARO nodes through permissions settings
@ -217,7 +217,7 @@ class Aco extends AclNode {
* @var array
* @access public
*/
var $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
public $hasAndBelongsToMany = array('Aro' => array('with' => 'Permission'));
}
/**
@ -234,7 +234,7 @@ class AcoAction extends AppModel {
* @var string
* @access public
*/
var $name = 'AcoAction';
public $name = 'AcoAction';
/**
* ACO Actions belong to ACOs
@ -242,7 +242,7 @@ class AcoAction extends AppModel {
* @var array
* @access public
*/
var $belongsTo = array('Aco');
public $belongsTo = array('Aco');
}
/**
@ -259,7 +259,7 @@ class Aro extends AclNode {
* @var string
* @access public
*/
var $name = 'Aro';
public $name = 'Aro';
/**
* AROs are linked to ACOs by means of Permission
@ -267,7 +267,7 @@ class Aro extends AclNode {
* @var array
* @access public
*/
var $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
public $hasAndBelongsToMany = array('Aco' => array('with' => 'Permission'));
}
/**
@ -284,7 +284,7 @@ class Permission extends AppModel {
* @var string
* @access public
*/
var $name = 'Permission';
public $name = 'Permission';
/**
* Explicitly disable in-memory query caching
@ -292,7 +292,7 @@ class Permission extends AppModel {
* @var boolean
* @access public
*/
var $cacheQueries = false;
public $cacheQueries = false;
/**
* Override default table name
@ -300,7 +300,7 @@ class Permission extends AppModel {
* @var string
* @access public
*/
var $useTable = 'aros_acos';
public $useTable = 'aros_acos';
/**
* Permissions link AROs with ACOs
@ -308,7 +308,7 @@ class Permission extends AppModel {
* @var array
* @access public
*/
var $belongsTo = array('Aro', 'Aco');
public $belongsTo = array('Aro', 'Aco');
/**
* No behaviors for this model
@ -316,7 +316,7 @@ class Permission extends AppModel {
* @var array
* @access public
*/
var $actsAs = null;
public $actsAs = null;
/**
* Constructor, used to tell this model to use the

View file

@ -52,7 +52,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#useDbConfig-1058
*/
var $useDbConfig = 'default';
public $useDbConfig = 'default';
/**
* Custom database table name, or null/false if no table association is desired.
@ -61,7 +61,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#useTable-1059
*/
var $useTable = null;
public $useTable = null;
/**
* Custom display field name. Display fields are used by Scaffold, in SELECT boxes' OPTION elements.
@ -70,7 +70,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#displayField-1062
*/
var $displayField = null;
public $displayField = null;
/**
* Value of the primary key ID of the record that this model is currently pointing to.
@ -79,7 +79,7 @@ class Model extends Overloadable {
* @var mixed
* @access public
*/
var $id = false;
public $id = false;
/**
* Container for the data that this model gets from persistent storage (usually, a database).
@ -88,7 +88,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#data-1065
*/
var $data = array();
public $data = array();
/**
* Table name for this Model.
@ -96,7 +96,7 @@ class Model extends Overloadable {
* @var string
* @access public
*/
var $table = false;
public $table = false;
/**
* The name of the primary key field for this model.
@ -105,7 +105,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#primaryKey-1061
*/
var $primaryKey = null;
public $primaryKey = null;
/**
* Field-by-field table metadata.
@ -125,7 +125,7 @@ class Model extends Overloadable {
* @link http://book.cakephp.org/view/1057/Model-Attributes#validate-1067
* @link http://book.cakephp.org/view/1143/Data-Validation
*/
var $validate = array();
public $validate = array();
/**
* List of validation errors.
@ -134,7 +134,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
*/
var $validationErrors = array();
public $validationErrors = array();
/**
* Database table prefix for tables in model.
@ -143,7 +143,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#tablePrefix-1060
*/
var $tablePrefix = null;
public $tablePrefix = null;
/**
* Name of the model.
@ -152,7 +152,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#name-1068
*/
var $name = null;
public $name = null;
/**
* Alias name for model.
@ -160,7 +160,7 @@ class Model extends Overloadable {
* @var string
* @access public
*/
var $alias = null;
public $alias = null;
/**
* List of table names included in the model description. Used for associations.
@ -168,7 +168,7 @@ class Model extends Overloadable {
* @var array
* @access public
*/
var $tableToModel = array();
public $tableToModel = array();
/**
* Whether or not to log transactions for this model.
@ -176,7 +176,7 @@ class Model extends Overloadable {
* @var boolean
* @access public
*/
var $logTransactions = false;
public $logTransactions = false;
/**
* Whether or not to cache queries for this model. This enables in-memory
@ -186,7 +186,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#cacheQueries-1069
*/
var $cacheQueries = false;
public $cacheQueries = false;
/**
* Detailed list of belongsTo associations.
@ -195,7 +195,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1042/belongsTo
*/
var $belongsTo = array();
public $belongsTo = array();
/**
* Detailed list of hasOne associations.
@ -204,7 +204,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1041/hasOne
*/
var $hasOne = array();
public $hasOne = array();
/**
* Detailed list of hasMany associations.
@ -213,7 +213,7 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1043/hasMany
*/
var $hasMany = array();
public $hasMany = array();
/**
* Detailed list of hasAndBelongsToMany associations.
@ -222,19 +222,19 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1044/hasAndBelongsToMany-HABTM
*/
var $hasAndBelongsToMany = array();
public $hasAndBelongsToMany = array();
/**
* List of behaviors to load when the model object is initialized. Settings can be
* passed to behaviors by using the behavior name as index. Eg:
*
* var $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
* public $actsAs = array('Translate', 'MyBehavior' => array('setting1' => 'value1'))
*
* @var array
* @access public
* @link http://book.cakephp.org/view/1072/Using-Behaviors
*/
var $actsAs = null;
public $actsAs = null;
/**
* Holds the Behavior objects currently bound to this model.
@ -242,7 +242,7 @@ class Model extends Overloadable {
* @var BehaviorCollection
* @access public
*/
var $Behaviors = null;
public $Behaviors = null;
/**
* Whitelist of fields allowed to be saved.
@ -250,7 +250,7 @@ class Model extends Overloadable {
* @var array
* @access public
*/
var $whitelist = array();
public $whitelist = array();
/**
* Whether or not to cache sources for this model.
@ -258,7 +258,7 @@ class Model extends Overloadable {
* @var boolean
* @access public
*/
var $cacheSources = true;
public $cacheSources = true;
/**
* Type of find query currently executing.
@ -266,7 +266,7 @@ class Model extends Overloadable {
* @var string
* @access public
*/
var $findQueryType = null;
public $findQueryType = null;
/**
* Number of associations to recurse through during find calls. Fetches only
@ -276,33 +276,33 @@ class Model extends Overloadable {
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#recursive-1063
*/
var $recursive = 1;
public $recursive = 1;
/**
* The column name(s) and direction(s) to order find results by default.
*
* var $order = "Post.created DESC";
* var $order = array("Post.view_count DESC", "Post.rating DESC");
* public $order = "Post.created DESC";
* public $order = array("Post.view_count DESC", "Post.rating DESC");
*
* @var string
* @access public
* @link http://book.cakephp.org/view/1057/Model-Attributes#order-1064
*/
var $order = null;
public $order = null;
/**
* Array of virtual fields this model has. Virtual fields are aliased
* SQL expressions. Fields added to this property will be read as other fields in a model
* but will not be saveable.
*
* `var $virtualFields = array('two' => '1 + 1');`
* `public $virtualFields = array('two' => '1 + 1');`
*
* Is a simplistic example of how to set virtualFields
*
* @var array
* @access public
*/
var $virtualFields = array();
public $virtualFields = array();
/**
* Default list of association keys.
@ -633,10 +633,10 @@ class Model extends Overloadable {
* @param string $assoc Association name
* @param string $className Class name
* @deprecated $this->$className use $this->$assoc instead. $assoc is the 'key' in the associations array;
* examples: var $hasMany = array('Assoc' => array('className' => 'ModelName'));
* examples: public $hasMany = array('Assoc' => array('className' => 'ModelName'));
* usage: $this->Assoc->modelMethods();
*
* var $hasMany = array('ModelName');
* public $hasMany = array('ModelName');
* usage: $this->ModelName->modelMethods();
* @return void
* @access private

View file

@ -40,7 +40,7 @@ class ModelBehavior extends Object {
* @access public
* @see Model::$alias
*/
var $settings = array();
public $settings = array();
/**
* Allows the mapping of preg-compatible regular expressions to public or
@ -51,7 +51,7 @@ class ModelBehavior extends Object {
* @var array
* @access public
*/
var $mapMethods = array();
public $mapMethods = array();
/**
* Setup this behavior with the specified configuration settings.
@ -222,7 +222,7 @@ class BehaviorCollection extends Object {
* @var string
* @access public
*/
var $modelName = null;
public $modelName = null;
/**
* Lists the currently-attached behavior objects

View file

@ -32,7 +32,7 @@ class Router {
* @var array
* @access public
*/
var $routes = array();
public $routes = array();
/**
* List of action prefixes used in connected routes.
@ -80,7 +80,7 @@ class Router {
* @var string
* @access public
*/
var $named = array(
public $named = array(
'default' => array('page', 'fields', 'order', 'limit', 'recursive', 'sort', 'direction', 'step'),
'greedy' => true,
'separator' => ':',
@ -1224,7 +1224,7 @@ class CakeRoute {
* @var array
* @access public
*/
var $keys = array();
public $keys = array();
/**
* An array of additional parameters for the Route.
@ -1232,7 +1232,7 @@ class CakeRoute {
* @var array
* @access public
*/
var $options = array();
public $options = array();
/**
* Default parameters for a Route
@ -1240,7 +1240,7 @@ class CakeRoute {
* @var array
* @access public
*/
var $defaults = array();
public $defaults = array();
/**
* The routes template string.
@ -1248,7 +1248,7 @@ class CakeRoute {
* @var string
* @access public
*/
var $template = null;
public $template = null;
/**
* Is this route a greedy route? Greedy routes have a `/*` in their

View file

@ -32,7 +32,7 @@ class Security extends Object {
* @var string
* @access public
*/
var $hashType = null;
public $hashType = null;
/**
* Singleton implementation to get object instance.

View file

@ -35,7 +35,7 @@ class Validation extends Object {
* @var string
* @access public
*/
var $check = null;
public $check = null;
/**
* Set to a valid regular expression in the class methods.
@ -44,7 +44,7 @@ class Validation extends Object {
* @var string
* @access public
*/
var $regex = null;
public $regex = null;
/**
* Some complex patterns needed in multiple places
@ -63,7 +63,7 @@ class Validation extends Object {
* @var string
* @access public
*/
var $country = null;
public $country = null;
/**
* Some class methods use a deeper validation when set to true
@ -71,7 +71,7 @@ class Validation extends Object {
* @var string
* @access public
*/
var $deep = null;
public $deep = null;
/**
* Some class methods use the $type param to determine which validation to perfom in the method
@ -79,7 +79,7 @@ class Validation extends Object {
* @var string
* @access public
*/
var $type = null;
public $type = null;
/**
* Holds an array of errors messages set in this class.
@ -88,7 +88,7 @@ class Validation extends Object {
* @var array
* @access public
*/
var $errors = array();
public $errors = array();
/**
* Gets a reference to the Validation object instance

View file

@ -30,7 +30,7 @@
<?php
class <?php echo $controller;?> extends AppController {
var $name = '<?php echo $controllerName;?>';
public $name = '<?php echo $controllerName;?>';
<strong>
function <?php echo $action;?>() {

View file

@ -30,7 +30,7 @@
&lt;?php
class <?php echo $controller;?> extends AppController {
var $name = '<?php echo $controllerName;?>';
public $name = '<?php echo $controllerName;?>';
}
?&gt;
</pre>

View file

@ -30,7 +30,7 @@
&lt;?php
class <?php echo $model;?> extends AppModel {
var $name = '<?php echo $model;?>';
public $name = '<?php echo $model;?>';
}
?&gt;

View file

@ -39,77 +39,77 @@ class Helper extends Overloadable {
*
* @var array
*/
var $helpers = null;
public $helpers = null;
/**
* Base URL
*
* @var string
*/
var $base = null;
public $base = null;
/**
* Webroot path
*
* @var string
*/
var $webroot = null;
public $webroot = null;
/**
* The current theme name if any.
*
* @var string
*/
var $theme = null;
public $theme = null;
/**
* URL to current action.
*
* @var string
*/
var $here = null;
public $here = null;
/**
* Parameter array.
*
* @var array
*/
var $params = array();
public $params = array();
/**
* Current action.
*
* @var string
*/
var $action = null;
public $action = null;
/**
* Plugin path
*
* @var string
*/
var $plugin = null;
public $plugin = null;
/**
* POST data for models
*
* @var array
*/
var $data = null;
public $data = null;
/**
* List of named arguments
*
* @var array
*/
var $namedArgs = null;
public $namedArgs = null;
/**
* URL argument separator character
*
* @var string
*/
var $argSeparator = null;
public $argSeparator = null;
/**
* Contains model validation errors of form post-backs
@ -117,7 +117,7 @@ class Helper extends Overloadable {
* @access public
* @var array
*/
var $validationErrors = null;
public $validationErrors = null;
/**
* Holds tag templates.
@ -125,7 +125,7 @@ class Helper extends Overloadable {
* @access public
* @var array
*/
var $tags = array();
public $tags = array();
/**
* Holds the content to be cleaned.

View file

@ -35,7 +35,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $helpers = array('Html', 'Javascript', 'Form');
public $helpers = array('Html', 'Javascript', 'Form');
/**
* HtmlHelper instance
@ -43,7 +43,7 @@ class AjaxHelper extends AppHelper {
* @var HtmlHelper
* @access public
*/
var $Html = null;
public $Html = null;
/**
* JavaScriptHelper instance
@ -51,14 +51,14 @@ class AjaxHelper extends AppHelper {
* @var JavaScriptHelper
* @access public
*/
var $Javascript = null;
public $Javascript = null;
/**
* Names of Javascript callback functions.
*
* @var array
*/
var $callbacks = array(
public $callbacks = array(
'complete', 'create', 'exception', 'failure', 'interactive', 'loading',
'loaded', 'success', 'uninitialized'
);
@ -68,7 +68,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $ajaxOptions = array(
public $ajaxOptions = array(
'after', 'asynchronous', 'before', 'confirm', 'condition', 'contentType', 'encoding',
'evalScripts', 'failure', 'fallback', 'form', 'indicator', 'insertion', 'interactive',
'loaded', 'loading', 'method', 'onCreate', 'onComplete', 'onException', 'onFailure',
@ -81,7 +81,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $dragOptions = array(
public $dragOptions = array(
'handle', 'revert', 'snap', 'zindex', 'constraint', 'change', 'ghosting',
'starteffect', 'reverteffect', 'endeffect', 'scroll', 'scrollSensitivity',
'onStart', 'onDrag', 'onEnd'
@ -92,7 +92,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $dropOptions = array(
public $dropOptions = array(
'accept', 'containment', 'greedy', 'hoverclass', 'onHover', 'onDrop', 'overlap'
);
@ -101,7 +101,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $sortOptions = array(
public $sortOptions = array(
'constraint', 'containment', 'dropOnEmpty', 'ghosting', 'handle', 'hoverclass', 'onUpdate',
'onChange', 'only', 'overlap', 'scroll', 'scrollSensitivity', 'scrollSpeed', 'tag', 'tree',
'treeTag', 'update'
@ -112,7 +112,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $sliderOptions = array(
public $sliderOptions = array(
'alignX', 'alignY', 'axis', 'disabled', 'handleDisabled', 'handleImage', 'increment',
'maximum', 'minimum', 'onChange', 'onSlide', 'range', 'sliderValue', 'values'
);
@ -122,7 +122,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $editorOptions = array(
public $editorOptions = array(
'okText', 'cancelText', 'savingText', 'formId', 'externalControl', 'rows', 'cols', 'size',
'highlightcolor', 'highlightendcolor', 'savingClassName', 'formClassName', 'loadTextURL',
'loadingText', 'callback', 'ajaxOptions', 'clickToEditText', 'collection', 'okControl',
@ -134,7 +134,7 @@ class AjaxHelper extends AppHelper {
*
* @var array
*/
var $autoCompleteOptions = array(
public $autoCompleteOptions = array(
'afterUpdateElement', 'callback', 'frequency', 'indicator', 'minChars', 'onShow', 'onHide',
'parameters', 'paramName', 'tokens', 'updateElement'
);

View file

@ -53,7 +53,7 @@ class CacheHelper extends AppHelper {
* @var object
* @access public
*/
var $cacheAction;
public $cacheAction;
/**
* Main method used to cache a view

View file

@ -36,7 +36,7 @@ class FormHelper extends AppHelper {
* @var array
* @access public
*/
var $helpers = array('Html');
public $helpers = array('Html');
/**
* Holds the fields array('field_name' => array('type'=> 'string', 'length'=> 100),
@ -44,7 +44,7 @@ class FormHelper extends AppHelper {
*
* @access public
*/
var $fieldset = array();
public $fieldset = array();
/**
* Options used by DateTime fields
@ -62,7 +62,7 @@ class FormHelper extends AppHelper {
* @var array
* @access public
*/
var $fields = array();
public $fields = array();
/**
* Defines the type of form being created. Set by FormHelper::create().
@ -70,7 +70,7 @@ class FormHelper extends AppHelper {
* @var string
* @access public
*/
var $requestType = null;
public $requestType = null;
/**
* The default model being used for the current form.
@ -78,7 +78,7 @@ class FormHelper extends AppHelper {
* @var string
* @access public
*/
var $defaultModel = null;
public $defaultModel = null;
/**

View file

@ -32,7 +32,7 @@ class HtmlHelper extends AppHelper {
* @var array
* @access public
*/
var $tags = array(
public $tags = array(
'meta' => '<meta%s/>',
'metalink' => '<link href="%s"%s/>',
'link' => '<a href="%s"%s>%s</a>',

View file

@ -34,7 +34,7 @@ class JavascriptHelper extends AppHelper {
* @var boolean
* @access public
*/
var $useNative = false;
public $useNative = false;
/**
* If true, automatically writes events to the end of a script or to an external JavaScript file
@ -43,7 +43,7 @@ class JavascriptHelper extends AppHelper {
* @var boolean
* @access public
*/
var $enabled = true;
public $enabled = true;
/**
* Indicates whether <script /> blocks should be written 'safely,' i.e. wrapped in CDATA blocks
@ -51,7 +51,7 @@ class JavascriptHelper extends AppHelper {
* @var boolean
* @access public
*/
var $safe = false;
public $safe = false;
/**
* HTML tags used by this helper.
@ -59,7 +59,7 @@ class JavascriptHelper extends AppHelper {
* @var array
* @access public
*/
var $tags = array(
public $tags = array(
'javascriptstart' => '<script type="text/javascript">',
'javascriptend' => '</script>',
'javascriptblock' => '<script type="text/javascript">%s</script>',

View file

@ -109,7 +109,7 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
* @var string
* @access public
*/
var $jQueryObject = '$';
public $jQueryObject = '$';
/**
* Helper function to wrap repetitive simple method templating.

View file

@ -34,7 +34,7 @@ class JsHelper extends AppHelper {
* @var boolean
* @access public
*/
var $bufferScripts = true;
public $bufferScripts = true;
/**
* helpers
@ -42,7 +42,7 @@ class JsHelper extends AppHelper {
* @var array
* @access public
*/
var $helpers = array('Html', 'Form');
public $helpers = array('Html', 'Form');
/**
* Variables to pass to Javascript.
@ -76,7 +76,7 @@ class JsHelper extends AppHelper {
* @var string
* @access public
*/
var $setVariable = APP_DIR;
public $setVariable = APP_DIR;
/**
* Constructor - determines engine helper
@ -442,7 +442,7 @@ class JsBaseEngineHelper extends AppHelper {
* @var boolean
* @access public
*/
var $useNative = false;
public $useNative = false;
/**
* The js snippet for the current selection.
@ -450,7 +450,7 @@ class JsBaseEngineHelper extends AppHelper {
* @var string
* @access public
*/
var $selection;
public $selection;
/**
* Collection of option maps. Option maps allow other helpers to use generic names for engine
@ -469,7 +469,7 @@ class JsBaseEngineHelper extends AppHelper {
* @var array
* @access public
*/
var $bufferedMethods = array('event', 'sortable', 'drag', 'drop', 'slider');
public $bufferedMethods = array('event', 'sortable', 'drag', 'drop', 'slider');
/**
* Contains a list of callback names -> default arguments.

View file

@ -33,7 +33,7 @@ class PaginatorHelper extends AppHelper {
*
* @var array
*/
var $helpers = array('Html');
public $helpers = array('Html');
/**
* Holds the default model for paged recordsets
@ -73,12 +73,12 @@ class PaginatorHelper extends AppHelper {
* @var array
* @access public
*/
var $options = array();
public $options = array();
/**
* Constructor for the helper. Sets up the helper that is used for creating 'AJAX' links.
*
* Use `var $helpers = array('Paginator' => array('ajax' => 'CustomHelper'));` to set a custom Helper
* Use `public $helpers = array('Paginator' => array('ajax' => 'CustomHelper'));` to set a custom Helper
* or choose a non JsHelper Helper. If you want to use a specific library with JsHelper declare JsHelper and its
* adapter before including PaginatorHelper in your helpers array.
*

View file

@ -35,7 +35,7 @@ class RssHelper extends XmlHelper {
* @var array
* @access public
*/
var $helpers = array('Time');
public $helpers = array('Time');
/**
* Base URL
@ -43,7 +43,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $base = null;
public $base = null;
/**
* URL to current action.
@ -51,7 +51,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $here = null;
public $here = null;
/**
* Parameter array.
@ -59,7 +59,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var array
*/
var $params = array();
public $params = array();
/**
* Current action.
@ -67,7 +67,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $action = null;
public $action = null;
/**
* POSTed model data
@ -75,7 +75,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var array
*/
var $data = null;
public $data = null;
/**
* Name of the current model
@ -83,7 +83,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $model = null;
public $model = null;
/**
* Name of the current field
@ -91,7 +91,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $field = null;
public $field = null;
/**
* Default spec version of generated RSS
@ -99,7 +99,7 @@ class RssHelper extends XmlHelper {
* @access public
* @var string
*/
var $version = '2.0';
public $version = '2.0';
/**
* Returns an RSS document wrapped in `<rss />` tags

View file

@ -35,7 +35,7 @@ class SessionHelper extends CakeSession {
*
* @var array
*/
var $helpers = array();
public $helpers = array();
/**
* Used to determine if methods implementation is used, or bypassed

View file

@ -35,7 +35,7 @@ class XmlHelper extends AppHelper {
* @access public
* @var string
*/
var $encoding = 'UTF-8';
public $encoding = 'UTF-8';
/**
* Constructor

View file

@ -27,7 +27,7 @@ class MediaView extends View {
* @var array
* @access public
*/
var $mimeType = array(
public $mimeType = array(
'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh',

View file

@ -40,14 +40,14 @@ class View extends Object {
* @var string Base URL
* @access public
*/
var $base = null;
public $base = null;
/**
* Stores the current URL (for links etc.)
*
* @var string Current URL
*/
var $here = null;
public $here = null;
/**
* Name of the plugin.
@ -55,7 +55,7 @@ class View extends Object {
* @link http://manual.cakephp.org/chapter/plugins
* @var string
*/
var $plugin = null;
public $plugin = null;
/**
* Name of the controller.
@ -63,7 +63,7 @@ class View extends Object {
* @var string Name of controller
* @access public
*/
var $name = null;
public $name = null;
/**
* Action to be performed.
@ -71,28 +71,28 @@ class View extends Object {
* @var string Name of action
* @access public
*/
var $action = null;
public $action = null;
/**
* Array of parameter data
*
* @var array Parameter data
*/
var $params = array();
public $params = array();
/**
* Current passed params
*
* @var mixed
*/
var $passedArgs = array();
public $passedArgs = array();
/**
* Array of data
*
* @var array Parameter data
*/
var $data = array();
public $data = array();
/**
* An array of names of built-in helpers to include.
@ -100,14 +100,14 @@ class View extends Object {
* @var mixed A single name as a string or a list of names as an array.
* @access public
*/
var $helpers = array('Html');
public $helpers = array('Html');
/**
* Path to View.
*
* @var string Path to View
*/
var $viewPath = null;
public $viewPath = null;
/**
* Variables for the view
@ -115,7 +115,7 @@ class View extends Object {
* @var array
* @access public
*/
var $viewVars = array();
public $viewVars = array();
/**
* Name of layout to use with this View.
@ -123,14 +123,14 @@ class View extends Object {
* @var string
* @access public
*/
var $layout = 'default';
public $layout = 'default';
/**
* Path to Layout.
*
* @var string Path to Layout
*/
var $layoutPath = null;
public $layoutPath = null;
/**
* Turns on or off Cake's conventional mode of rendering views. On by default.
@ -138,7 +138,7 @@ class View extends Object {
* @var boolean
* @access public
*/
var $autoRender = true;
public $autoRender = true;
/**
* Turns on or off Cake's conventional mode of finding layout files. On by default.
@ -146,7 +146,7 @@ class View extends Object {
* @var boolean
* @access public
*/
var $autoLayout = true;
public $autoLayout = true;
/**
* File extension. Defaults to Cake's template ".ctp".
@ -154,7 +154,7 @@ class View extends Object {
* @var string
* @access public
*/
var $ext = '.ctp';
public $ext = '.ctp';
/**
* Sub-directory for this view file.
@ -162,7 +162,7 @@ class View extends Object {
* @var string
* @access public
*/
var $subDir = null;
public $subDir = null;
/**
* Theme name.
@ -170,7 +170,7 @@ class View extends Object {
* @var string
* @access public
*/
var $theme = null;
public $theme = null;
/**
* Used to define methods a controller that will be cached.
@ -179,7 +179,7 @@ class View extends Object {
* @var mixed
* @access public
*/
var $cacheAction = false;
public $cacheAction = false;
/**
* holds current errors for the model validation
@ -187,7 +187,7 @@ class View extends Object {
* @var array
* @access public
*/
var $validationErrors = array();
public $validationErrors = array();
/**
* True when the view has been rendered.
@ -195,7 +195,7 @@ class View extends Object {
* @var boolean
* @access public
*/
var $hasRendered = false;
public $hasRendered = false;
/**
* Array of loaded view helpers.
@ -203,7 +203,7 @@ class View extends Object {
* @var array
* @access public
*/
var $loaded = array();
public $loaded = array();
/**
* True if in scope of model-specific region
@ -211,7 +211,7 @@ class View extends Object {
* @var boolean
* @access public
*/
var $modelScope = false;
public $modelScope = false;
/**
* Name of current model this view context is attached to
@ -219,7 +219,7 @@ class View extends Object {
* @var string
* @access public
*/
var $model = null;
public $model = null;
/**
* Name of association model this view context is attached to
@ -227,7 +227,7 @@ class View extends Object {
* @var string
* @access public
*/
var $association = null;
public $association = null;
/**
* Name of current model field this view context is attached to
@ -235,7 +235,7 @@ class View extends Object {
* @var string
* @access public
*/
var $field = null;
public $field = null;
/**
* Suffix of current field this view context is attached to
@ -243,7 +243,7 @@ class View extends Object {
* @var string
* @access public
*/
var $fieldSuffix = null;
public $fieldSuffix = null;
/**
* The current model ID this view context is attached to
@ -251,7 +251,7 @@ class View extends Object {
* @var mixed
* @access public
*/
var $modelId = null;
public $modelId = null;
/**
* List of generated DOM UUIDs
@ -259,7 +259,7 @@ class View extends Object {
* @var array
* @access public
*/
var $uuids = array();
public $uuids = array();
/**
* Holds View output.
@ -267,7 +267,7 @@ class View extends Object {
* @var string
* @access public
*/
var $output = false;
public $output = false;
/**
* List of variables to collect from the associated controller

View file

@ -38,7 +38,7 @@ class XmlNode extends Object {
* @var string
* @access public
*/
var $name = null;
public $name = null;
/**
* Node namespace
@ -46,7 +46,7 @@ class XmlNode extends Object {
* @var string
* @access public
*/
var $namespace = null;
public $namespace = null;
/**
* Namespaces defined for this node and all child nodes
@ -54,7 +54,7 @@ class XmlNode extends Object {
* @var array
* @access public
*/
var $namespaces = array();
public $namespaces = array();
/**
* Value of node
@ -62,7 +62,7 @@ class XmlNode extends Object {
* @var string
* @access public
*/
var $value;
public $value;
/**
* Attributes on this node
@ -70,7 +70,7 @@ class XmlNode extends Object {
* @var array
* @access public
*/
var $attributes = array();
public $attributes = array();
/**
* This node's children
@ -78,7 +78,7 @@ class XmlNode extends Object {
* @var array
* @access public
*/
var $children = array();
public $children = array();
/**
* Reference to parent node.
@ -829,7 +829,7 @@ class Xml extends XmlNode {
* @var string
* @access private
*/
var $version = '1.0';
public $version = '1.0';
/**
* XML document encoding
@ -837,7 +837,7 @@ class Xml extends XmlNode {
* @var string
* @access private
*/
var $encoding = 'UTF-8';
public $encoding = 'UTF-8';
/**
* Constructor. Sets up the XML parser with options, gives it this object as
@ -1337,14 +1337,14 @@ class XmlTextNode extends XmlNode {
*
* @var string
*/
var $name = '#text';
public $name = '#text';
/**
* The text/data value which this node contains
*
* @var string
*/
var $value = null;
public $value = null;
/**
* Construct text node with the given parent object and data
@ -1420,7 +1420,7 @@ class XmlManager {
* @var array
* @access public
*/
var $namespaces = array();
public $namespaces = array();
/**
* Global XML document parsing/generation settings.
@ -1428,7 +1428,7 @@ class XmlManager {
* @var array
* @access public
*/
var $options = array();
public $options = array();
/**
* Map of common namespace URIs
@ -1436,7 +1436,7 @@ class XmlManager {
* @access private
* @var array
*/
var $defaultNamespaceMap = array(
public $defaultNamespaceMap = array(
'dc' => 'http://purl.org/dc/elements/1.1/', // Dublin Core
'dct' => 'http://purl.org/dc/terms/', // Dublin Core Terms
'g' => 'http://base.google.com/ns/1.0', // Google Base

View file

@ -44,7 +44,7 @@ class TestShellDispatcher extends ShellDispatcher {
* @var array
* @access public
*/
var $params = array();
public $params = array();
/**
* stdout property
@ -52,7 +52,7 @@ class TestShellDispatcher extends ShellDispatcher {
* @var string
* @access public
*/
var $stdout = '';
public $stdout = '';
/**
* stderr property
@ -60,7 +60,7 @@ class TestShellDispatcher extends ShellDispatcher {
* @var string
* @access public
*/
var $stderr = '';
public $stderr = '';
/**
* stopped property
@ -68,7 +68,7 @@ class TestShellDispatcher extends ShellDispatcher {
* @var string
* @access public
*/
var $stopped = null;
public $stopped = null;
/**
* TestShell
@ -76,7 +76,7 @@ class TestShellDispatcher extends ShellDispatcher {
* @var mixed
* @access public
*/
var $TestShell;
public $TestShell;
/**
* _initEnvironment method

View file

@ -59,7 +59,7 @@ class AclShellTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.aco', 'core.aro', 'core.aros_aco');
public $fixtures = array('core.aco', 'core.aro', 'core.aros_aco');
/**
* configure Configure for testcase

View file

@ -51,7 +51,7 @@ Mock::generate('ControllerTask', 'BakeShellMockControllerTask');
if (!class_exists('UsersController')) {
class UsersController extends Controller {
var $name = 'Users';
public $name = 'Users';
}
}
@ -63,7 +63,7 @@ class BakeShellTestCase extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.user');
public $fixtures = array('core.user');
/**
* start test

View file

@ -60,7 +60,7 @@ class SchemaShellTestSchema extends CakeSchema {
* @var string 'MyApp'
* @access public
*/
var $name = 'SchemaShellTest';
public $name = 'SchemaShellTest';
/**
* connection property
@ -68,7 +68,7 @@ class SchemaShellTestSchema extends CakeSchema {
* @var string 'test_suite'
* @access public
*/
var $connection = 'test_suite';
public $connection = 'test_suite';
/**
* comments property
@ -76,7 +76,7 @@ class SchemaShellTestSchema extends CakeSchema {
* @var array
* @access public
*/
var $comments = array(
public $comments = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
'post_id' => array('type' => 'integer', 'null' => false, 'default' => 0),
'user_id' => array('type' => 'integer', 'null' => false),
@ -94,7 +94,7 @@ class SchemaShellTestSchema extends CakeSchema {
* @var array
* @access public
*/
var $articles = array(
public $articles = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => 0, 'key' => 'primary'),
'user_id' => array('type' => 'integer', 'null' => true, 'default' => ''),
'title' => array('type' => 'string', 'null' => false, 'default' => 'Title'),
@ -121,7 +121,7 @@ class SchemaShellTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
public $fixtures = array('core.article', 'core.user', 'core.post', 'core.auth_user', 'core.author',
'core.comment', 'core.test_plugin_comment'
);

View file

@ -52,14 +52,14 @@ class TestShell extends Shell {
* @var name
* @access public
*/
var $name = 'TestShell';
public $name = 'TestShell';
/**
* stopped property
*
* @var integer
* @access public
*/
var $stopped;
public $stopped;
/**
* stop method
@ -105,7 +105,7 @@ class ShellTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array(
public $fixtures = array(
'core.post', 'core.comment', 'core.article', 'core.user',
'core.tag', 'core.articles_tag', 'core.attachment'
);

View file

@ -69,9 +69,9 @@ if (!$imported) {
App::import('Core', 'Model');
class Article extends Model {
var $name = 'Article';
var $hasMany = array('Comment');
var $hasAndBelongsToMany = array('Tag');
public $name = 'Article';
public $hasMany = array('Comment');
public $hasAndBelongsToMany = array('Tag');
}
}
@ -90,7 +90,7 @@ class ControllerTaskTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
/**
* startTest method

View file

@ -44,7 +44,7 @@ Mock::generatePartial(
);
class TEST_DATABASE_CONFIG {
var $default = array(
public $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
@ -54,7 +54,7 @@ class TEST_DATABASE_CONFIG {
'prefix' => '',
);
var $otherOne = array(
public $otherOne = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',

View file

@ -62,7 +62,7 @@ class FixtureTaskTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.article', 'core.comment', 'core.datatype', 'core.binary_test');
public $fixtures = array('core.article', 'core.comment', 'core.datatype', 'core.binary_test');
/**
* startTest method

View file

@ -67,7 +67,7 @@ class ModelTaskTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag', 'core.category_thread');
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag', 'core.category_thread');
/**
* starTest method

View file

@ -61,7 +61,7 @@ class TestTaskArticle extends Model {
* @var string
* @access public
*/
var $name = 'TestTaskArticle';
public $name = 'TestTaskArticle';
/**
* Table name to use
@ -69,7 +69,7 @@ class TestTaskArticle extends Model {
* @var string
* @access public
*/
var $useTable = 'articles';
public $useTable = 'articles';
/**
* HasMany Associations
@ -77,7 +77,7 @@ class TestTaskArticle extends Model {
* @var array
* @access public
*/
var $hasMany = array(
public $hasMany = array(
'Comment' => array(
'className' => 'TestTask.TestTaskComment',
'foreignKey' => 'article_id',
@ -90,7 +90,7 @@ class TestTaskArticle extends Model {
* @var array
* @access public
*/
var $hasAndBelongsToMany = array(
public $hasAndBelongsToMany = array(
'Tag' => array(
'className' => 'TestTaskTag',
'joinTable' => 'articles_tags',
@ -141,7 +141,7 @@ class TestTaskTag extends Model {
* @var string
* @access public
*/
var $name = 'TestTaskTag';
public $name = 'TestTaskTag';
/**
* Table name
@ -149,7 +149,7 @@ class TestTaskTag extends Model {
* @var string
* @access public
*/
var $useTable = 'tags';
public $useTable = 'tags';
/**
* Has and Belongs To Many Associations
@ -157,7 +157,7 @@ class TestTaskTag extends Model {
* @var array
* @access public
*/
var $hasAndBelongsToMany = array(
public $hasAndBelongsToMany = array(
'Article' => array(
'className' => 'TestTaskArticle',
'joinTable' => 'articles_tags',
@ -190,7 +190,7 @@ class TestTaskComment extends TestTaskAppModel {
* @var string
* @access public
*/
var $name = 'TestTaskComment';
public $name = 'TestTaskComment';
/**
* Table name
@ -198,7 +198,7 @@ class TestTaskComment extends TestTaskAppModel {
* @var string
* @access public
*/
var $useTable = 'comments';
public $useTable = 'comments';
/**
* Belongs To Associations
@ -206,7 +206,7 @@ class TestTaskComment extends TestTaskAppModel {
* @var array
* @access public
*/
var $belongsTo = array(
public $belongsTo = array(
'Article' => array(
'className' => 'TestTaskArticle',
'foreignKey' => 'article_id',
@ -228,7 +228,7 @@ class TestTaskCommentsController extends Controller {
* @var string
* @access public
*/
var $name = 'TestTaskComments';
public $name = 'TestTaskComments';
/**
* Models to use
@ -236,7 +236,7 @@ class TestTaskCommentsController extends Controller {
* @var array
* @access public
*/
var $uses = array('TestTaskComment', 'TestTaskTag');
public $uses = array('TestTaskComment', 'TestTaskTag');
}
/**
@ -253,7 +253,7 @@ class TestTaskTest extends CakeTestCase {
* @var string
* @access public
*/
var $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
/**
* startTest method

View file

@ -63,7 +63,7 @@ class ViewTaskComment extends Model {
* @var string
* @access public
*/
var $name = 'ViewTaskComment';
public $name = 'ViewTaskComment';
/**
* Table name
@ -71,7 +71,7 @@ class ViewTaskComment extends Model {
* @var string
* @access public
*/
var $useTable = 'comments';
public $useTable = 'comments';
/**
* Belongs To Associations
@ -79,7 +79,7 @@ class ViewTaskComment extends Model {
* @var array
* @access public
*/
var $belongsTo = array(
public $belongsTo = array(
'Article' => array(
'className' => 'ViewTaskArticle',
'foreignKey' => 'article_id'
@ -101,7 +101,7 @@ class ViewTaskArticle extends Model {
* @var string
* @access public
*/
var $name = 'ViewTaskArticle';
public $name = 'ViewTaskArticle';
/**
* Table name
@ -109,7 +109,7 @@ class ViewTaskArticle extends Model {
* @var string
* @access public
*/
var $useTable = 'articles';
public $useTable = 'articles';
}
/**
@ -126,7 +126,7 @@ class ViewTaskCommentsController extends Controller {
* @var string
* @access public
*/
var $name = 'ViewTaskComments';
public $name = 'ViewTaskComments';
/**
* Testing public controller action
@ -161,7 +161,7 @@ class ViewTaskArticlesController extends Controller {
* @var string
* @access public
*/
var $name = 'ViewTaskArticles';
public $name = 'ViewTaskArticles';
/**
* Test public controller action
@ -241,7 +241,7 @@ class ViewTaskTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
public $fixtures = array('core.article', 'core.comment', 'core.articles_tag', 'core.tag');
/**
* startTest method

View file

@ -99,7 +99,7 @@ class MyPluginController extends MyPluginAppController {
* @var string 'MyPlugin'
* @access public
*/
var $name = 'MyPlugin';
public $name = 'MyPlugin';
/**
* uses property
@ -107,7 +107,7 @@ class MyPluginController extends MyPluginAppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* index method
@ -155,7 +155,7 @@ class SomePagesController extends AppController {
* @var string 'SomePages'
* @access public
*/
var $name = 'SomePages';
public $name = 'SomePages';
/**
* uses property
@ -163,7 +163,7 @@ class SomePagesController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* display method
@ -221,7 +221,7 @@ class OtherPagesController extends MyPluginAppController {
* @var string 'OtherPages'
* @access public
*/
var $name = 'OtherPages';
public $name = 'OtherPages';
/**
* uses property
@ -229,7 +229,7 @@ class OtherPagesController extends MyPluginAppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* display method
@ -267,7 +267,7 @@ class TestDispatchPagesController extends AppController {
* @var string 'TestDispatchPages'
* @access public
*/
var $name = 'TestDispatchPages';
public $name = 'TestDispatchPages';
/**
* uses property
@ -275,7 +275,7 @@ class TestDispatchPagesController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* admin_index method
@ -321,7 +321,7 @@ class ArticlesTestController extends ArticlesTestAppController {
* @var string 'ArticlesTest'
* @access public
*/
var $name = 'ArticlesTest';
public $name = 'ArticlesTest';
/**
* uses property
@ -329,7 +329,7 @@ class ArticlesTestController extends ArticlesTestAppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* admin_index method
@ -356,7 +356,7 @@ class SomePostsController extends AppController {
* @var string 'SomePosts'
* @access public
*/
var $name = 'SomePosts';
public $name = 'SomePosts';
/**
* uses property
@ -364,7 +364,7 @@ class SomePostsController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* autoRender property
@ -372,7 +372,7 @@ class SomePostsController extends AppController {
* @var bool false
* @access public
*/
var $autoRender = false;
public $autoRender = false;
/**
* beforeFilter method
@ -424,7 +424,7 @@ class TestCachedPagesController extends AppController {
* @var string 'TestCachedPages'
* @access public
*/
var $name = 'TestCachedPages';
public $name = 'TestCachedPages';
/**
* uses property
@ -432,7 +432,7 @@ class TestCachedPagesController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* helpers property
@ -440,7 +440,7 @@ class TestCachedPagesController extends AppController {
* @var array
* @access public
*/
var $helpers = array('Cache');
public $helpers = array('Cache');
/**
* cacheAction property
@ -448,7 +448,7 @@ class TestCachedPagesController extends AppController {
* @var array
* @access public
*/
var $cacheAction = array(
public $cacheAction = array(
'index' => '+2 sec',
'test_nocache_tags' => '+2 sec',
'view' => '+2 sec'
@ -460,7 +460,7 @@ class TestCachedPagesController extends AppController {
* @var string 'posts'
* @access public
*/
var $viewPath = 'posts';
public $viewPath = 'posts';
/**
* index method
@ -516,7 +516,7 @@ class TimesheetsController extends AppController {
* @var string 'Timesheets'
* @access public
*/
var $name = 'Timesheets';
public $name = 'Timesheets';
/**
* uses property
@ -524,7 +524,7 @@ class TimesheetsController extends AppController {
* @var array
* @access public
*/
var $uses = array();
public $uses = array();
/**
* index method

View file

@ -35,7 +35,7 @@ class FileEngineTest extends CakeTestCase {
* @var array
* @access public
*/
var $config = array();
public $config = array();
/**
* startCase method

View file

@ -35,7 +35,7 @@ class CakeSessionTest extends CakeTestCase {
* @var array
* @access public
*/
var $fixtures = array('core.session');
public $fixtures = array('core.session');
/**
* startCase method

Some files were not shown because too many files have changed in this diff Show more