r101958 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101957‎ | r101958 | r101959 >
Date:05:30, 4 November 2011
Author:jpostlethwaite
Status:ok
Tags:fundraising 
Comment:
Added getGoToThankYouOn(). This is a lookup to see which statuses are accepted as successful. See r101956.
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
@@ -111,6 +111,13 @@
112112 * @var array $error_map
113113 */
114114 protected $error_map = array();
 115+
 116+ /**
 117+ * @see GatewayAdapter::defineGoToThankYouOn()
 118+ *
 119+ * @var array $goToThankYouOn
 120+ */
 121+ protected $goToThankYouOn = array();
115122
116123 /**
117124 * $var_map maps gateway variables to client variables
@@ -162,6 +169,15 @@
163170 const GLOBAL_PREFIX = 'wgDonationGateway'; //...for example.
164171
165172 /**
 173+ * Get @see GlobalCollectAdapter::$goToThankYouOn
 174+ *
 175+ */
 176+ public function getGoToThankYouOn() {
 177+
 178+ return $this->goToThankYouOn;
 179+ }
 180+
 181+ /**
166182 * Constructor
167183 *
168184 * @param array $options

Follow-up revisions

RevisionCommit summaryAuthorDate
r102236MFT r90286, r100671, r100837, r100950, r101060, r101063, r101064, r101073, r1......khorn03:06, 7 November 2011
r102237MFT r90286, r100671, r100837, r100950, r101060, r101063, r101064, r101073, r1......khorn03:07, 7 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101956Added $error_map, getErrorMap(), getErrorMapByCodeAndTranslate(), getTransact...jpostlethwaite05:18, 4 November 2011

Status & tagging log