Open Journal Systems  3.3.0
AjaxAction Class Reference
Inheritance diagram for AjaxAction:
LinkActionRequest

Public Member Functions

 __construct ($remoteAction, $requestType=AJAX_REQUEST_TYPE_POST)
 
 getJSLinkActionRequest ()
 
 getLocalizedOptions ()
 
 getRemoteAction ()
 
 getRequestType ()
 
- Public Member Functions inherited from LinkActionRequest
 __construct ()
 

Data Fields

 $_remoteAction
 
 $_requestType
 

Detailed Description

Class defining an AJAX action.

Definition at line 21 of file AjaxAction.inc.php.

Constructor & Destructor Documentation

◆ __construct()

AjaxAction::__construct (   $remoteAction,
  $requestType = AJAX_REQUEST_TYPE_POST 
)

Constructor

Parameters
$remoteActionstring The target URL.
$requestTypestring One of the AJAX_REQUEST_TYPE_* constants.

Definition at line 41 of file AjaxAction.inc.php.

Member Function Documentation

◆ getJSLinkActionRequest()

AjaxAction::getJSLinkActionRequest ( )
See also
LinkActionRequest::getJSLinkActionRequest()

Reimplemented from LinkActionRequest.

Definition at line 74 of file AjaxAction.inc.php.

◆ getLocalizedOptions()

AjaxAction::getLocalizedOptions ( )
See also
LinkActionRequest::getLocalizedOptions()

Reimplemented from LinkActionRequest.

Definition at line 81 of file AjaxAction.inc.php.

References getRemoteAction(), and getRequestType().

◆ getRemoteAction()

AjaxAction::getRemoteAction ( )

Get the target URL.

Returns
string

Definition at line 55 of file AjaxAction.inc.php.

References $_remoteAction.

Referenced by getLocalizedOptions().

◆ getRequestType()

AjaxAction::getRequestType ( )

Get the modal object.

Returns
Modal

Definition at line 63 of file AjaxAction.inc.php.

References $_requestType.

Referenced by getLocalizedOptions().

Field Documentation

◆ $_remoteAction

string AjaxAction::$_remoteAction

Definition at line 27 of file AjaxAction.inc.php.

Referenced by getRemoteAction().

◆ $_requestType

string AjaxAction::$_requestType

Definition at line 33 of file AjaxAction.inc.php.

Referenced by getRequestType().


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