Fixing failing debugger test.

Adding doc blocks for helper properties.
This commit is contained in:
mark_story 2011-07-01 07:56:48 -04:00
parent c9acb6b587
commit bef2e75bdf
2 changed files with 20 additions and 6 deletions

View file

@ -237,12 +237,6 @@ class DebuggerTest extends CakeTestCase {
View::$cacheAction = false View::$cacheAction = false
View::$validationErrors = array View::$validationErrors = array
View::$hasRendered = false View::$hasRendered = false
View::$modelScope = false
View::$model = NULL
View::$association = NULL
View::$field = NULL
View::$fieldSuffix = NULL
View::$modelId = NULL
View::$uuids = array View::$uuids = array
View::$output = false View::$output = false
View::$request = NULL View::$request = NULL

View file

@ -114,8 +114,28 @@ class Helper extends Object {
'year', 'month', 'day', 'hour', 'min', 'second', 'meridian' 'year', 'month', 'day', 'hour', 'min', 'second', 'meridian'
); );
/**
* The name of the current model entities are in scope of.
*
* @see Helper::setEntity()
* @var string
*/
protected $_modelScope; protected $_modelScope;
/**
* The name of the current model association entities are in scope of.
*
* @see Helper::setEntity()
* @var string
*/
protected $_association; protected $_association;
/**
* The dot separated list of elements the current field entity is for.
*
* @see Helper::setEntity()
* @var string
*/
protected $_entityPath; protected $_entityPath;
/** /**