/** * Return the proper Database-Object according to the connection * * @param One_Store_Connection_Interface $connection * @return object */ protected function dbFromConnection(One_Store_Connection_Interface $connection) { if (is_null($this->dbh)) { $this->dbh = $connection->open(); } return $this->dbh; }
/** * Return the proper Database-Object according to the connection * * @param One_Store_Connection_Interface $connection * @return object */ protected function dbFromConnection(One_Store_Connection_Interface $connection) { return $connection->open(); }