Permalink
Browse files

correct the doc block

  • Loading branch information...
1 parent 94f19ef commit 83b0c5042f71406833709f92ff8ddfa541aa6dd3 @dereuromark committed Nov 16, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 lib/Cake/Utility/ObjectCollection.php
@@ -267,10 +267,10 @@ public function enabled($name = null) {
/**
* Gets the list of attached objects, or, whether the given object is attached
*
- * @param string $name Optional. The name of the behavior to check the status of. If omitted,
- * returns an array of currently-attached behaviors
- * @return mixed If $name is specified, returns the boolean status of the corresponding behavior.
- * Otherwise, returns an array of all attached behaviors.
+ * @param string $name Optional. The name of the object to check the status of. If omitted,
+ * returns an array of currently-attached objects
+ * @return mixed If $name is specified, returns the boolean status of the corresponding object.
+ * Otherwise, returns an array of all attached objects.
* @deprecated Use loaded instead.
*/
public function attached($name = null) {
@@ -280,10 +280,10 @@ public function attached($name = null) {
/**
* Gets the list of loaded objects, or, whether the given object is loaded
*
- * @param string $name Optional. The name of the behavior to check the status of. If omitted,
- * returns an array of currently-loaded behaviors
- * @return mixed If $name is specified, returns the boolean status of the corresponding behavior.
- * Otherwise, returns an array of all loaded behaviors.
+ * @param string $name Optional. The name of the object to check the status of. If omitted,
+ * returns an array of currently-loaded objects
+ * @return mixed If $name is specified, returns the boolean status of the corresponding object.
+ * Otherwise, returns an array of all loaded objects.
*/
public function loaded($name = null) {
if (!empty($name)) {

0 comments on commit 83b0c50

Please sign in to comment.