mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Move declaration of $map to DboSource
This commit is contained in:
parent
f768689bd0
commit
957b4e566a
5 changed files with 7 additions and 28 deletions
|
@ -141,13 +141,6 @@ class Mysql extends DboSource {
|
|||
*/
|
||||
protected $_charsets = array();
|
||||
|
||||
/**
|
||||
* Map of the columns contained in a result.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $map;
|
||||
|
||||
/**
|
||||
* Connects to the database using options in the given configuration array.
|
||||
*
|
||||
|
|
|
@ -104,13 +104,6 @@ class Postgres extends DboSource {
|
|||
*/
|
||||
protected $_sqlOps = array('like', 'ilike', 'or', 'not', 'in', 'between', '~', '~\*', '\!~', '\!~\*', 'similar to');
|
||||
|
||||
/**
|
||||
* Map of the columns contained in a result.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $map;
|
||||
|
||||
/**
|
||||
* Connects to the database using options in the given configuration array.
|
||||
*
|
||||
|
|
|
@ -102,13 +102,6 @@ class Sqlite extends DboSource {
|
|||
),
|
||||
);
|
||||
|
||||
/**
|
||||
* Map of the columns contained in a result.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $map;
|
||||
|
||||
/**
|
||||
* Connects to the database using config['database'] as a filename.
|
||||
*
|
||||
|
|
|
@ -106,13 +106,6 @@ class Sqlserver extends DboSource {
|
|||
'boolean' => array('name' => 'bit')
|
||||
);
|
||||
|
||||
/**
|
||||
* Map of the columns contained in a result.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $map;
|
||||
|
||||
/**
|
||||
* Magic column name used to provide pagination support for SQLServer 2008
|
||||
* which lacks proper limit/offset support.
|
||||
|
|
|
@ -247,6 +247,13 @@ class DboSource extends DataSource {
|
|||
*/
|
||||
protected $_methodCacheChange = false;
|
||||
|
||||
/**
|
||||
* Map of the columns contained in a result.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $map;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue