https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102050
Revision: 102050
Author: jpostlethwaite
Date: 2011-11-04 21:36:45 +0000 (Fri, 04 Nov 2011)
Log Message:
-----------
Added helpers: getPaymentMethod() and getPaymentSubmethod().
Modified Paths:
--------------
trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
Modified: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
===================================================================
--- trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
2011-11-04 21:16:24 UTC (rev 102049)
+++ trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
2011-11-04 21:36:45 UTC (rev 102050)
@@ -987,6 +987,16 @@
}
/**
+ * Get the payment method
+ *
+ * @return string
+ */
+ public function getPaymentMethod() {
+
+ return $this->getData_Raw('payment_method');
+ }
+
+ /**
* Define payment methods
*
* Payment methods include:
@@ -1012,6 +1022,16 @@
}
/**
+ * Get the payment submethod
+ *
+ * @return string
+ */
+ public function getPaymentSubmethod() {
+
+ return $this->getData_Raw('payment_submethod');
+ }
+
+ /**
* Define payment methods
*
* @todo
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs