Subversion Repositories PHPX

Rev

Rev 29 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

1
<?php

require_once __DIR__ . '/Database.php';

class ODBCDB extends Database
{
  /**
   * ODBC alias
   * @var string
   */

  protected $_alias;
 
  /**
   * (non-PHPdoc)
   * @see Database::_leftQuote
   */

  protected $_leftQuote = '[';
 
  /**
   * (non-PHPdoc)
   * @see Database::_rightQuote
   */

  protected $_rightQuote = ']';
 
  public function __construct()
  {
//     $this->_connection = @odbc_connect($this->_alias, $this->_username, $this->_password);
    $this->_dsn = 'odbc:' . $this->_alias;
    parent::__construct();
  }
}