Removing some mentions of cakeError as its been removed. Also adding information about exceptions that can be raised.

This commit is contained in:
Mark Story 2010-09-02 16:38:19 -04:00
parent 063fcf557d
commit 2e8a60f932

View file

@ -491,9 +491,10 @@ class Controller extends Object {
* see Controller::loadModel(); for more info.
* Loads Components and prepares them for initialization.
*
* @return mixed true if models found and instance created, or cakeError if models not found.
* @return mixed true if models found and instance created.
* @see Controller::loadModel()
* @link http://book.cakephp.org/view/977/Controller-Methods#constructClasses-986
* @throws MissingModelException
*/
public function constructClasses() {
$this->__mergeVars();