Move declaration of $map to DboSource

This commit is contained in:
Val Bancer 2018-08-25 22:39:26 +02:00
parent f768689bd0
commit 957b4e566a
5 changed files with 7 additions and 28 deletions

View file

@ -141,13 +141,6 @@ class Mysql extends DboSource {
*/ */
protected $_charsets = array(); 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. * Connects to the database using options in the given configuration array.
* *

View file

@ -104,13 +104,6 @@ class Postgres extends DboSource {
*/ */
protected $_sqlOps = array('like', 'ilike', 'or', 'not', 'in', 'between', '~', '~\*', '\!~', '\!~\*', 'similar to'); 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. * Connects to the database using options in the given configuration array.
* *

View file

@ -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. * Connects to the database using config['database'] as a filename.
* *

View file

@ -106,13 +106,6 @@ class Sqlserver extends DboSource {
'boolean' => array('name' => 'bit') '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 * Magic column name used to provide pagination support for SQLServer 2008
* which lacks proper limit/offset support. * which lacks proper limit/offset support.

View file

@ -247,6 +247,13 @@ class DboSource extends DataSource {
*/ */
protected $_methodCacheChange = false; protected $_methodCacheChange = false;
/**
* Map of the columns contained in a result.
*
* @var array
*/
public $map;
/** /**
* Constructor * Constructor
* *