MediaWiki
fundraising/REL1_35
DonorEmail.php
Go to the documentation of this file.
1
<?php
2
3
class
DonorEmail
implements
StagingHelper
{
4
public
function
stage
(
GatewayType
$adapter, $normalized, &$stagedData ) {
5
if
( empty( $stagedData[
'email'
] ) ) {
6
$stagedData[
'email'
] = $adapter->
getGlobal
(
'DefaultEmail'
);
7
}
8
}
9
}
DonorEmail
Definition
DonorEmail.php:3
DonorEmail\stage
stage(GatewayType $adapter, $normalized, &$stagedData)
Transform a subset of normalized data into the "staged" data expected by a payment processor.
Definition
DonorEmail.php:4
GatewayType
GatewayType Interface.
Definition
GatewayType.php:7
GatewayType\getGlobal
static getGlobal( $varname)
This function is important.
StagingHelper
Used to mark any class which implements an staging method, for transforming data into the form expect...
Definition
StagingHelper.php:7
extensions
DonationInterface
gateway_common
DonorEmail.php
Generated on Mon Nov 25 2024 16:14:05 for MediaWiki by
1.10.0