Changed all $_ declared variables to protected.

This commit is contained in:
predominant 2010-04-04 16:36:12 +10:00
parent 29dc12dbc2
commit 329a13fe5f
51 changed files with 127 additions and 127 deletions

View file

@ -48,7 +48,7 @@ class FixtureTask extends BakeTask {
* @var object * @var object
* @access protected * @access protected
*/ */
var $_Schema = null; protected $_Schema = null;
/** /**
* Override initialize * Override initialize

View file

@ -58,7 +58,7 @@ class ModelTask extends BakeTask {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_tables = array(); protected $_tables = array();
/** /**
* Holds validation method map. * Holds validation method map.
@ -66,7 +66,7 @@ class ModelTask extends BakeTask {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_validations = array(); protected $_validations = array();
/** /**
* Execution method always used for tasks * Execution method always used for tasks

View file

@ -58,7 +58,7 @@ class TestTask extends BakeTask {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_fixtures = array(); protected $_fixtures = array();
/** /**

View file

@ -58,7 +58,7 @@ class Cache {
* *
* @var array * @var array
*/ */
var $_engines = array(); protected $_engines = array();
/** /**
* Returns a singleton instance * Returns a singleton instance

View file

@ -37,7 +37,7 @@ class FileEngine extends CacheEngine {
* @var File * @var File
* @access protected * @access protected
*/ */
var $_File = null; protected $_File = null;
/** /**
* Settings * Settings
@ -59,7 +59,7 @@ class FileEngine extends CacheEngine {
* @var boolean * @var boolean
* @access protected * @access protected
*/ */
var $_init = true; protected $_init = true;
/** /**
* Initialize the Cache Engine * Initialize the Cache Engine

View file

@ -54,7 +54,7 @@ class CakeLog {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_streams = array(); protected $_streams = array();
/** /**
* Get an instance * Get an instance

View file

@ -56,7 +56,7 @@ class CakeSession extends Object {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_userAgent = ''; protected $_userAgent = '';
/** /**
* Path to where the session is active. * Path to where the session is active.
@ -120,7 +120,7 @@ class CakeSession extends Object {
* @var boolean * @var boolean
* @access protected * @access protected
*/ */
var $_started = false; protected $_started = false;
/** /**
* Hostname * Hostname

View file

@ -43,7 +43,7 @@ class CakeSocket extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => false, 'persistent' => false,
'host' => 'localhost', 'host' => 'localhost',
'protocol' => 'tcp', 'protocol' => 'tcp',

View file

@ -40,7 +40,7 @@ class Component extends Object {
* @var object * @var object
* @access protected * @access protected
*/ */
var $_loaded = array(); protected $_loaded = array();
/** /**
* List of components attached directly to the controller, which callbacks * List of components attached directly to the controller, which callbacks
@ -49,7 +49,7 @@ class Component extends Object {
* @var object * @var object
* @access protected * @access protected
*/ */
var $_primary = array(); protected $_primary = array();
/** /**
* Settings for loaded components. * Settings for loaded components.

View file

@ -38,7 +38,7 @@ class AclComponent extends Object {
* @var object * @var object
* @access protected * @access protected
*/ */
var $_Instance = null; protected $_Instance = null;
/** /**
* Constructor. Will return an instance of the correct ACL class as defined in `Configure::read('Acl.classname')` * Constructor. Will return an instance of the correct ACL class as defined in `Configure::read('Acl.classname')`

View file

@ -38,7 +38,7 @@ class AuthComponent extends Object {
* @var boolean * @var boolean
* @access private * @access private
*/ */
var $_loggedIn = false; protected $_loggedIn = false;
/** /**
* Other components utilized by AuthComponent * Other components utilized by AuthComponent
@ -244,7 +244,7 @@ class AuthComponent extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_methods = array(); protected $_methods = array();
/** /**
* Initializes AuthComponent for use in the controller * Initializes AuthComponent for use in the controller

View file

@ -150,7 +150,7 @@ class EmailComponent extends Object{
/** /**
* @deprecated see lineLength * @deprecated see lineLength
*/ */
var $_lineLength = null; protected $_lineLength = null;
/** /**
* What format should the email be sent in * What format should the email be sent in

View file

@ -166,7 +166,7 @@ class SecurityComponent extends Object {
* *
* @var string * @var string
*/ */
var $_action = null; protected $_action = null;
/** /**
* Initialize the SecurityComponent * Initialize the SecurityComponent

View file

@ -127,7 +127,7 @@ class Scaffold extends Object {
* @var boolean * @var boolean
* @access public * @access public
*/ */
var $_validSession = null; protected $_validSession = null;
/** /**
* List of variables to collect from the associated controller * List of variables to collect from the associated controller

View file

@ -67,7 +67,7 @@ class Debugger extends Object {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_outputFormat = 'js'; protected $_outputFormat = 'js';
/** /**
* Templates used when generating trace or error strings. Can be global or indexed by the format * Templates used when generating trace or error strings. Can be global or indexed by the format
@ -76,7 +76,7 @@ class Debugger extends Object {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_templates = array( protected $_templates = array(
'log' => array( 'log' => array(
'trace' => '{:reference} - {:path}, line {:line}', 'trace' => '{:reference} - {:path}, line {:line}',
'error' => "{:error} ({:code}): {:description} in [{:file}, line {:line}]" 'error' => "{:error} ({:code}): {:description} in [{:file}, line {:line}]"
@ -111,7 +111,7 @@ class Debugger extends Object {
* @var string * @var string
* @access private * @access private
*/ */
var $_data = array(); protected $_data = array();
/** /**
* Constructor. * Constructor.

View file

@ -38,7 +38,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_plural = array( protected $_plural = array(
'rules' => array( 'rules' => array(
'/(s)tatus$/i' => '\1\2tatuses', '/(s)tatus$/i' => '\1\2tatuses',
'/(quiz)$/i' => '\1zes', '/(quiz)$/i' => '\1zes',
@ -106,7 +106,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_singular = array( protected $_singular = array(
'rules' => array( 'rules' => array(
'/(s)tatuses$/i' => '\1\2tatus', '/(s)tatuses$/i' => '\1\2tatus',
'/^(.*)(menu)s$/i' => '\1\2', '/^(.*)(menu)s$/i' => '\1\2',
@ -157,7 +157,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_uninflected = array( protected $_uninflected = array(
'Amoyese', 'bison', 'Borghese', 'bream', 'breeches', 'britches', 'buffalo', 'cantus', 'Amoyese', 'bison', 'Borghese', 'bream', 'breeches', 'britches', 'buffalo', 'cantus',
'carp', 'chassis', 'clippers', 'cod', 'coitus', 'Congoese', 'contretemps', 'corps', 'carp', 'chassis', 'clippers', 'cod', 'coitus', 'Congoese', 'contretemps', 'corps',
'debris', 'diabetes', 'djinn', 'eland', 'elk', 'equipment', 'Faroese', 'flounder', 'debris', 'diabetes', 'djinn', 'eland', 'elk', 'equipment', 'Faroese', 'flounder',
@ -178,7 +178,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_transliteration = array( protected $_transliteration = array(
'/à|á|å|â/' => 'a', '/à|á|å|â/' => 'a',
'/è|é|ê|ẽ|ë/' => 'e', '/è|é|ê|ẽ|ë/' => 'e',
'/ì|í|î/' => 'i', '/ì|í|î/' => 'i',
@ -201,7 +201,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_pluralized = array(); protected $_pluralized = array();
/** /**
* Cached array identity map of singularized words. * Cached array identity map of singularized words.
@ -209,7 +209,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_singularized = array(); protected $_singularized = array();
/** /**
* Cached Underscore Inflections * Cached Underscore Inflections
@ -217,7 +217,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_underscore = array(); protected $_underscore = array();
/** /**
* Cached Camelize Inflections * Cached Camelize Inflections
@ -225,7 +225,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_camelize = array(); protected $_camelize = array();
/** /**
* Classify cached inflecctions * Classify cached inflecctions
@ -233,7 +233,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_classify = array(); protected $_classify = array();
/** /**
* Tablize cached inflections * Tablize cached inflections
@ -241,7 +241,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_tableize = array(); protected $_tableize = array();
/** /**
* Humanize cached inflections * Humanize cached inflections
@ -249,7 +249,7 @@ class Inflector {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_humanize = array(); protected $_humanize = array();
/** /**
* Gets a reference to the Inflector object instance * Gets a reference to the Inflector object instance

View file

@ -34,7 +34,7 @@ class FileLog {
* *
* @var string * @var string
*/ */
var $_path = null; protected $_path = null;
/** /**
* Constructs a new File Logger. * Constructs a new File Logger.

View file

@ -44,7 +44,7 @@ class TreeBehavior extends ModelBehavior {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_defaults = array( protected $_defaults = array(
'parent' => 'parent_id', 'left' => 'lft', 'right' => 'rght', 'parent' => 'parent_id', 'left' => 'lft', 'right' => 'rght',
'scope' => '1 = 1', 'type' => 'nested', '__parentChange' => false, 'recursive' => -1 'scope' => '1 = 1', 'type' => 'nested', '__parentChange' => false, 'recursive' => -1
); );

View file

@ -44,7 +44,7 @@ class ConnectionManager extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_dataSources = array(); protected $_dataSources = array();
/** /**
* Contains a list of all file and class names used in Connection settings * Contains a list of all file and class names used in Connection settings
@ -52,7 +52,7 @@ class ConnectionManager extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_connectionsEnum = array(); protected $_connectionsEnum = array();
/** /**
* Constructor. * Constructor.

View file

@ -96,7 +96,7 @@ class DataSource extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_result = null; protected $_result = null;
/** /**
* Queries count. * Queries count.
@ -104,7 +104,7 @@ class DataSource extends Object {
* @var int * @var int
* @access protected * @access protected
*/ */
var $_queriesCnt = 0; protected $_queriesCnt = 0;
/** /**
* Total duration of all queries. * Total duration of all queries.
@ -112,7 +112,7 @@ class DataSource extends Object {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_queriesTime = null; protected $_queriesTime = null;
/** /**
* Log of queries executed by this DataSource * Log of queries executed by this DataSource
@ -120,7 +120,7 @@ class DataSource extends Object {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_queriesLog = array(); protected $_queriesLog = array();
/** /**
* Maximum number of items in query log * Maximum number of items in query log
@ -130,7 +130,7 @@ class DataSource extends Object {
* @var int Maximum number of queries in the queries log. * @var int Maximum number of queries in the queries log.
* @access protected * @access protected
*/ */
var $_queriesLogMax = 200; protected $_queriesLogMax = 200;
/** /**
* Caches serialzed results of executed queries * Caches serialzed results of executed queries
@ -138,7 +138,7 @@ class DataSource extends Object {
* @var array Maximum number of queries in the queries log. * @var array Maximum number of queries in the queries log.
* @access protected * @access protected
*/ */
var $_queryCache = array(); protected $_queryCache = array();
/** /**
* The default configuration of a specific DataSource * The default configuration of a specific DataSource
@ -146,7 +146,7 @@ class DataSource extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_baseConfig = array(); protected $_baseConfig = array();
/** /**
* Holds references to descriptions loaded by the DataSource * Holds references to descriptions loaded by the DataSource
@ -162,7 +162,7 @@ class DataSource extends Object {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_sources = null; protected $_sources = null;
/** /**
* A reference to the physical connection of this DataSource * A reference to the physical connection of this DataSource
@ -194,7 +194,7 @@ class DataSource extends Object {
* @var boolean * @var boolean
* @access protected * @access protected
*/ */
var $_transactionStarted = false; protected $_transactionStarted = false;
/** /**
* Whether or not source data like available tables and schema descriptions * Whether or not source data like available tables and schema descriptions

View file

@ -62,7 +62,7 @@ class DboMssql extends DboSource {
* *
* @var array * @var array
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'host' => 'localhost', 'host' => 'localhost',
'login' => 'root', 'login' => 'root',
@ -96,7 +96,7 @@ class DboMssql extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_commands = array( protected $_commands = array(
'begin' => 'BEGIN TRANSACTION', 'begin' => 'BEGIN TRANSACTION',
'commit' => 'COMMIT', 'commit' => 'COMMIT',
'rollback' => 'ROLLBACK' 'rollback' => 'ROLLBACK'

View file

@ -53,7 +53,7 @@ class DboMysqlBase extends DboSource {
* @var boolean * @var boolean
* @access protected * @access protected
*/ */
var $_useAlias = true; protected $_useAlias = true;
/** /**
* Index of basic SQL commands * Index of basic SQL commands
@ -61,7 +61,7 @@ class DboMysqlBase extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_commands = array( protected $_commands = array(
'begin' => 'START TRANSACTION', 'begin' => 'START TRANSACTION',
'commit' => 'COMMIT', 'commit' => 'COMMIT',
'rollback' => 'ROLLBACK' 'rollback' => 'ROLLBACK'
@ -518,7 +518,7 @@ class DboMysql extends DboMysqlBase {
* *
* @var array * @var array
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'host' => 'localhost', 'host' => 'localhost',
'login' => 'root', 'login' => 'root',

View file

@ -41,7 +41,7 @@ class DboMysqli extends DboMysqlBase {
* *
* @var array * @var array
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'host' => 'localhost', 'host' => 'localhost',
'login' => 'root', 'login' => 'root',

View file

@ -46,7 +46,7 @@ class DboOracle extends DboSource {
/** /**
* Sequence names as introspected from the database * Sequence names as introspected from the database
*/ */
var $_sequences = array(); protected $_sequences = array();
/** /**
* Transaction in progress flag * Transaction in progress flag
@ -90,7 +90,7 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_limit = -1; protected $_limit = -1;
/** /**
* Enter description here... * Enter description here...
@ -98,7 +98,7 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_offset = 0; protected $_offset = 0;
/** /**
* Enter description here... * Enter description here...
@ -106,7 +106,7 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_map; protected $_map;
/** /**
* Enter description here... * Enter description here...
@ -114,7 +114,7 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_currentRow; protected $_currentRow;
/** /**
* Enter description here... * Enter description here...
@ -122,7 +122,7 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_numRows; protected $_numRows;
/** /**
* Enter description here... * Enter description here...
@ -130,21 +130,21 @@ class DboOracle extends DboSource {
* @var unknown_type * @var unknown_type
* @access protected * @access protected
*/ */
var $_results; protected $_results;
/** /**
* Last error issued by oci extension * Last error issued by oci extension
* *
* @var unknown_type * @var unknown_type
*/ */
var $_error; protected $_error;
/** /**
* Base configuration settings for MySQL driver * Base configuration settings for MySQL driver
* *
* @var array * @var array
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'host' => 'localhost', 'host' => 'localhost',
'login' => 'system', 'login' => 'system',
@ -159,7 +159,7 @@ class DboOracle extends DboSource {
* *
* @var unknown_type * @var unknown_type
*/ */
var $_sequenceMap = array(); protected $_sequenceMap = array();
/** /**
* Connects to the database using options in the given configuration array. * Connects to the database using options in the given configuration array.

View file

@ -42,7 +42,7 @@ class DboPostgres extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_commands = array( protected $_commands = array(
'begin' => 'BEGIN', 'begin' => 'BEGIN',
'commit' => 'COMMIT', 'commit' => 'COMMIT',
'rollback' => 'ROLLBACK' 'rollback' => 'ROLLBACK'
@ -54,7 +54,7 @@ class DboPostgres extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'host' => 'localhost', 'host' => 'localhost',
'login' => 'root', 'login' => 'root',
@ -103,7 +103,7 @@ class DboPostgres extends DboSource {
* *
* @var array * @var array
*/ */
var $_sequenceMap = array(); protected $_sequenceMap = array();
/** /**
* Connects to the database using options in the given configuration array. * Connects to the database using options in the given configuration array.

View file

@ -55,14 +55,14 @@ class DboSqlite extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_queryStats = array(); protected $_queryStats = array();
/** /**
* Base configuration settings for SQLite driver * Base configuration settings for SQLite driver
* *
* @var array * @var array
*/ */
var $_baseConfig = array( protected $_baseConfig = array(
'persistent' => true, 'persistent' => true,
'database' => null 'database' => null
); );
@ -73,7 +73,7 @@ class DboSqlite extends DboSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_commands = array( protected $_commands = array(
'begin' => 'BEGIN TRANSACTION', 'begin' => 'BEGIN TRANSACTION',
'commit' => 'COMMIT TRANSACTION', 'commit' => 'COMMIT TRANSACTION',
'rollback' => 'ROLLBACK TRANSACTION' 'rollback' => 'ROLLBACK TRANSACTION'

View file

@ -91,7 +91,7 @@ class DboSource extends DataSource {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_commands = array( protected $_commands = array(
'begin' => 'BEGIN', 'begin' => 'BEGIN',
'commit' => 'COMMIT', 'commit' => 'COMMIT',
'rollback' => 'ROLLBACK' 'rollback' => 'ROLLBACK'

View file

@ -114,7 +114,7 @@ class Model extends Overloadable {
* @access protected * @access protected
* @link http://book.cakephp.org/view/1057/Model-Attributes#_schema-1066 * @link http://book.cakephp.org/view/1057/Model-Attributes#_schema-1066
*/ */
var $_schema = null; protected $_schema = null;
/** /**
* List of validation rules. Append entries for validation as ('field_name' => '/^perl_compat_regexp$/') * List of validation rules. Append entries for validation as ('field_name' => '/^perl_compat_regexp$/')
@ -363,7 +363,7 @@ class Model extends Overloadable {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_findMethods = array( protected $_findMethods = array(
'all' => true, 'first' => true, 'count' => true, 'all' => true, 'first' => true, 'count' => true,
'neighbors' => true, 'list' => true, 'threaded' => true 'neighbors' => true, 'list' => true, 'threaded' => true
); );

View file

@ -230,7 +230,7 @@ class BehaviorCollection extends Object {
* @var array * @var array
* @access private * @access private
*/ */
var $_attached = array(); protected $_attached = array();
/** /**
* Lists the currently-attached behavior objects which are disabled * Lists the currently-attached behavior objects which are disabled
@ -238,7 +238,7 @@ class BehaviorCollection extends Object {
* @var array * @var array
* @access private * @access private
*/ */
var $_disabled = array(); protected $_disabled = array();
/** /**
* Keeps a list of all methods of attached behaviors * Keeps a list of all methods of attached behaviors

View file

@ -1257,7 +1257,7 @@ class CakeRoute {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_greedy = false; protected $_greedy = false;
/** /**
* The compiled route regular expresssion * The compiled route regular expresssion
@ -1265,7 +1265,7 @@ class CakeRoute {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_compiledRoute = null; protected $_compiledRoute = null;
/** /**
* HTTP header shortcut map. Used for evaluating header-based route expressions. * HTTP header shortcut map. Used for evaluating header-based route expressions.

View file

@ -87,7 +87,7 @@ class FormHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_inputDefaults = array(); protected $_inputDefaults = array();
/** /**
* Introspects model information and extracts information related * Introspects model information and extracts information related

View file

@ -97,7 +97,7 @@ class HtmlHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_crumbs = array(); protected $_crumbs = array();
/** /**
* Names of script files that have been included once * Names of script files that have been included once
@ -112,7 +112,7 @@ class HtmlHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_scriptBlockOptions = array(); protected $_scriptBlockOptions = array();
/** /**
* Document type definitions * Document type definitions
* *

View file

@ -73,7 +73,7 @@ class JavascriptHelper extends AppHelper {
* @access protected * @access protected
* @see JavascriptHelper::codeBlock() * @see JavascriptHelper::codeBlock()
*/ */
var $_blockOptions = array(); protected $_blockOptions = array();
/** /**
* Caches events written by event() for output at the end of page execution * Caches events written by event() for output at the end of page execution
@ -82,7 +82,7 @@ class JavascriptHelper extends AppHelper {
* @access protected * @access protected
* @see JavascriptHelper::event() * @see JavascriptHelper::event()
*/ */
var $_cachedEvents = array(); protected $_cachedEvents = array();
/** /**
* Indicates whether generated events should be cached for later output (can be written at the * Indicates whether generated events should be cached for later output (can be written at the
@ -93,7 +93,7 @@ class JavascriptHelper extends AppHelper {
* @see JavascriptHelper::event() * @see JavascriptHelper::event()
* @see JavascriptHelper::writeEvents() * @see JavascriptHelper::writeEvents()
*/ */
var $_cacheEvents = false; protected $_cacheEvents = false;
/** /**
* Indicates whether cached events should be written to an external file * Indicates whether cached events should be written to an external file
@ -103,7 +103,7 @@ class JavascriptHelper extends AppHelper {
* @see JavascriptHelper::event() * @see JavascriptHelper::event()
* @see JavascriptHelper::writeEvents() * @see JavascriptHelper::writeEvents()
*/ */
var $_cacheToFile = false; protected $_cacheToFile = false;
/** /**
* Indicates whether *all* generated JavaScript should be cached for later output * Indicates whether *all* generated JavaScript should be cached for later output
@ -113,7 +113,7 @@ class JavascriptHelper extends AppHelper {
* @see JavascriptHelper::codeBlock() * @see JavascriptHelper::codeBlock()
* @see JavascriptHelper::blockEnd() * @see JavascriptHelper::blockEnd()
*/ */
var $_cacheAll = false; protected $_cacheAll = false;
/** /**
* Contains event rules attached with CSS selectors. Used with the event:Selectors JavaScript * Contains event rules attached with CSS selectors. Used with the event:Selectors JavaScript
@ -124,7 +124,7 @@ class JavascriptHelper extends AppHelper {
* @see JavascriptHelper::event() * @see JavascriptHelper::event()
* @link http://alternateidea.com/event-selectors/ * @link http://alternateidea.com/event-selectors/
*/ */
var $_rules = array(); protected $_rules = array();
/** /**
* @var string * @var string

View file

@ -31,7 +31,7 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_optionMap = array( protected $_optionMap = array(
'request' => array( 'request' => array(
'type' => 'dataType', 'type' => 'dataType',
'before' => 'beforeSend', 'before' => 'beforeSend',
@ -60,7 +60,7 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_callbackArguments = array( protected $_callbackArguments = array(
'slider' => array( 'slider' => array(
'start' => 'event, ui', 'start' => 'event, ui',
'slide' => 'event, ui', 'slide' => 'event, ui',

View file

@ -460,7 +460,7 @@ class JsBaseEngineHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_optionMap = array(); protected $_optionMap = array();
/** /**
* An array of lowercase method names in the Engine that are buffered unless otherwise disabled. * An array of lowercase method names in the Engine that are buffered unless otherwise disabled.
@ -477,7 +477,7 @@ class JsBaseEngineHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_callbackArguments = array(); protected $_callbackArguments = array();
/** /**
* Constructor. * Constructor.

View file

@ -33,7 +33,7 @@ class MootoolsEngineHelper extends JsBaseEngineHelper {
* *
* @var array * @var array
*/ */
var $_optionMap = array( protected $_optionMap = array(
'request' => array( 'request' => array(
'complete' => 'onComplete', 'complete' => 'onComplete',
'success' => 'onSuccess', 'success' => 'onSuccess',
@ -71,7 +71,7 @@ class MootoolsEngineHelper extends JsBaseEngineHelper {
* *
* @var array * @var array
*/ */
var $_callbackArguments = array( protected $_callbackArguments = array(
'slider' => array( 'slider' => array(
'onTick' => 'position', 'onTick' => 'position',
'onChange' => 'step', 'onChange' => 'step',

View file

@ -37,7 +37,7 @@ class NumberHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_currencies = array( protected $_currencies = array(
'USD' => array( 'USD' => array(
'before' => '$', 'after' => 'c', 'zero' => 0, 'places' => 2, 'thousands' => ',', 'before' => '$', 'after' => 'c', 'zero' => 0, 'places' => 2, 'thousands' => ',',
'decimals' => '.', 'negative' => '()', 'escape' => true 'decimals' => '.', 'negative' => '()', 'escape' => true
@ -58,7 +58,7 @@ class NumberHelper extends AppHelper {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_currencyDefaults = array( protected $_currencyDefaults = array(
'before'=>'', 'after' => '', 'zero' => '0', 'places' => 2, 'thousands' => ',', 'before'=>'', 'after' => '', 'zero' => '0', 'places' => 2, 'thousands' => ',',
'decimals' => '.','negative' => '()', 'escape' => true 'decimals' => '.','negative' => '()', 'escape' => true
); );

View file

@ -47,7 +47,7 @@ class PaginatorHelper extends AppHelper {
* *
* @var string * @var string
*/ */
var $_ajaxHelperClass = 'Js'; protected $_ajaxHelperClass = 'Js';
/** /**
* Holds the default options for pagination links * Holds the default options for pagination links

View file

@ -28,14 +28,14 @@ class PrototypeEngineHelper extends JsBaseEngineHelper {
* *
* @var boolean * @var boolean
*/ */
var $_multiple = false; protected $_multiple = false;
/** /**
* Option mappings for Prototype * Option mappings for Prototype
* *
* @var array * @var array
*/ */
var $_optionMap = array( protected $_optionMap = array(
'request' => array( 'request' => array(
'async' => 'asynchronous', 'async' => 'asynchronous',
'data' => 'parameters', 'data' => 'parameters',
@ -75,7 +75,7 @@ class PrototypeEngineHelper extends JsBaseEngineHelper {
* *
* @var array * @var array
*/ */
var $_callbackArguments = array( protected $_callbackArguments = array(
'slider' => array( 'slider' => array(
'onSlide' => 'value', 'onSlide' => 'value',
'onChange' => 'value', 'onChange' => 'value',

View file

@ -88,7 +88,7 @@ class MediaView extends View {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_headers = array(); protected $_headers = array();
/** /**
* Constructor * Constructor

View file

@ -45,7 +45,7 @@ class TestAuthComponent extends AuthComponent {
* @var bool true * @var bool true
* @access protected * @access protected
*/ */
var $_loggedIn = true; protected $_loggedIn = true;
/** /**
* stop method * stop method

View file

@ -159,7 +159,7 @@ class MssqlTestModel extends Model {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8', 'key' => 'primary'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8', 'key' => 'primary'),
'client_id' => array('type' => 'integer', 'null' => '', 'default' => '0', 'length' => '11'), 'client_id' => array('type' => 'integer', 'null' => '', 'default' => '0', 'length' => '11'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
@ -258,7 +258,7 @@ class MssqlClientTestModel extends Model {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8', 'key' => 'primary'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8', 'key' => 'primary'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email' => array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'), 'email' => array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'),

View file

@ -53,7 +53,7 @@ class TestModel extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'client_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '11'), 'client_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '11'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),

View file

@ -53,7 +53,7 @@ class Test extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id'=> array('type' => 'integer', 'null' => '', 'default' => '1', 'length' => '8', 'key'=>'primary'), 'id'=> array('type' => 'integer', 'null' => '', 'default' => '1', 'length' => '8', 'key'=>'primary'),
'name'=> array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name'=> array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email'=> array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'), 'email'=> array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'),
@ -101,7 +101,7 @@ class TestAlias extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id'=> array('type' => 'integer', 'null' => '', 'default' => '1', 'length' => '8', 'key'=>'primary'), 'id'=> array('type' => 'integer', 'null' => '', 'default' => '1', 'length' => '8', 'key'=>'primary'),
'name'=> array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name'=> array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email'=> array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'), 'email'=> array('type' => 'string', 'null' => '1', 'default' => '', 'length' => '155'),
@ -141,7 +141,7 @@ class TestValidate extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'title' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'title' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'body' => array('type' => 'string', 'null' => '1', 'default' => '', 'length' => ''), 'body' => array('type' => 'string', 'null' => '1', 'default' => '', 'length' => ''),
@ -2168,7 +2168,7 @@ class ValidationTest1 extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array(); protected $_schema = array();
/** /**
* validate property * validate property

View file

@ -84,7 +84,7 @@ class Contact extends CakeTestModel {
* @var array * @var array
* @access public * @access public
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
@ -161,7 +161,7 @@ class ContactTagsContact extends CakeTestModel {
* @var array * @var array
* @access public * @access public
*/ */
var $_schema = array( protected $_schema = array(
'contact_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'contact_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'contact_tag_id' => array( 'contact_tag_id' => array(
'type' => 'integer', 'null' => '', 'default' => '', 'length' => '8' 'type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'
@ -239,7 +239,7 @@ class ContactTag extends Model {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => false, 'default' => '', 'length' => '8'),
'name' => array('type' => 'string', 'null' => false, 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => false, 'default' => '', 'length' => '255'),
'created' => array('type' => 'date', 'null' => true, 'default' => '', 'length' => ''), 'created' => array('type' => 'date', 'null' => true, 'default' => '', 'length' => ''),
@ -295,7 +295,7 @@ class UserForm extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'published' => array('type' => 'date', 'null' => true, 'default' => null, 'length' => null), 'published' => array('type' => 'date', 'null' => true, 'default' => null, 'length' => null),
'other' => array('type' => 'text', 'null' => true, 'default' => null, 'length' => null), 'other' => array('type' => 'text', 'null' => true, 'default' => null, 'length' => null),
@ -362,7 +362,7 @@ class OpenidUrl extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'user_form_id' => array( 'user_form_id' => array(
'type' => 'user_form_id', 'null' => '', 'default' => '', 'length' => '8' 'type' => 'user_form_id', 'null' => '', 'default' => '', 'length' => '8'
@ -430,7 +430,7 @@ class ValidateUser extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'email' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
@ -481,7 +481,7 @@ class ValidateProfile extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'user_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'user_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'full_name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'), 'full_name' => array('type' => 'string', 'null' => '', 'default' => '', 'length' => '255'),
@ -569,7 +569,7 @@ class ValidateItem extends CakeTestModel {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_schema = array( protected $_schema = array(
'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'profile_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'), 'profile_id' => array('type' => 'integer', 'null' => '', 'default' => '', 'length' => '8'),
'name' => array('type' => 'text', 'null' => '', 'default' => '', 'length' => '255'), 'name' => array('type' => 'text', 'null' => '', 'default' => '', 'length' => '255'),

View file

@ -81,7 +81,7 @@ class HtmlHelperTest extends CakeTestCase {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_appEncoding; protected $_appEncoding;
/** /**
* Backup of asset configuration settings * Backup of asset configuration settings
@ -89,7 +89,7 @@ class HtmlHelperTest extends CakeTestCase {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_asset; protected $_asset;
/** /**
* Backup of debug configuration setting * Backup of debug configuration setting
@ -97,7 +97,7 @@ class HtmlHelperTest extends CakeTestCase {
* @var integer * @var integer
* @access protected * @access protected
*/ */
var $_debug; protected $_debug;
/** /**
* setUp method * setUp method

View file

@ -26,7 +26,7 @@ Mock::generate('JsBaseEngineHelper', 'TestJsEngineHelper', array('methodOne'));
Mock::generate('View', 'JsHelperMockView'); Mock::generate('View', 'JsHelperMockView');
class OptionEngineHelper extends JsBaseEngineHelper { class OptionEngineHelper extends JsBaseEngineHelper {
var $_optionMap = array( protected $_optionMap = array(
'request' => array( 'request' => array(
'complete' => 'success', 'complete' => 'success',
'request' => 'beforeSend', 'request' => 'beforeSend',

View file

@ -117,7 +117,7 @@ class CakeTestCase extends UnitTestCase {
* @var array * @var array
* @access protected * @access protected
*/ */
var $_fixtureClassMap = array(); protected $_fixtureClassMap = array();
/** /**
* truncated property * truncated property

View file

@ -46,7 +46,7 @@ class CakeTestSuiteDispatcher {
* *
* @var string * @var string
*/ */
var $_managerClass = 'TestManager'; protected $_managerClass = 'TestManager';
/** /**
* The Instance of the Manager being used. * The Instance of the Manager being used.
@ -60,14 +60,14 @@ class CakeTestSuiteDispatcher {
* *
* @var string * @var string
*/ */
var $_baseUrl; protected $_baseUrl;
/** /**
* Base dir of the request. Used for accessing assets. * Base dir of the request. Used for accessing assets.
* *
* @var string * @var string
*/ */
var $_baseDir; protected $_baseDir;
/** /**
* constructor * constructor

View file

@ -32,7 +32,7 @@ class CakeBaseReporter extends SimpleReporter {
* @var integer * @var integer
* @access protected * @access protected
*/ */
var $_timeStart = 0; protected $_timeStart = 0;
/** /**
* Time the test runs ended * Time the test runs ended
@ -40,7 +40,7 @@ class CakeBaseReporter extends SimpleReporter {
* @var integer * @var integer
* @access protected * @access protected
*/ */
var $_timeEnd = 0; protected $_timeEnd = 0;
/** /**
* Duration of all test methods. * Duration of all test methods.
@ -48,7 +48,7 @@ class CakeBaseReporter extends SimpleReporter {
* @var integer * @var integer
* @access protected * @access protected
*/ */
var $_timeDuration = 0; protected $_timeDuration = 0;
/** /**
* Array of request parameters. Usually parsed GET params. * Array of request parameters. Usually parsed GET params.
@ -63,7 +63,7 @@ class CakeBaseReporter extends SimpleReporter {
* @var string * @var string
* @access protected * @access protected
*/ */
var $_characterSet; protected $_characterSet;
/** /**
* Does nothing yet. The first output will * Does nothing yet. The first output will

View file

@ -35,14 +35,14 @@ class TestManager {
* *
* @var string * @var string
*/ */
var $_testExtension = '.test.php'; protected $_testExtension = '.test.php';
/** /**
* Extension suffix for group test case files. * Extension suffix for group test case files.
* *
* @var string * @var string
*/ */
var $_groupExtension = '.group.php'; protected $_groupExtension = '.group.php';
/** /**
* Is this test an AppTest? * Is this test an AppTest?