From b135e380726224ff8941d1c472f66a994695481f Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 12 Dec 2010 14:12:55 -0500 Subject: [PATCH] Adding documentation. --- cake/libs/object_collection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cake/libs/object_collection.php b/cake/libs/object_collection.php index ea0ee8455..b84ba01f9 100644 --- a/cake/libs/object_collection.php +++ b/cake/libs/object_collection.php @@ -79,7 +79,8 @@ abstract class ObjectCollection { * the method you are calling. * @param array $params Array of parameters for the triggered callback. * @param array $options Array of options. - * @return mixed true. + * @return mixed Either the last result or all results if collectReturn is on. + * @throws CakeException when modParams is used with an index that does not exist. */ public function trigger($callback, $params = array(), $options = array()) { if (empty($this->_enabled)) {