original_string: protected function exportRequest()
      {
          // Set the request language
          if ($this->languageParameter) {
              $this->request->setArgument($this->languageParameter, $this->sysLanguage);
          }
  
          $this->request->setControllerExtensionName($this->extensionName);
  
          // Set page ID and type
          $this->request->setArgument('id', $this->page);
          if (intval($this->typeNum)) {
              $this->request->setArgument('type', intval($this->typeNum));
          }
  
          return [
              'method'    => $this->request->getMethod(),
              'arguments' => $this->request->getArguments(),
          ];
      }
code: protected function exportRequest()
      {
          // Set the request language
          if ($this->languageParameter) {
              $this->request->setArgument($this->languageParameter, $this->sysLanguage);
          }
  
          $this->request->setControllerExtensionName($this->extensionName);
  
          // Set page ID and type
          $this->request->setArgument('id', $this->page);
          if (intval($this->typeNum)) {
              $this->request->setArgument('type', intval($this->typeNum));
          }
  
          return [
              'method'    => $this->request->getMethod(),
              'arguments' => $this->request->getArguments(),
          ];
      }
code_tokens: protected function exportRequest ( ) { // Set the request language if ( $ this -> languageParameter ) { $ this -> request -> setArgument ( $ this -> languageParameter , $ this -> sysLanguage ) ; } $ this -> request -> setControllerExtensionName ( $ this -> extensionName ) ; // Set page ID and type $ this -> request -> setArgument ( 'id' , $ this -> page ) ; if ( intval ( $ this -> typeNum ) ) { $ this -> request -> setArgument ( 'type' , intval ( $ this -> typeNum ) ) ; } return [ 'method' => $ this -> request -> getMethod ( ) , 'arguments' => $ this -> request -> getArguments ( ) , ] ; }
docstring: Export the request options
  
  @return array
docstring_tokens: Export the request options