Author: marijn
Date: 2010-01-11 18:30:30 +0100 (Mon, 11 Jan 2010)
New Revision: 26485
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/sfPaymentSellable.php
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/transaction/sfPaymentTransactionInterface.php
Log:
[sfPaymentPlugin] Moved currency constants from `sfPaymentTransactionInterface`
to `sfPaymentSellable`.
Modified: plugins/sfPaymentPlugin/branches/1.2-marijn/lib/sfPaymentSellable.php
===================================================================
--- plugins/sfPaymentPlugin/branches/1.2-marijn/lib/sfPaymentSellable.php
2010-01-11 17:28:42 UTC (rev 26484)
+++ plugins/sfPaymentPlugin/branches/1.2-marijn/lib/sfPaymentSellable.php
2010-01-11 17:30:30 UTC (rev 26485)
@@ -12,6 +12,16 @@
{
/**
+ * @var string The euro currency
+ */
+ const CURRENCY_EURO = 'EUR';
+
+ /**
+ * @var string The US dollar currency
+ */
+ const CURRENCY_UNITED_STATES_DOLLAR = 'USD';
+
+ /**
* Get the currency.
*
* @return string
Modified:
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/transaction/sfPaymentTransactionInterface.php
===================================================================
---
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/transaction/sfPaymentTransactionInterface.php
2010-01-11 17:28:42 UTC (rev 26484)
+++
plugins/sfPaymentPlugin/branches/1.2-marijn/lib/transaction/sfPaymentTransactionInterface.php
2010-01-11 17:30:30 UTC (rev 26485)
@@ -36,16 +36,6 @@
const STATUS_UNKNOWN = 'unknown';
/**
- * @var string The euro currency
- */
- const CURRENCY_EURO = 'EUR';
-
- /**
- * @var string The US dollar currency
- */
- const CURRENCY_UNITED_STATES_DOLLAR = 'USD';
-
- /**
* Set the transaction id.
*
* @param string $arg_transactionId The transaction id.
@@ -125,14 +115,14 @@
/**
* Cast the object to an XML notation.
*
- * @return DomDocument
+ * @return SimpleXMLElement
*/
function toXmlElement ();
/**
* Create an object from an XML data source.
*
- * @param string $arg_xml The XML representation.
+ * @param SimpleXMLElement $arg_xml The XML representation.
*
* @return void
*/
--
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.