From 0637272bd2532f7b37c62764562be871df94d3c0 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 31 Oct 2009 14:25:33 -0400 Subject: [PATCH] Updating doc block on Controller to include more information about $uses. --- cake/libs/controller/controller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 6a582bfce..b1d3c4d72 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -73,6 +73,9 @@ class Controller extends Object { * * Example: var $uses = array('Product', 'Post', 'Comment'); * + * Can be set to array() to use no models. Can be set to false to + * use no models and prevent the merging of $uses with AppController + * * @var mixed A single name as a string or a list of names as an array. * @access protected * @link http://book.cakephp.org/view/53/components-helpers-and-uses