diff --git a/cake/libs/controller/component_collection.php b/cake/libs/controller/component_collection.php index ef8f9dd1c..4520efa3f 100644 --- a/cake/libs/controller/component_collection.php +++ b/cake/libs/controller/component_collection.php @@ -58,11 +58,11 @@ class ComponentCollection extends ObjectCollection { * You can use `$settings['enabled'] = false` to disable callbacks on a component when loading it. * Callbacks default to on. Disabled component methods work as normal, only callbacks are disabled. * - * You can alias your component as an existing component by setting the 'alias' key, i.e., + * You can alias your component as an existing component by setting the 'className' key, i.e., * {{{ * public $components = array( - * 'AliasedEmail' => array( - * 'alias' => 'Email' + * 'Email' => array( + * 'className' => 'AliasedEmail' * ); * ); * }}} diff --git a/cake/libs/model/behavior_collection.php b/cake/libs/model/behavior_collection.php index d11878e0a..c623faa78 100644 --- a/cake/libs/model/behavior_collection.php +++ b/cake/libs/model/behavior_collection.php @@ -83,11 +83,11 @@ class BehaviorCollection extends ObjectCollection { * to load a behavior with callbacks disabled. By default callbacks are enabled. Disable behaviors * can still be used as normal. * - * You can alias your behavior as an existing behavior by setting the 'alias' key, i.e., + * You can alias your behavior as an existing behavior by setting the 'className' key, i.e., * {{{ * public $actsAs = array( - * 'AliasedTree' => array( - * 'alias' => 'Tree' + * 'Tree' => array( + * 'className' => 'AliasedTree' * ); * ); * }}} diff --git a/cake/libs/view/helper_collection.php b/cake/libs/view/helper_collection.php index bd04de654..f7f628b82 100644 --- a/cake/libs/view/helper_collection.php +++ b/cake/libs/view/helper_collection.php @@ -41,11 +41,11 @@ class HelperCollection extends ObjectCollection { * can set `$settings['enabled'] = false` to disable callbacks. This alias is provided so that when * declaring $helpers arrays you can disable callbacks on helpers. * - * You can alias your helper as an existing helper by setting the 'alias' key, i.e., + * You can alias your helper as an existing helper by setting the 'className' key, i.e., * {{{ * public $components = array( - * 'AliasedHtml' => array( - * 'alias' => 'Html' + * 'Html' => array( + * 'className' => 'AliasedHtml' * ); * ); * }}}