first commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* @file classes/linkAction/request/WizardModal.php
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* @class WizardModal
|
||||
*
|
||||
* @ingroup linkAction_request
|
||||
*
|
||||
* @brief A modal that contains a wizard retrieved via AJAX.
|
||||
*/
|
||||
|
||||
namespace PKP\linkAction\request;
|
||||
|
||||
class WizardModal extends AjaxModal
|
||||
{
|
||||
//
|
||||
// Overridden methods from LinkActionRequest
|
||||
//
|
||||
/**
|
||||
* @see LinkActionRequest::getLocalizedOptions()
|
||||
*/
|
||||
public function getLocalizedOptions()
|
||||
{
|
||||
$options = parent::getLocalizedOptions();
|
||||
$options['modalHandler'] = '$.pkp.controllers.modal.WizardModalHandler';
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
||||
if (!PKP_STRICT_MODE) {
|
||||
class_alias('\PKP\linkAction\request\WizardModal', '\WizardModal');
|
||||
}
|
||||
Reference in New Issue
Block a user