Lines Matching defs:dsn
23 * The dsn.
88 * @param dsn string the dsn to use for connecting
91 public function connect($dsn) {
92 $this->_dsn = $dsn;
94 $this->_db = $this->initializePDO($dsn);
97 msg(sprintf($this->util->getLang('driver_failed_detail'), hsc($dsn), hsc($e->getMessage())), -1);
110 * @param dsn string the dsn to use for construction
113 protected function initializePDO($dsn) {
118 return new PDO($dsn, $credentials[0], $credentials[1]);