diff --git a/lib/Cake/Console/Command/Task/TestTask.php b/lib/Cake/Console/Command/Task/TestTask.php index 3b8babf1f..5251ab233 100644 --- a/lib/Cake/Console/Command/Task/TestTask.php +++ b/lib/Cake/Console/Command/Task/TestTask.php @@ -295,7 +295,7 @@ class TestTask extends BakeTask { * * @param string $type The Type of object you are generating tests for eg. controller * @param string $class the Classname of the class the test is being generated for. - * @return string Real classname + * @return string Real class name */ public function getRealClassName($type, $class) { if (strtolower($type) === 'model' || empty($this->classTypes[$type])) { @@ -430,7 +430,7 @@ class TestTask extends BakeTask { } /** - * Add classname to the fixture list. + * Add class name to the fixture list. * Sets the app. or plugin.plugin_name. prefix. * * @param string $name Name of the Model class that a fixture might be required for. @@ -476,7 +476,7 @@ class TestTask extends BakeTask { } /** - * Generate a constructor code snippet for the type and classname + * Generate a constructor code snippet for the type and class name * * @param string $type The Type of object you are generating tests for eg. controller * @param string $fullClassName The Classname of the class the test is being generated for. @@ -504,7 +504,7 @@ class TestTask extends BakeTask { } /** - * Generate the uses() calls for a type & classname + * Generate the uses() calls for a type & class name * * @param string $type The Type of object you are generating tests for eg. controller * @param string $realType The package name for the class. diff --git a/lib/Cake/Controller/Controller.php b/lib/Cake/Controller/Controller.php index c8528cbc8..b0e4e0b54 100644 --- a/lib/Cake/Controller/Controller.php +++ b/lib/Cake/Controller/Controller.php @@ -86,7 +86,7 @@ class Controller extends Object implements CakeEventListener { /** * An array containing the names of helpers this controller uses. The array elements should - * not contain the "Helper" part of the classname. + * not contain the "Helper" part of the class name. * * Example: `public $helpers = array('Html', 'Js', 'Time', 'Ajax');` * @@ -114,7 +114,7 @@ class Controller extends Object implements CakeEventListener { public $response; /** - * The classname to use for creating the response object. + * The class name to use for creating the response object. * * @var string */ @@ -182,7 +182,7 @@ class Controller extends Object implements CakeEventListener { /** * Array containing the names of components this controller uses. Component names - * should not contain the "Component" portion of the classname. + * should not contain the "Component" portion of the class name. * * Example: `public $components = array('Session', 'RequestHandler', 'Acl');` * diff --git a/lib/Cake/Log/CakeLog.php b/lib/Cake/Log/CakeLog.php index 8052ea2cd..823f4b3aa 100644 --- a/lib/Cake/Log/CakeLog.php +++ b/lib/Cake/Log/CakeLog.php @@ -192,7 +192,7 @@ class CakeLog { throw new CakeLogException(__d('cake_dev', 'Invalid key name')); } if (empty($config['engine'])) { - throw new CakeLogException(__d('cake_dev', 'Missing logger classname')); + throw new CakeLogException(__d('cake_dev', 'Missing logger class name')); } if (empty(self::$_Collection)) { self::_init(); diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 875f8f5ee..404882aca 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -294,7 +294,7 @@ class Model extends Object implements CakeEventListener { * * ### Possible keys in association * - * - `className`: the classname of the model being associated to the current model. + * - `className`: the class name of the model being associated to the current model. * If you're defining a 'Profile belongsTo User' relationship, the className key should equal 'User.' * - `foreignKey`: the name of the foreign key found in the current model. This is * especially handy if you need to define multiple belongsTo relationships. The default @@ -341,7 +341,7 @@ class Model extends Object implements CakeEventListener { * * ### Possible keys in association * - * - `className`: the classname of the model being associated to the current model. + * - `className`: the class name of the model being associated to the current model. * If you're defining a 'User hasOne Profile' relationship, the className key should equal 'Profile.' * - `foreignKey`: the name of the foreign key found in the other model. This is * especially handy if you need to define multiple hasOne relationships. @@ -384,7 +384,7 @@ class Model extends Object implements CakeEventListener { * * ### Possible keys in association * - * - `className`: the classname of the model being associated to the current model. + * - `className`: the class name of the model being associated to the current model. * If you're defining a 'User hasMany Comment' relationship, the className key should equal 'Comment.' * - `foreignKey`: the name of the foreign key found in the other model. This is * especially handy if you need to define multiple hasMany relationships. The default @@ -435,7 +435,7 @@ class Model extends Object implements CakeEventListener { * * ### Possible keys in association * - * - `className`: the classname of the model being associated to the current model. + * - `className`: the class name of the model being associated to the current model. * If you're defining a 'Recipe HABTM Tag' relationship, the className key should equal 'Tag.' * - `joinTable`: The name of the join table used in this association (if the * current table doesn't adhere to the naming convention for HABTM join tables). diff --git a/lib/Cake/Network/Email/CakeEmail.php b/lib/Cake/Network/Email/CakeEmail.php index f78e20bfa..ed7016b93 100644 --- a/lib/Cake/Network/Email/CakeEmail.php +++ b/lib/Cake/Network/Email/CakeEmail.php @@ -326,7 +326,7 @@ class CakeEmail { protected $_emailPattern = null; /** - * The classname used for email configuration. + * The class name used for email configuration. * * @var string */ diff --git a/lib/Cake/Network/Http/HttpSocket.php b/lib/Cake/Network/Http/HttpSocket.php index 12bd5c329..86125809b 100644 --- a/lib/Cake/Network/Http/HttpSocket.php +++ b/lib/Cake/Network/Http/HttpSocket.php @@ -78,7 +78,7 @@ class HttpSocket extends CakeSocket { public $response = null; /** - * Response classname + * Response class name * * @var string */ diff --git a/lib/Cake/Routing/Dispatcher.php b/lib/Cake/Routing/Dispatcher.php index 225869ea6..5154d1a60 100644 --- a/lib/Cake/Routing/Dispatcher.php +++ b/lib/Cake/Routing/Dispatcher.php @@ -238,7 +238,7 @@ class Dispatcher implements CakeEventListener { } /** - * Load controller and return controller classname + * Load controller and return controller class name * * @param CakeRequest $request * @return string|boolean Name of controller class name diff --git a/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php b/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php index 9568b1381..7e24f5ea9 100644 --- a/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php +++ b/lib/Cake/Test/Case/Console/Command/SchemaShellTest.php @@ -587,7 +587,7 @@ class SchemaShellTest extends CakeTestCase { /** * test that passing name and file creates the passed filename with the - * passed classname + * passed class name * * @return void */ diff --git a/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php b/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php index 00888dadf..9b3ad9e57 100644 --- a/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php +++ b/lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php @@ -324,7 +324,7 @@ class TestTaskTest extends CakeTestCase { } /** - * test that getClassName returns the user choice as a classname. + * test that getClassName returns the user choice as a class name. * * @return void */ @@ -359,7 +359,7 @@ class TestTaskTest extends CakeTestCase { } /** - * test that resolving classnames works + * test that resolving class names works * * @return void */ @@ -394,7 +394,7 @@ class TestTaskTest extends CakeTestCase { /** * test baking files. The conditionally run tests are known to fail in PHP4 - * as PHP4 classnames are all lower case, breaking the plugin path inflection. + * as PHP4 class names are all lower case, breaking the plugin path inflection. * * @return void */ diff --git a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php index 48b37c35f..c107b63a5 100644 --- a/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php +++ b/lib/Cake/Test/Case/Network/Email/CakeEmailTest.php @@ -27,7 +27,7 @@ App::uses('CakeEmail', 'Network/Email'); class TestCakeEmail extends CakeEmail { /** - * Config classname. + * Config class name. * * Use a the testing config class in this file. * diff --git a/lib/Cake/TestSuite/CakeTestSuiteCommand.php b/lib/Cake/TestSuite/CakeTestSuiteCommand.php index fd365fdee..e5ee20815 100644 --- a/lib/Cake/TestSuite/CakeTestSuiteCommand.php +++ b/lib/Cake/TestSuite/CakeTestSuiteCommand.php @@ -55,7 +55,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command { } /** - * Ugly hack to get around PHPUnit having a hard coded classname for the Runner. :( + * Ugly hack to get around PHPUnit having a hard coded class name for the Runner. :( * * @param array $argv * @param boolean $exit diff --git a/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php b/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php index 124eecd16..e82fe3256 100644 --- a/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php +++ b/lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php @@ -105,7 +105,7 @@ HTML; } /** - * Guess the classname the test was for based on the test case filename. + * Guess the class name the test was for based on the test case filename. * * @param ReflectionClass $testReflection. * @return string Possible test subject name. diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index 928262c85..1813b0d0f 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -805,7 +805,7 @@ class Debugger { } /** - * Get the type of the given variable. Will return the classname + * Get the type of the given variable. Will return the class name * for objects. * * @param mixed $var The variable to get the type of diff --git a/lib/Cake/View/Helper.php b/lib/Cake/View/Helper.php index 898f2445c..5d38d9aa4 100644 --- a/lib/Cake/View/Helper.php +++ b/lib/Cake/View/Helper.php @@ -780,7 +780,7 @@ class Helper extends Object { * Adds the given class to the element options * * @param array $options Array options/attributes to add a class to - * @param string $class The classname being added. + * @param string $class The class name being added. * @param string $key the key to use for class. * @return array Array of options with $key set. */ diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 116aa8718..894e3cfd0 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -650,7 +650,7 @@ class FormHelper extends AppHelper { * - `escape` boolean - Whether or not to html escape the contents of the error. * - `wrap` mixed - Whether or not the error message should be wrapped in a div. If a * string, will be used as the HTML tag to use. - * - `class` string - The classname for the error message + * - `class` string - The class name for the error message * * @param string $field A field name, like "Modelname.fieldname" * @param string|array $text Error message as string or array of messages. @@ -836,7 +836,7 @@ class FormHelper extends AppHelper { * @param array $blacklist A simple array of fields to not create inputs for. * @param array $options Options array. Valid keys are: * - `fieldset` Set to false to disable the fieldset. If a string is supplied it will be used as - * the classname for the fieldset element. + * the class name for the fieldset element. * - `legend` Set to false to disable the legend for the generated input set. Or supply a string * to customize the legend text. * @return string Completed form inputs. @@ -1913,7 +1913,7 @@ class FormHelper extends AppHelper { * that string is displayed as the empty element. * - `escape` - If true contents of options will be HTML entity encoded. Defaults to true. * - `value` The selected value of the input. - * - `class` - When using multiple = checkbox the classname to apply to the divs. Defaults to 'checkbox'. + * - `class` - When using multiple = checkbox the class name to apply to the divs. Defaults to 'checkbox'. * - `disabled` - Control the disabled attribute. When creating a select box, set to true to disable the * select box. When creating checkboxes, `true` will disable all checkboxes. You can also set disabled * to a list of values you want to disable when creating checkboxes. diff --git a/lib/Cake/View/Helper/TimeHelper.php b/lib/Cake/View/Helper/TimeHelper.php index 987df9d06..cb494c111 100644 --- a/lib/Cake/View/Helper/TimeHelper.php +++ b/lib/Cake/View/Helper/TimeHelper.php @@ -351,7 +351,7 @@ class TimeHelper extends AppHelper { * - `element` - The element to wrap the formatted time in. * Has a few additional options: * - `tag` - The tag to use, defaults to 'span'. - * - `class` - The classname to use, defaults to `time-ago-in-words`. + * - `class` - The class name to use, defaults to `time-ago-in-words`. * - `title` - Defaults to the $dateTime input. * * @param integer|string|DateTime $dateTime UNIX timestamp, strtotime() valid string or DateTime object diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index cf0dc13a5..ce5bd1d5e 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -205,7 +205,7 @@ if (!function_exists('h')) { if (!function_exists('pluginSplit')) { /** - * Splits a dot syntax plugin name into its plugin and classname. + * Splits a dot syntax plugin name into its plugin and class name. * If $name does not have a dot, then index 0 will be null. * * Commonly used like `list($plugin, $name) = pluginSplit($name);` @@ -213,7 +213,7 @@ if (!function_exists('pluginSplit')) { * @param string $name The name you want to plugin split. * @param boolean $dotAppend Set to true if you want the plugin to have a '.' appended to it. * @param string $plugin Optional default plugin to use if no plugin is found. Defaults to null. - * @return array Array with 2 indexes. 0 => plugin name, 1 => classname + * @return array Array with 2 indexes. 0 => plugin name, 1 => class name * @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#pluginSplit */ function pluginSplit($name, $dotAppend = false, $plugin = null) {