Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -251,6 +251,17 @@ |
252 | 252 | } |
253 | 253 | } |
254 | 254 | |
| 255 | + /** |
| 256 | + * Returns the variable $this->dataObj which should be an instance of |
| 257 | + * DonationData |
| 258 | + * |
| 259 | + * @return DonationData |
| 260 | + */ |
| 261 | + public function getDonationData() { |
| 262 | + |
| 263 | + return $this->dataObj; |
| 264 | + } |
| 265 | + |
255 | 266 | function getDisplayData() { |
256 | 267 | return $this->displaydata; |
257 | 268 | } |
— | — | @@ -644,7 +655,7 @@ |
645 | 656 | * @param $transaction string This is a specific transaction type like 'INSERT_ORDERWITHPAYMENT' |
646 | 657 | * that maps to a first-level key in the $transactions array. |
647 | 658 | */ |
648 | | - protected function currentTransaction( $transaction = '' ) { //get&set in one! |
| 659 | + public function currentTransaction( $transaction = '' ) { //get&set in one! |
649 | 660 | static $current_transaction; |
650 | 661 | if ( $transaction != '' ) { |
651 | 662 | $current_transaction = $transaction; |