Skip to content

Commit

Permalink
Updating documentation on App::objects() so it more reflects what the…
Browse files Browse the repository at this point in the history
… method does. Fixes #874
  • Loading branch information
markstory committed Jun 30, 2010
1 parent 8f25547 commit 735ac17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cake/libs/configure.php
Expand Up @@ -758,7 +758,11 @@ function core($type = null) {
}

/**
* Returns an index of objects of the given type, with the physical path to each object.
* Returns an array of objects of the given type.
*
* Example usage:
*
* `App::objects('plugin');` returns `array('DebugKit', 'Blog', 'User');`
*
* @param string $type Type of object, i.e. 'model', 'controller', 'helper', or 'plugin'
* @param mixed $path Optional Scan only the path given. If null, paths for the chosen
Expand Down

0 comments on commit 735ac17

Please sign in to comment.