Author: marijn
Date: 2010-01-12 00:30:49 +0100 (Tue, 12 Jan 2010)
New Revision: 26505
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentForm.php
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentFormAbstract.php
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentSelectForm.php
Log:
[sfPaymentPlugin] Added abstract method `process` to the shared
`sfPaymentFormAbstract` interface.
Modified: plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentForm.php
===================================================================
--- plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentForm.php
2010-01-11 23:27:42 UTC (rev 26504)
+++ plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentForm.php
2010-01-11 23:30:49 UTC (rev 26505)
@@ -10,4 +10,15 @@
*/
class sfPaymentForm extends sfPaymentFormAbstract
{
+
+ /**
+ * Process the payment selection.
+ *
+ * @return sfPaymentTransactionInterface
+ */
+ public function process ()
+ {
+ throw new BadMethodCallException('Not yet implemented');
+ }
+
}
\ No newline at end of file
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentFormAbstract.php
===================================================================
---
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentFormAbstract.php
2010-01-11 23:27:42 UTC (rev 26504)
+++
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentFormAbstract.php
2010-01-11 23:30:49 UTC (rev 26505)
@@ -65,6 +65,13 @@
}
/**
+ * Process the form.
+ *
+ * @return sfPaymentTransactionInterface
+ */
+ abstract public function process ();
+
+ /**
* {...@inheritdoc}
*
* @throws BadMethodCallException If no transaction was set for the form.
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentSelectForm.php
===================================================================
---
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentSelectForm.php
2010-01-11 23:27:42 UTC (rev 26504)
+++
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentSelectForm.php
2010-01-11 23:30:49 UTC (rev 26505)
@@ -6,8 +6,19 @@
* @package sfPaymentPlugin
* @author Marijn Huizendveld <[email protected]>
*
- * @version $Revision: 20173 $ changed by $Author: marijn $
+ * @version $Revision$ changed by $Author$
*/
class sfPaymentSelectForm extends sfPaymentFormAbstract
{
+
+ /**
+ * Process the gateway selection.
+ *
+ * @return sfPaymentTransactionInterface
+ */
+ public function process ()
+ {
+ throw new BadMethodCallException('Not yet implemented');
+ }
+
}
\ No newline at end of file
Property changes on:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/form/sfPaymentSelectForm.php
___________________________________________________________________
Added: svn:keywords
+ Id Revision Author Date HeadURL
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.