targetSelector = $targetSelector; $this->eventName = $eventName; $this->options = $options; } // // Overridden protected methods from LinkActionRequest // /** * @see LinkActionRequest::getJSLinkActionRequest() */ function getJSLinkActionRequest() { return '$.pkp.classes.linkAction.EventAction'; } /** * @see LinkActionRequest::getLocalizedOptions() */ function getLocalizedOptions() { return array_merge( $this->options, array( 'target' => $this->targetSelector, 'event' => $this->eventName, ) ); } } ?>