original_string: public function func($sFunction)
      {
          $aArguments = func_get_args();
          $sFunction = (string)$sFunction;
          // Remove the function name from the arguments array.
          array_shift($aArguments);
          // Make the request
          $xRequest = new Request($sFunction);
          $xRequest->useSingleQuote();
          $xRequest->addParameters($aArguments);
          return $xRequest;
      }
code: public function func($sFunction)
      {
          $aArguments = func_get_args();
          $sFunction = (string)$sFunction;
          // Remove the function name from the arguments array.
          array_shift($aArguments);
          // Make the request
          $xRequest = new Request($sFunction);
          $xRequest->useSingleQuote();
          $xRequest->addParameters($aArguments);
          return $xRequest;
      }
code_tokens: public function func ( $ sFunction ) { $ aArguments = func_get_args ( ) ; $ sFunction = ( string ) $ sFunction ; // Remove the function name from the arguments array. array_shift ( $ aArguments ) ; // Make the request $ xRequest = new Request ( $ sFunction ) ; $ xRequest -> useSingleQuote ( ) ; $ xRequest -> addParameters ( $ aArguments ) ; return $ xRequest ; }
docstring: Return the javascript call to a generic function
  
  @param string            $sFunction          The function or method (with class) name
  @param ...               $xParams            The parameters of the function or method
  
  @return Request
docstring_tokens: Return the javascript call to a generic function