r102051 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102050‎ | r102051 | r102052 >
Date:21:37, 4 November 2011
Author:jpostlethwaite
Status:ok
Tags:fundraising 
Comment:
Added helper: getPaymentSubmethodFormValidation().
Modified paths:
  • /trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php
@@ -693,6 +693,21 @@
694694 }
695695
696696 /**
 697+ * Get payment submethod form validation options
 698+ *
 699+ * @todo
 700+ * - These may need to move to the parent class
 701+ *
 702+ * @return array
 703+ */
 704+ public function getPaymentSubmethodFormValidation( $options = array() ) {
 705+
 706+ $meta = $this->getPaymentSubmethodMeta( $this->getPaymentSubmethod() );
 707+
 708+ return $meta['validation'];
 709+ }
 710+
 711+ /**
697712 * Because GC has some processes that involve more than one do_transaction
698713 * chained together, we're catching those special ones in an overload and
699714 * letting the rest behave normally.

Follow-up revisions

RevisionCommit summaryAuthorDate
r102052Removing dependency from accessing raw data in GlobalCollectGateway::execute(...jpostlethwaite21:40, 4 November 2011
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

Status & tagging log