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(),
        ];
    }
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(),
        ];
    }
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 ( ) , ] ; }
Export the request options

@return array
Export the request options