Implementing validation domain extraction in the ExtractionTask

This commit is contained in:
Jose Lorenzo Rodriguez 2011-06-20 00:36:31 -04:30
parent 93ac47fa60
commit 33c74b6062
4 changed files with 109 additions and 29 deletions
lib/Cake/Model

View file

@ -134,6 +134,15 @@ class Model extends Object {
*/
public $validationErrors = array();
/**
* Nane of the validation string domain to use when translating validation errors.
*
* @var string
* @access public
*/
public $validationDomain = null;
/**
* Database table prefix for tables in model.
*
@ -168,14 +177,6 @@ class Model extends Object {
*/
public $tableToModel = array();
/**
* Whether or not to log transactions for this model.
*
* @var boolean
* @access public
*/
public $logTransactions = false;
/**
* Whether or not to cache queries for this model. This enables in-memory
* caching only, the results are not stored beyond the current request.
@ -345,22 +346,6 @@ class Model extends Object {
*/
private $__insertID = null;
/**
* The number of records returned by the last query.
*
* @var integer
* @access private
*/
private $__numRows = null;
/**
* The number of records affected by the last query.
*
* @var integer
* @access private
*/
private $__affectedRows = null;
/**
* Has the datasource been configured.
*