Skip to content
Permalink
Browse files

Updating documentation on App::objects() so it more reflects what the…

… method does. Fixes #874
  • Loading branch information...
markstory committed Jun 30, 2010
1 parent 8f25547 commit 735ac17b85e0666b4bae22d6e1ac736cee16746f
Showing with 5 additions and 1 deletion.
  1. +5 −1 cake/libs/configure.php
@@ -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

0 comments on commit 735ac17

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