public function query($query) {
    if(method_exists($this->db, 'query')) {
      return $this->db->query($query);
    } else {
      throw new Exception(__METHOD__ . " not implemented");
    }
  }
public function query($query) {
    if(method_exists($this->db, 'query')) {
      return $this->db->query($query);
    } else {
      throw new Exception(__METHOD__ . " not implemented");
    }
  }
public function query ( $ query ) { if ( method_exists ( $ this -> db , 'query' ) ) { return $ this -> db -> query ( $ query ) ; } else { throw new Exception ( __METHOD__ . " not implemented" ) ; } }
The following methods either execute or if the method is not defined throw an Exception
The following methods either execute or if the method is not defined throw an Exception