_postUrl = $postUrl; } // // Getters and Setters // /** * Get the url to post data. * @return string */ function getPostUrl() { return $this->_postUrl; } // // Overridden protected methods from LinkActionRequest // /** * @see LinkActionRequest::getJSLinkActionRequest() */ function getJSLinkActionRequest() { return '$.pkp.classes.linkAction.PostAndRedirectRequest'; } /** * @see LinkActionRequest::getLocalizedOptions() */ function getLocalizedOptions() { $options = parent::getLocalizedOptions(); return array_merge($options, array('postUrl' => $this->getPostUrl()) ); } } ?>