Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
RedirectConfirmationModal Class Reference
Inheritance diagram for RedirectConfirmationModal:
ConfirmationModal Modal LinkActionRequest

Public Member Functions

 getLocalizedOptions ()
 getRemoteUrl ()
 RedirectConfirmationModal ($dialogText, $title=null, $remoteUrl=null, $titleIcon=null, $okButton=null, $cancelButton=null, $canClose=true)
- Public Member Functions inherited from ConfirmationModal
 ConfirmationModal ($dialogText, $title=null, $titleIcon= 'modal_confirm', $okButton=null, $cancelButton=null, $canClose=true, $width=MODAL_WIDTH_AUTO)
 getCancelButton ()
 getDialogText ()
 getLocalizedOptions ()
 getOkButton ()
- Public Member Functions inherited from Modal
 getCanClose ()
 getJSLinkActionRequest ()
 getLocalizedOptions ()
 getTitle ()
 getTitleIcon ()
 getWidth ()
 Modal ($title=null, $titleIcon=null, $canClose=true, $width=MODAL_WIDTH_DEFAULT)
- Public Member Functions inherited from LinkActionRequest
 getJSLinkActionRequest ()
 getLocalizedOptions ()
 LinkActionRequest ()

Detailed Description

Class defining a simple confirmation modal with a redirect url and ok/cancel buttons.

Definition at line 18 of file

Member Function Documentation

RedirectConfirmationModal::getLocalizedOptions ( )
RedirectConfirmationModal::getRemoteUrl ( )

Get the remote url.


Definition at line 52 of file

Referenced by getLocalizedOptions().

RedirectConfirmationModal::RedirectConfirmationModal (   $dialogText,
  $title = null,
  $remoteUrl = null,
  $titleIcon = null,
  $okButton = null,
  $cancelButton = null,
  $canClose = true 


$dialogTextstring The localized text to appear in the dialog modal.
$titlestring (optional) The localized modal title.
$remoteUrlstring (optional) A URL to be redirected to when the confirmation button is clicked.
$titleIconstring (optional) The icon to be used in the modal title bar.
$okButtonstring (optional) The localized text to appear on the confirmation button.
$cancelButtonstring (optional) The localized text to appear on the cancel button.
$canCloseboolean (optional) Whether the modal will have a close button.

Definition at line 38 of file

The documentation for this class was generated from the following file: