_url = $url; $this->_name = $name; $this->_specs = $specs; } // // Getters and Setters // /** * Get the target URL. * @return string */ function getUrl() { return $this->_url; } /** * Get the target name. * See JS reference for the name parameter to "window.open". * @return string */ function getName() { return $this->_name; } /** * Get the target specifications. * See JS reference for the specs parameter to "window.open". * @return string */ function getSpecs() { return $this->_specs; } // // Overridden protected methods from LinkActionRequest // /** * @see LinkActionRequest::getJSLinkActionRequest() */ function getJSLinkActionRequest() { return '$.pkp.classes.linkAction.RedirectRequest'; } /** * @see LinkActionRequest::getLocalizedOptions() */ function getLocalizedOptions() { return array( 'url' => $this->getUrl(), 'name' => $this->getName(), 'specs' => $this->getSpecs() ); } } ?>