MediaWiki fundraising/REL1_35
|
An abstract class for gateway 'extras'. More...
Protected Member Functions | |
__construct (GatewayType $gateway_adapter) | |
compare_hash ( $hash, $data) | |
Compare a hash to the hash of some given data. | |
generate_hash ( $data) | |
Generate a hash of some data. | |
log ( $id='', $status='', $data='', $log_level=LogLevel::INFO) | |
Writes message to the log. | |
Protected Attributes | |
GatewayType | $gateway_adapter |
Psr Log LoggerInterface | $gateway_logger |
Sends messages to the standard gateway log. | |
Psr Log LoggerInterface | $transaction_logger |
Sends messages to the blah_gateway_trxn log. | |
An abstract class for gateway 'extras'.
Definition at line 7 of file extras.body.php.
|
protected |
Reimplemented in Gateway_Extras_CustomFilters, and FraudFilter.
Definition at line 26 of file extras.body.php.
References $gateway_adapter, and DonationLoggerFactory\getLogger().
|
protected |
Compare a hash to the hash of some given data.
string | $hash | A given hash |
string | $data | The data to hash and compare to $hash |
Definition at line 70 of file extras.body.php.
References generate_hash().
Referenced by Gateway_Extras_CustomFilters_MinFraud\canBypassMinFraud().
|
protected |
Generate a hash of some data.
string | $data | the data to hash |
Definition at line 59 of file extras.body.php.
Referenced by Gateway_Extras_CustomFilters_MinFraud\canBypassMinFraud(), and compare_hash().
|
protected |
Writes message to the log.
@fixme Do formatting with a Monolog formatter
string | $id | |
string | $status | |
string | $data | |
string | $log_level | One of the constants defined in |
Definition at line 41 of file extras.body.php.
Referenced by Gateway_Extras_CustomFilters_MinFraud\canBypassMinFraud(), Gateway_Extras_CustomFilters_Referrer\filter(), Gateway_Extras_CustomFilters_Source\filter(), and Gateway_Extras_ConversionLog\post_process().
|
protected |
Definition at line 12 of file extras.body.php.
Referenced by Gateway_Extras_CustomFilters\__construct(), __construct(), FraudFilter\__construct(), Gateway_Extras_CustomFilters_Functions\__construct(), Gateway_Extras_CustomFilters_MinFraud\__construct(), Gateway_Extras_CustomFilters_Referrer\__construct(), Gateway_Extras_CustomFilters_Source\__construct(), Gateway_Extras_CustomFilters_IP_Velocity\__construct(), Gateway_Extras_CustomFilters\determineStoredAction(), Gateway_Extras_CustomFilters_IP_Velocity\onFilter(), Gateway_Extras_CustomFilters_MinFraud\onFilter(), Gateway_Extras_CustomFilters\onGatewayReady(), Gateway_Extras_CustomFilters_IP_Velocity\onInitialFilter(), Gateway_Extras_CustomFilters_Referrer\onInitialFilter(), Gateway_Extras_CustomFilters_Source\onInitialFilter(), Gateway_Extras_ConversionLog\onPostProcess(), Gateway_Extras_CustomFilters_IP_Velocity\onPostProcess(), Gateway_Extras_SessionVelocityFilter\onProcessorApiCall(), Gateway_Extras_CustomFilters\onValidate(), Gateway_Extras_ConversionLog\singleton(), Gateway_Extras_CustomFilters\singleton(), Gateway_Extras_SessionVelocityFilter\singleton(), Gateway_Extras_CustomFilters_MinFraud\singleton(), Gateway_Extras_CustomFilters_Referrer\singleton(), Gateway_Extras_CustomFilters_Source\singleton(), and Gateway_Extras_CustomFilters_IP_Velocity\singleton().
|
protected |
Sends messages to the standard gateway log.
Definition at line 24 of file extras.body.php.
|
protected |
Sends messages to the blah_gateway_trxn log.
Definition at line 18 of file extras.body.php.