Skip to content

Commit

Permalink
Adding doc blocks for properties that previously had no documentation.
Browse files Browse the repository at this point in the history
…Closes #6199

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8107 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information
markstory committed Mar 16, 2009
1 parent beb6aee commit 4dceb5b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions cake/libs/controller/controller.php
Expand Up @@ -291,6 +291,32 @@ class Controller extends Object {
* @link
*/
var $methods = array();
/**
* This controller's primary model class name, the Inflector::classify()'ed verision of
* the controller's $name property.
*
* Example: For a controller named 'Comments', the modelClass would be 'Comment'
*
* @var string
* @access public
*/
var $modelClass = null;
/**
* This controller's model key name, an underscored version of the controller's $modelClass property.
*
* Example: For a controller named 'ArticleComments', the modelKey would be 'article_comment'
*
* @var string
* @access public
*/
var $modelKey = null;
/**
* Holds any validation errors produced by the last call of the validateErrors() method/
*
* @var array Validation errors, or false if none
* @access public
*/
var $validationErrors = null;
/**
* Constructor.
*
Expand Down

0 comments on commit 4dceb5b

Please sign in to comment.