Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($dialogText, $title=null, $remoteUrl=null, $titleIcon=null, $okButton=null, $cancelButton=null, $canClose=true) | |
getLocalizedOptions () | |
getRemoteUrl () | |
Public Member Functions inherited from ConfirmationModal | |
__construct ($dialogText, $title=null, $titleIcon='modal_confirm', $okButton=null, $cancelButton=null, $canClose=true) | |
getCancelButton () | |
getDialogText () | |
getOkButton () | |
Public Member Functions inherited from Modal | |
__construct ($title=null, $titleIcon=null, $canClose=true, $closeOnFormSuccessId=null, $closeCleanVueInstances=[]) | |
getCanClose () | |
getCloseButtonText () | |
getJSLinkActionRequest () | |
getTitle () | |
getTitleIcon () | |
Public Member Functions inherited from LinkActionRequest | |
__construct () | |
Data Fields | |
$_remoteUrl | |
Data Fields inherited from ConfirmationModal | |
$_cancelButton | |
$_dialogText | |
$_okButton | |
Data Fields inherited from Modal | |
$_canClose | |
$_closeCleanVueInstances | |
$_closeOnFormSuccessId | |
$_title | |
$_titleIcon | |
Class defining a simple confirmation modal with a redirect url and ok/cancel buttons.
Definition at line 18 of file RedirectConfirmationModal.inc.php.
RedirectConfirmationModal::__construct | ( | $dialogText, | |
$title = null , |
|||
$remoteUrl = null , |
|||
$titleIcon = null , |
|||
$okButton = null , |
|||
$cancelButton = null , |
|||
$canClose = true |
|||
) |
Constructor
$dialogText | string The localized text to appear in the dialog modal. |
$title | string (optional) The localized modal title. |
$remoteUrl | string (optional) A URL to be redirected to when the confirmation button is clicked. |
$titleIcon | string (optional) The icon to be used in the modal title bar. |
$okButton | string (optional) The localized text to appear on the confirmation button. |
$cancelButton | string (optional) The localized text to appear on the cancel button. |
$canClose | boolean (optional) Whether the modal will have a close button. |
Definition at line 41 of file RedirectConfirmationModal.inc.php.
RedirectConfirmationModal::getLocalizedOptions | ( | ) |
Reimplemented from ConfirmationModal.
Definition at line 65 of file RedirectConfirmationModal.inc.php.
References getRemoteUrl().
RedirectConfirmationModal::getRemoteUrl | ( | ) |
Get the remote url.
Definition at line 55 of file RedirectConfirmationModal.inc.php.
References $_remoteUrl.
Referenced by getLocalizedOptions().
string RedirectConfirmationModal::$_remoteUrl |
A URL to be redirected to when the confirmation button is clicked.
Definition at line 23 of file RedirectConfirmationModal.inc.php.
Referenced by getRemoteUrl().