_remoteAction = $remoteAction; $this->_requestType = $requestType; } // // Getters and Setters // /** * Get the target URL. * @return string */ function getRemoteAction() { return $this->_remoteAction; } /** * Get the modal object. * @return Modal */ function getRequestType() { return $this->_requestType; } // // Overridden protected methods from LinkActionRequest // /** * @see LinkActionRequest::getJSLinkActionRequest() */ function getJSLinkActionRequest() { return '$.pkp.classes.linkAction.AjaxRequest'; } /** * @see LinkActionRequest::getLocalizedOptions() */ function getLocalizedOptions() { return array( 'url' => $this->getRemoteAction(), 'requestType' => $this->getRequestType() ); } } ?>