Open Monograph Press  1.1
 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 ()
 

Public Attributes

 $_url
 
- Public Attributes inherited from Modal
 $_canClose
 
 $_title
 
 $_titleIcon
 
 $_width
 

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 32 of file AjaxModal.inc.php.

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

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

AjaxModal::getUrl ( )

Get the URL to be loaded into the modal.

Returns
string

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

Referenced by AjaxLegacyPluginModal\getLocalizedOptions().

Member Data Documentation

string AjaxModal::$_url

The URL to be loaded into the modal.

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


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