original_string: public function sendRawRequest($model, $url, $method = 'GET', $data = null)
      {
          if ($model->debug) {
              echo '<font color="blue">'.
                  htmlspecialchars("$method $url (".json_encode($data).')').
                  '</font>';
          }
          $method = strtolower($method);
  
          $pest = $model->_table[$this->short_name];
          if ($data) {
              return $pest->$method($url, $data);
          } else {
              return $pest->$method($url);
          }
      }
code: public function sendRawRequest($model, $url, $method = 'GET', $data = null)
      {
          if ($model->debug) {
              echo '<font color="blue">'.
                  htmlspecialchars("$method $url (".json_encode($data).')').
                  '</font>';
          }
          $method = strtolower($method);
  
          $pest = $model->_table[$this->short_name];
          if ($data) {
              return $pest->$method($url, $data);
          } else {
              return $pest->$method($url);
          }
      }
code_tokens: public function sendRawRequest ( $ model , $ url , $ method = 'GET' , $ data = null ) { if ( $ model -> debug ) { echo '<font color="blue">' . htmlspecialchars ( "$method $url (" . json_encode ( $ data ) . ')' ) . '</font>' ; } $ method = strtolower ( $ method ) ; $ pest = $ model -> _table [ $ this -> short_name ] ; if ( $ data ) { return $ pest -> $ method ( $ url , $ data ) ; } else { return $ pest -> $ method ( $ url ) ; } }
docstring: Sends request to specified URL with specified method and data.
docstring_tokens: Sends request to specified URL with specified method and data .