Added Model and configuration overrides for the column mapping
Also obliterated the getters and setters in the Database class after running some tests against their speed in comparison to getting and setting the variables directly
This commit is contained in:
parent
92d7b0adce
commit
dc0d98906f
7 changed files with 200 additions and 418 deletions
|
@ -23,26 +23,23 @@ class Database_PDO_MySQL extends Database_PDO_Common
|
|||
/**
|
||||
* Driver
|
||||
*
|
||||
* @access protected
|
||||
* @var string
|
||||
* @var string
|
||||
*/
|
||||
protected $driver = 'pdo_mysql';
|
||||
public $driver = 'pdo_mysql';
|
||||
|
||||
/**
|
||||
* DSN format
|
||||
*
|
||||
* @access protected
|
||||
* @var string
|
||||
* @var string
|
||||
*/
|
||||
protected $dsn = 'mysql:host=[[hostname]];port=[[port]];unix_socket=[[socket]];dbname=[[database]]';
|
||||
public $dsn = 'mysql:host=[[hostname]];port=[[port]];unix_socket=[[socket]];dbname=[[database]]';
|
||||
|
||||
/**
|
||||
* Default port
|
||||
*
|
||||
* @access proceted
|
||||
* @var integer
|
||||
* @var integer
|
||||
*/
|
||||
protected $port = 3306;
|
||||
public $port = 3306;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue