Skip to content
Permalink
Browse files

Updating doc blocks in ModelBehavior. Refs #810

  • Loading branch information...
markstory committed Jun 11, 2010
1 parent f0d755b commit df3432aa86f4fbba34286e1eab5655c69f306cea
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/model/model_behavior.php
@@ -81,7 +81,7 @@ function cleanup(&$model) {
*
* @param object $model Model using this behavior
* @param array $queryData Data used to execute this query, i.e. conditions, order, etc.
* @return mixed False if the operation should abort. Any other result will continue.
* @return mixed False if the operation should abort. An array will replace the value of $query.
* @access public
*/
function beforeFind(&$model, $query) { }
@@ -92,7 +92,7 @@ function beforeFind(&$model, $query) { }
* @param object $model Model using this behavior
* @param mixed $results The results of the find operation
* @param boolean $primary Whether this model is being queried directly (vs. being queried as an association)
* @return mixed Result of the find operation
* @return mixed An array value will replace the value of $results - any other value will be ignored.
* @access public
*/
function afterFind(&$model, $results, $primary) { }

0 comments on commit df3432a

Please sign in to comment.
You can’t perform that action at this time.