Rev 29 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 29 | Rev 32 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | * ODBC alias
|
8 | * ODBC alias
|
9 | * @var string
|
9 | * @var string
|
10 | */
|
10 | */
|
11 | protected $_alias; |
11 | protected $_alias; |
12 | 12 | ||
13 | public function __construct() |
- | |
14 | {
|
13 | /**
|
15 | // $this->_connection = @odbc_connect($this->_alias, $this->_username, $this->_password);
|
- | |
16 | $this->_dsn = 'odbc:' . $this->_alias; |
14 | * (non-PHPdoc)
|
17 | parent::__construct(); |
15 | * @see Database::_leftQuote
|
18 | }
|
16 | */
|
- | 17 | protected $_leftQuote = '['; |
|
19 | 18 | ||
20 | /**
|
19 | /**
|
21 | * (non-PHPdoc)
|
20 | * (non-PHPdoc)
|
22 | * @see Database::_escapeValueArray()
|
21 | * @see Database::_rightQuote
|
23 | */
|
22 | */
|
- | 23 | protected $_rightQuote = ']'; |
|
- | 24 | ||
24 | protected function _escapeValueArray(array &$array, $suffix = '', array &$escape = array('`', '`')) |
25 | public function __construct() |
25 | {
|
26 | {
|
26 | return parent::_escapeValueArray($array, $suffix, $escape); |
27 | // $this->_connection = @odbc_connect($this->_alias, $this->_username, $this->_password);
|
- | 28 | $this->_dsn = 'odbc:' . $this->_alias; |
|
- | 29 | parent::__construct(); |
|
27 | }
|
30 | }
|
28 | }
|
31 | }
|
29 | 32 |