Browse Source

correct the doc block

euromark 13 years ago
parent
commit
83b0c5042f
1 changed files with 8 additions and 8 deletions
  1. 8 8
      lib/Cake/Utility/ObjectCollection.php

+ 8 - 8
lib/Cake/Utility/ObjectCollection.php

@@ -267,10 +267,10 @@ abstract class ObjectCollection {
 /**
  * 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 @@ abstract class ObjectCollection {
 /**
  * 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)) {