Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
AjaxModal Class Reference
Inheritance diagram for AjaxModal:
Modal LinkActionRequest AjaxLegacyPluginModal WizardModal

Public Member Functions

 AjaxModal ($url, $title=null, $titleIcon=null, $canClose=true)
 
 getLocalizedOptions ()
 
 getUrl ()
 
- 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

A modal that retrieves its content from via AJAX.

Definition at line 18 of file AjaxModal.inc.php.

Member Function Documentation

AjaxModal::AjaxModal (   $url,
  $title = null,
  $titleIcon = null,
  $canClose = true 
)

Constructor

Parameters
$urlstring The URL of the AJAX resource to load into the modal.
$titlestring (optional) The localized modal title.
$titleIconstring (optional) The icon to be used in the modal title bar.
$canCloseboolean (optional) Whether the modal will have a close button.

Definition at line 29 of file AjaxModal.inc.php.

AjaxModal::getLocalizedOptions ( )
See Also
LinkActionRequest::getLocalizedOptions()

Definition at line 54 of file AjaxModal.inc.php.

References getUrl().

AjaxModal::getUrl ( )

Get the URL to be loaded into the modal.

Returns
string

Definition at line 43 of file AjaxModal.inc.php.

Referenced by AjaxLegacyPluginModal\getLocalizedOptions(), and getLocalizedOptions().


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