public function getDbConnection() { if ($this->_conn === null) { $this->_conn = $this->createDbConnection($this->_connID); $this->_conn->setActive(true); } return $this->_conn; }