MediaWiki fundraising/REL1_35
|
Static Public Member Functions | |
static | getCancelPage (GatewayType $adapter) |
Get the URL for a page to show donors who cancel their attempt. | |
static | getThankYouPage (GatewayType $adapter, $extraParams=[]) |
Get the URL for a page to show donors after a successful donation, with the country code appended as a query string variable. | |
Static Protected Member Functions | |
static | appendLanguageAndMakeURL ( $url, $language) |
For pages we intend to redirect to. | |
Definition at line 3 of file ResultPages.php.
|
staticprotected |
For pages we intend to redirect to.
This function will take either a full URL or a page title, and turn it into a URL with the appropriate language appended onto the end.
string | $url | Either a wiki page title, or a URL to an external wiki page title. |
string | $language |
Definition at line 48 of file ResultPages.php.
References PROTO_CURRENT.
Referenced by getCancelPage(), and getThankYouPage().
|
static |
Get the URL for a page to show donors who cancel their attempt.
GatewayType | $adapter | instance to use for logger and settings |
Definition at line 28 of file ResultPages.php.
References appendLanguageAndMakeURL(), GatewayType\getData_Unstaged_Escaped(), and GatewayType\getGlobal().
Referenced by PaypalExpressAdapter\defineTransactions().
|
static |
Get the URL for a page to show donors after a successful donation, with the country code appended as a query string variable.
GatewayType | $adapter | |
array | $extraParams | any extra parameters to add to the URL |
Definition at line 11 of file ResultPages.php.
References appendLanguageAndMakeURL(), GatewayType\getData_Unstaged_Escaped(), and wfAppendQuery().
Referenced by ResultSwitcher\displayThankYouPage(), AmazonBillingApi\execute(), GatewayPage\renderResponse(), AdyenCheckoutGateway\setClientVariables(), BraintreeGateway\setClientVariables(), DlocalGateway\setClientVariables(), GatewayPage\setClientVariables(), and IngenicoReturntoHelper\stage().