Open Journal Systems  3.3.0
PostAndRedirectAction Class Reference
Inheritance diagram for PostAndRedirectAction:
RedirectAction LinkActionRequest

Public Member Functions

 __construct ($postUrl, $redirectUrl)
 
 getJSLinkActionRequest ()
 
 getLocalizedOptions ()
 
 getPostUrl ()
 
- Public Member Functions inherited from RedirectAction
 __construct ($url, $name='_self', $specs='')
 
 getName ()
 
 getSpecs ()
 
 getUrl ()
 
- Public Member Functions inherited from LinkActionRequest
 __construct ()
 

Data Fields

 $_postUrl
 
- Data Fields inherited from RedirectAction
 $_name
 
 $_specs
 
 $_url
 

Detailed Description

Class defining a post and redirect action. See PostAndRedirectRequest.js to detailed description.

Definition at line 19 of file PostAndRedirectAction.inc.php.

Constructor & Destructor Documentation

◆ __construct()

PostAndRedirectAction::__construct (   $postUrl,
  $redirectUrl 
)

Constructor

Parameters
$postUrlstring The target URL to post data.
$redirectUrlstring The target URL to redirect.

Definition at line 32 of file PostAndRedirectAction.inc.php.

Member Function Documentation

◆ getJSLinkActionRequest()

PostAndRedirectAction::getJSLinkActionRequest ( )
See also
LinkActionRequest::getJSLinkActionRequest()

Reimplemented from RedirectAction.

Definition at line 56 of file PostAndRedirectAction.inc.php.

◆ getLocalizedOptions()

PostAndRedirectAction::getLocalizedOptions ( )
See also
LinkActionRequest::getLocalizedOptions()

Reimplemented from RedirectAction.

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

References getPostUrl().

◆ getPostUrl()

PostAndRedirectAction::getPostUrl ( )

Get the url to post data.

Returns
string

Definition at line 45 of file PostAndRedirectAction.inc.php.

References $_postUrl.

Referenced by getLocalizedOptions().

Field Documentation

◆ $_postUrl

string PostAndRedirectAction::$_postUrl

The url to be used for posting data

Definition at line 25 of file PostAndRedirectAction.inc.php.

Referenced by getPostUrl().


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