original_string: protected function encode_request($functionname, $params) {
  
          $outputoptions = array(
              'encoding' => 'utf-8',
              'escaping' => 'markup',
          );
  
          // See MDL-53962 - needed for backwards compatibility on <= 3.0.
          $params = array_values($params);
  
          return xmlrpc_encode_request($functionname, $params, $outputoptions);
      }
code: protected function encode_request($functionname, $params) {
  
          $outputoptions = array(
              'encoding' => 'utf-8',
              'escaping' => 'markup',
          );
  
          // See MDL-53962 - needed for backwards compatibility on <= 3.0.
          $params = array_values($params);
  
          return xmlrpc_encode_request($functionname, $params, $outputoptions);
      }
code_tokens: protected function encode_request ( $ functionname , $ params ) { $ outputoptions = array ( 'encoding' => 'utf-8' , 'escaping' => 'markup' , ) ; // See MDL-53962 - needed for backwards compatibility on <= 3.0. $ params = array_values ( $ params ) ; return xmlrpc_encode_request ( $ functionname , $ params , $ outputoptions ) ; }
docstring: Generates XML for a method request.
  
  @param string $functionname Name of the method to call.
  @param mixed $params Method parameters compatible with the method signature.
  @return string
docstring_tokens: Generates XML for a method request .