original_string: public function get_row($query = '', $ignore_cache = false){
          if( empty($query) ){
              $query = $this->build_query();
              $this->clear();
          }
          if( $this->cache_exist($query) && !$ignore_cache ){
              return $this->get_cache($query);
          }else{
              return $this->db->get_row($query);
          }
      }
code: public function get_row($query = '', $ignore_cache = false){
          if( empty($query) ){
              $query = $this->build_query();
              $this->clear();
          }
          if( $this->cache_exist($query) && !$ignore_cache ){
              return $this->get_cache($query);
          }else{
              return $this->db->get_row($query);
          }
      }
code_tokens: public function get_row ( $ query = '' , $ ignore_cache = false ) { if ( empty ( $ query ) ) { $ query = $ this -> build_query ( ) ; $ this -> clear ( ) ; } if ( $ this -> cache_exist ( $ query ) && ! $ ignore_cache ) { return $ this -> get_cache ( $ query ) ; } else { return $ this -> db -> get_row ( $ query ) ; } }
docstring: Returns row object
  
  @param string $query
  @param bool $ignore_cache
  @return mixed|null
docstring_tokens: Returns row object