_url = $url; } // // Getters and Setters // /** * Get the URL to be loaded into the modal. * * @return string */ public function getUrl() { return $this->_url; } // // Overridden methods from LinkActionRequest // /** * @see LinkActionRequest::getLocalizedOptions() */ public function getLocalizedOptions() { return array_merge( parent::getLocalizedOptions(), [ 'modalHandler' => '$.pkp.controllers.modal.AjaxModalHandler', 'url' => $this->getUrl(), ] ); } } if (!PKP_STRICT_MODE) { class_alias('\PKP\linkAction\request\AjaxModal', '\AjaxModal'); }