mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-06-01 12:23:30 +00:00
Implementing validation domain extraction in the ExtractionTask
This commit is contained in:
parent
93ac47fa60
commit
33c74b6062
4 changed files with 109 additions and 29 deletions
lib/Cake/Model
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue