Swift_Swiftplugin - Version 1.7.0

Version Notes

Orders to save load on server our cached in client database to not send orders that have already been sent to swift. Installs cache table which tells the system what orders have already been sent to the SwiftERM system

Download this release

Release Info

Developer Simon Cooper
Extension Swift_Swiftplugin
Version 1.7.0
Comparing to
See all releases


Code changes from version 1.6.0 to 1.7.0

app/code/community/Swift/Swiftplugin/Model/Mysql4/Swiftorders.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Swift_Swiftplugin_Model_Mysql4_Swiftorders extends Mage_Core_Model_Resource_Db_Abstract {
4
+
5
+ protected function _construct()
6
+ {
7
+ $this->_init('swift/swiftorders', 'entity_id');
8
+ }
9
+ }
10
+
11
+ ?>
app/code/community/Swift/Swiftplugin/Model/Mysql4/Swiftorders/Collection.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Swift_Swiftplugin_Model_Mysql4_Swiftorders_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract {
4
+
5
+ protected function _construct()
6
+ {
7
+ $this->_init('swift/swiftorders');
8
+ }
9
+ }
10
+
11
+ ?>
app/code/community/Swift/Swiftplugin/Model/Swiftorders.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Swift_Swiftplugin_Model_Swiftorders extends Mage_Core_Model_Abstract {
4
+
5
+ public function __construct() {
6
+ parent::__construct();
7
+ $this->_init('swift/swiftorders');
8
+ }
9
+ }
10
+ ?>
app/code/community/Swift/Swiftplugin/controllers/OrdersController.php CHANGED
@@ -18,7 +18,7 @@ class Swift_Swiftplugin_OrdersController extends Mage_Core_Controller_Front_Acti
18
  $domain = $_SERVER['HTTP_HOST'];
19
  $user = Mage::helper('swift/Data')->generateUserId();
20
  $url = 'http:'.SwiftApi::SWIFTAPI_CRM_URL;
21
- $limit = is_numeric($this->getRequest()->getParam('limit')) ? $this->getRequest()->getParam('limit') : 500;
22
  $offset = is_numeric($this->getRequest()->getParam('offset')) ? $this->getRequest()->getParam('offset') : 1;
23
  $date = $this->getRequest()->getParam('date') ? $this->getRequest()->getParam('date') : date('Y-m-d');
24
 
@@ -35,30 +35,43 @@ class Swift_Swiftplugin_OrdersController extends Mage_Core_Controller_Front_Acti
35
  ->setPageSize($limit)
36
  ->setOrder('created_at', 'ASC');
37
 
 
 
 
38
  if ($offset <= $orderCollection->getLastPageNumber()) {
39
 
40
  foreach($orderCollection as $order) {
41
 
42
- $visibleItems = $order->getAllVisibleItems();
43
- $products = array();
44
-
45
- foreach($visibleItems as $order_item_key => $orderItem) {
46
- $products[] = array('product' => $orderItem->getId(), 'price' => $orderItem->getPrice(), 'quantity' => $orderItem->getData('qty_ordered'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
48
 
49
- $request = new SwiftAPI_Request_PastOrder($domain, $user, $order->getCustomerEmail(), $order->getCustomerFirstname(), $order->getCustomerLastname(), $products, $order->getId(), null, null, $order->getCreatedAt());
50
-
51
- $options = array (
52
- 'http' => array(
53
- 'header' => "Content-type: application/x-www-form-urlencoded\r\n",
54
- 'method' => 'POST',
55
- 'content' => SwiftAPI::Query($request, $key)
56
- )
57
- );
58
-
59
- $context = stream_context_create($options);
60
- file_get_contents($url, false, $context);
61
-
62
  }
63
 
64
  if ($limit > $orderCollection->count()) {
@@ -88,4 +101,41 @@ class Swift_Swiftplugin_OrdersController extends Mage_Core_Controller_Front_Acti
88
 
89
  }
90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
18
  $domain = $_SERVER['HTTP_HOST'];
19
  $user = Mage::helper('swift/Data')->generateUserId();
20
  $url = 'http:'.SwiftApi::SWIFTAPI_CRM_URL;
21
+ $limit = is_numeric($this->getRequest()->getParam('limit')) ? $this->getRequest()->getParam('limit') : 50;
22
  $offset = is_numeric($this->getRequest()->getParam('offset')) ? $this->getRequest()->getParam('offset') : 1;
23
  $date = $this->getRequest()->getParam('date') ? $this->getRequest()->getParam('date') : date('Y-m-d');
24
 
35
  ->setPageSize($limit)
36
  ->setOrder('created_at', 'ASC');
37
 
38
+ $cacheCollection = Mage::getModel('swift/swiftorders')->getCollection()->addFieldToSelect('*');
39
+ $cacheData = $cacheCollection->getColumnValues('swift_order_id');
40
+
41
  if ($offset <= $orderCollection->getLastPageNumber()) {
42
 
43
  foreach($orderCollection as $order) {
44
 
45
+ if ($this->getRequest()->getParam('skip') || array_search($order->getId(), $cacheData) === false) {
46
+
47
+ $visibleItems = $order->getAllVisibleItems();
48
+ $products = array();
49
+
50
+ foreach($visibleItems as $order_item_key => $orderItem) {
51
+ $products[] = array('product' => $orderItem->getId(), 'price' => $orderItem->getPrice(), 'quantity' => $orderItem->getData('qty_ordered'));
52
+ }
53
+
54
+ $request = new SwiftAPI_Request_PastOrder($domain, $user, $order->getCustomerEmail(), $order->getCustomerFirstname(), $order->getCustomerLastname(), $products, $order->getId(), null, null, $order->getCreatedAt());
55
+
56
+ $options = array (
57
+ 'http' => array(
58
+ 'header' => "Content-type: application/x-www-form-urlencoded\r\n",
59
+ 'method' => 'POST',
60
+ 'content' => SwiftAPI::Query($request, $key)
61
+ )
62
+ );
63
+
64
+ $context = stream_context_create($options);
65
+ file_get_contents($url, false, $context);
66
+
67
+ if (isset($_GET['report'])) {
68
+ $data = array('swift_order_id' => $order->getId());
69
+ $model = Mage::getModel('swift/swiftorders')->setData($data);
70
+ $model->save();
71
+ }
72
+
73
  }
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  }
76
 
77
  if ($limit > $orderCollection->count()) {
101
 
102
  }
103
 
104
+ public function cacheAction() {
105
+ $limit = is_numeric($this->getRequest()->getParam('limit')) ? $this->getRequest()->getParam('limit') : 50;
106
+ $offset = is_numeric($this->getRequest()->getParam('offset')) ? $this->getRequest()->getParam('offset') : 1;
107
+
108
+ $cacheCollection = Mage::getModel('swift/swiftorders')
109
+ ->getCollection()
110
+ ->addFieldToSelect('*')
111
+ ->setCurPage($offset)
112
+ ->setPageSize($limit);
113
+
114
+ $cache = array();
115
+ foreach($cacheCollection as $cacheItem) {
116
+ $cache[$cacheItem->getId()] = array($cacheItem->getSwiftOrderId() => $cacheItem->getCreated());
117
+ }
118
+
119
+ echo json_encode($cache);
120
+ }
121
+
122
+ public function deletecacheAction() {
123
+ if (($this->getRequest()->getParam('date') ? strtotime($this->getRequest()->getParam('date')) : false)) {
124
+ $date = $this->getRequest()->getParam('date');
125
+ $cacheCollection = Mage::getModel('swift/swiftorders')
126
+ ->getCollection()
127
+ ->addFieldToSelect('*')
128
+ ->addFieldToFilter('created' , array('lteq' => date('Y-m-d', strtotime($date))));
129
+
130
+ foreach($cacheCollection as $cacheItem) {
131
+ $cacheItem->delete();
132
+ }
133
+ echo json_encode(array('The cache has deleted from before '.$date.'.'));
134
+ }
135
+ else {
136
+ echo json_encode(array('Invalid parameters.'));
137
+ }
138
+
139
+ }
140
+
141
  }
app/code/community/Swift/Swiftplugin/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Swift_Swiftplugin>
5
- <version>1.6.0</version>
6
  </Swift_Swiftplugin>
7
  </modules>
8
  <frontend>
@@ -77,6 +77,9 @@
77
  <swift>
78
  <table>swift_swiftplugin</table>
79
  </swift>
 
 
 
80
  </entities>
81
  </swift_mysql4>
82
  </models>
2
  <config>
3
  <modules>
4
  <Swift_Swiftplugin>
5
+ <version>1.7.0</version>
6
  </Swift_Swiftplugin>
7
  </modules>
8
  <frontend>
77
  <swift>
78
  <table>swift_swiftplugin</table>
79
  </swift>
80
+ <swiftorders>
81
+ <table>swift_orders</table>
82
+ </swiftorders>
83
  </entities>
84
  </swift_mysql4>
85
  </models>
app/code/community/Swift/Swiftplugin/sql/swift_setup/install-1.7.0.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $installer->startSetup();
5
+ $installer->run("
6
+ CREATE TABLE {$this->getTable('swift_orders')} (
7
+ entity_id int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
8
+ swift_order_id int(10) unsigned NOT NULL,
9
+ `created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
10
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
11
+ CREATE TABLE {$this->getTable('swift_swiftplugin')} (
12
+ swift_id int(11) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
13
+ swift_private_key char(64) NOT NULL,
14
+ swift_send_history TINYINT(1) NOT NULL
15
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
16
+ ");
17
+ $installer->endSetup();
18
+
19
+ ?>
app/code/community/Swift/Swiftplugin/sql/swift_setup/upgrade-1.1.12-1.7.0.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $installer->startSetup();
5
+ $installer->run("
6
+ CREATE TABLE {$this->getTable('swift_orders')} (
7
+ entity_id int(10) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY,
8
+ swift_order_id int(10) unsigned NOT NULL,
9
+ `created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
10
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
11
+ ");
12
+ $installer->endSetup();
13
+
14
+ ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Swift_Swiftplugin</name>
4
- <version>1.6.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/LGPL-3.0">LGPL</license>
7
  <channel>community</channel>
@@ -18,11 +18,11 @@ The extension uses background JavaScript calls to collect and store the customer
18
  &lt;p&gt;&#xD;
19
  The extension is easy to set up and uses Magento&#x2019;s built in features to collect information and send emails to the customers. Visit swiftcrm.net for prices and free trails.&#xD;
20
  &lt;/p&gt;</description>
21
- <notes>Revamp of order feed and product to rely on parameters from the SwiftERM system.</notes>
22
  <authors><author><name>Simon Cooper</name><user>Netready</user><email>simon@netready.biz</email></author></authors>
23
- <date>2016-09-07</date>
24
- <time>11:13:36</time>
25
- <contents><target name="magelib"><dir name="libXML"><file name="xml.php" hash="c20ca4a39971acf4605247712186b9ec"/></dir><dir name="SwiftAPI"><file name="SwiftAPI.php" hash="8bb2f97586dbd62da6fd0d6781b67ae6"/><file name="SwiftAPI_Exception.php" hash="879b899a7961f4de1212b7296ccafb16"/><file name="SwiftAPI_Product.php" hash="063922cccb485d81c6022de5c4e8e044"/><file name="SwiftAPI_Request.php" hash="f072a4c42fe3767d769f8e9f9c824ecd"/><file name="SwiftAPI_Request_Cart.php" hash="f8955c78200ddb0512adb5214fd64bb2"/><file name="SwiftAPI_Request_EmailPackage.php" hash="1574f461582500a524160d3db8371d37"/><file name="SwiftAPI_Request_Home.php" hash="9268da121dd10db50d5c2675afd1c65e"/><file name="SwiftAPI_Request_Order.php" hash="49ff0d4c501b075f11ef94727d729a75"/><file name="SwiftAPI_Request_OrderPackage.php" hash="45ad4af3b24bfab66f96b493c830ceab"/><file name="SwiftAPI_Request_PastOrder.php" hash="90ac5fb44bd1ad61f39d277d268e3575"/><file name="SwiftAPI_Request_Ping.php" hash="e5e13b71682f8230711d5d2f28f9a534"/><file name="SwiftAPI_Request_Product.php" hash="e5fab27bb2dd45946ed8c143a18fe3c4"/><file name="SwiftAPI_Request_SendMail.php" hash="ba04382a3df6b3e179aed5fe3e809de7"/><file name="SwiftAPI_Request_Subscription.php" hash="5545738b941d8ca4dca69b6059a0cce4"/><file name="SwiftAPI_Request_Unsubscribe.php" hash="78aa37cc0ecb98d501674350a4a409c9"/><file name="SwiftAPI_Request_Version.php" hash="21cebd7eb59698bb0aae55bdeaa23660"/><file name="SwiftAPI_Request_ViewMail.php" hash="f0eb0236c7f6e1fa194d8f05f865a7d8"/><dir name="doc"><file name="SwiftAPI-Specification.html" hash="a31d6c9f13198d017f9f50ac787bea23"/><file name="SwiftAPI-Specification_v3.html" hash="17f8207291313730a72286901c61e44f"/></dir><file name="index.php" hash="82886bb98883bd5868ea04c7d8c88ba5"/><file name="php.ini" hash="ef29c923925a1d1bbc8879c22297daa4"/></dir></target><target name="magecommunity"><dir name="Swift"><dir name="Swiftplugin"><dir name="Block"><dir name="Adminhtml"><dir name="Swift"><dir name="Edit"><file name="Form.php" hash="bd80ab8170f7f2286f13ac579e5249d9"/><dir name="Tab"><file name="Form.php" hash="3d15c45cb2205acabc20376f41a9bd5b"/><file name="Instruct.php" hash="9f34075cc9cdfa92b7876c33fda514de"/></dir><file name="Tabs.php" hash="993769f682fad7d28df79ff3acea97cc"/></dir><file name="Edit.php" hash="d93f75dbaaa7266d91e828b3208fbf2d"/></dir></dir><file name="Swiftblock.php" hash="8b4f72297c8af67374c695b44003867d"/></dir><dir name="Helper"><file name="Data.php" hash="08be234d9cbc17ed98f67a5fd0ca9002"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Swift"><file name="Collection.php" hash="82de0fe56cd875d3e78c8fc690424ee1"/></dir><file name="Swift.php" hash="252d5f2ecb1119804b415758d2db6800"/></dir><file name="Observer.php" hash="8bb4dd498a57f1166ed1c85a2b8ab0e0"/><file name="Swift.php" hash="1f9e49d4db7f8987cfd8858061fedc6a"/><file name="XmlProduct.php" hash="f48e73024a4f1774f0f565d8c480534f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="92604a30880c89fbe7885780520096cc"/></dir><file name="MailController.php" hash="af10fe5d485b1742ba5095510f2deea4"/><file name="OrdersController.php" hash="834b71ae87da73b7485535677c337620"/><file name="VersionController.php" hash="b9bebb51f946430a2dc7bfc82f96bf36"/><file name="XmlController.php" hash="e78cc03f619a75d43752e8bde42b0798"/></dir><dir name="etc"><file name="config.xml" hash="059d19d08acabd3d2af72295afa4247c"/></dir><dir name="sql"><dir name="swift_setup"><file name="install-1.1.13.php" hash="2447b5645fc36738373678473cec88dc"/><file name="install-1.1.2.php" hash="00832a00c34cb4c997a96330cb28cbfb"/><file name="upgrade-1.1.2-1.1.12.php" hash="cbe3c3fa07facb7b720d7dd518acbeca"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="swift.xml" hash="d80a5229e30cf4b76f5a5150ac1c27c3"/></dir><dir name="template"><dir name="swift"><file name="swiftplugin.phtml" hash="d4d25148e09529e457b6436d7655627b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swift_all.xml" hash="0ae5a788c805a9fc79b402fe7a02e54d"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>mcrypt</name><min/><max/></extension></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Swift_Swiftplugin</name>
4
+ <version>1.7.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/LGPL-3.0">LGPL</license>
7
  <channel>community</channel>
18
  &lt;p&gt;&#xD;
19
  The extension is easy to set up and uses Magento&#x2019;s built in features to collect information and send emails to the customers. Visit swiftcrm.net for prices and free trails.&#xD;
20
  &lt;/p&gt;</description>
21
+ <notes>Orders to save load on server our cached in client database to not send orders that have already been sent to swift. Installs cache table which tells the system what orders have already been sent to the SwiftERM system</notes>
22
  <authors><author><name>Simon Cooper</name><user>Netready</user><email>simon@netready.biz</email></author></authors>
23
+ <date>2016-09-21</date>
24
+ <time>14:47:04</time>
25
+ <contents><target name="magelib"><dir name="libXML"><file name="xml.php" hash="c20ca4a39971acf4605247712186b9ec"/></dir><dir name="SwiftAPI"><file name="SwiftAPI.php" hash="8bb2f97586dbd62da6fd0d6781b67ae6"/><file name="SwiftAPI_Exception.php" hash="879b899a7961f4de1212b7296ccafb16"/><file name="SwiftAPI_Product.php" hash="063922cccb485d81c6022de5c4e8e044"/><file name="SwiftAPI_Request.php" hash="f072a4c42fe3767d769f8e9f9c824ecd"/><file name="SwiftAPI_Request_Cart.php" hash="f8955c78200ddb0512adb5214fd64bb2"/><file name="SwiftAPI_Request_EmailPackage.php" hash="1574f461582500a524160d3db8371d37"/><file name="SwiftAPI_Request_Home.php" hash="9268da121dd10db50d5c2675afd1c65e"/><file name="SwiftAPI_Request_Order.php" hash="49ff0d4c501b075f11ef94727d729a75"/><file name="SwiftAPI_Request_OrderPackage.php" hash="45ad4af3b24bfab66f96b493c830ceab"/><file name="SwiftAPI_Request_PastOrder.php" hash="90ac5fb44bd1ad61f39d277d268e3575"/><file name="SwiftAPI_Request_Ping.php" hash="e5e13b71682f8230711d5d2f28f9a534"/><file name="SwiftAPI_Request_Product.php" hash="e5fab27bb2dd45946ed8c143a18fe3c4"/><file name="SwiftAPI_Request_SendMail.php" hash="ba04382a3df6b3e179aed5fe3e809de7"/><file name="SwiftAPI_Request_Subscription.php" hash="5545738b941d8ca4dca69b6059a0cce4"/><file name="SwiftAPI_Request_Unsubscribe.php" hash="78aa37cc0ecb98d501674350a4a409c9"/><file name="SwiftAPI_Request_Version.php" hash="21cebd7eb59698bb0aae55bdeaa23660"/><file name="SwiftAPI_Request_ViewMail.php" hash="f0eb0236c7f6e1fa194d8f05f865a7d8"/><dir name="doc"><file name="SwiftAPI-Specification.html" hash="a31d6c9f13198d017f9f50ac787bea23"/><file name="SwiftAPI-Specification_v3.html" hash="17f8207291313730a72286901c61e44f"/></dir><file name="index.php" hash="82886bb98883bd5868ea04c7d8c88ba5"/><file name="php.ini" hash="ef29c923925a1d1bbc8879c22297daa4"/></dir></target><target name="magecommunity"><dir name="Swift"><dir name="Swiftplugin"><dir name="Block"><dir name="Adminhtml"><dir name="Swift"><dir name="Edit"><file name="Form.php" hash="bd80ab8170f7f2286f13ac579e5249d9"/><dir name="Tab"><file name="Form.php" hash="3d15c45cb2205acabc20376f41a9bd5b"/><file name="Instruct.php" hash="9f34075cc9cdfa92b7876c33fda514de"/></dir><file name="Tabs.php" hash="993769f682fad7d28df79ff3acea97cc"/></dir><file name="Edit.php" hash="d93f75dbaaa7266d91e828b3208fbf2d"/></dir></dir><file name="Swiftblock.php" hash="8b4f72297c8af67374c695b44003867d"/></dir><dir name="Helper"><file name="Data.php" hash="08be234d9cbc17ed98f67a5fd0ca9002"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Swift"><file name="Collection.php" hash="82de0fe56cd875d3e78c8fc690424ee1"/></dir><file name="Swift.php" hash="252d5f2ecb1119804b415758d2db6800"/><dir name="Swiftorders"><file name="Collection.php" hash="a9e75003a18fcedc8badf1ab3ae79719"/></dir><file name="Swiftorders.php" hash="881185eb5fa8af8fe385c1bfaaeb94e0"/></dir><file name="Observer.php" hash="8bb4dd498a57f1166ed1c85a2b8ab0e0"/><file name="Swift.php" hash="1f9e49d4db7f8987cfd8858061fedc6a"/><file name="Swiftorders.php" hash="e3f2d23f00e0ad8309a958a24b613678"/><file name="XmlProduct.php" hash="f48e73024a4f1774f0f565d8c480534f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="92604a30880c89fbe7885780520096cc"/></dir><file name="MailController.php" hash="af10fe5d485b1742ba5095510f2deea4"/><file name="OrdersController.php" hash="bbc0ecc7669fdc388aa258fb162bdff2"/><file name="VersionController.php" hash="b9bebb51f946430a2dc7bfc82f96bf36"/><file name="XmlController.php" hash="e78cc03f619a75d43752e8bde42b0798"/></dir><dir name="etc"><file name="config.xml" hash="ccbadfb5876d043ab8afe5522e346abe"/></dir><dir name="sql"><dir name="swift_setup"><file name="install-1.1.13.php" hash="2447b5645fc36738373678473cec88dc"/><file name="install-1.1.2.php" hash="00832a00c34cb4c997a96330cb28cbfb"/><file name="install-1.7.0.php" hash="13788c22d8b0ad31c68a775f06333d47"/><file name="upgrade-1.1.12-1.7.0.php" hash="979794d8258b7f3840e9699139505823"/><file name="upgrade-1.1.2-1.1.12.php" hash="cbe3c3fa07facb7b720d7dd518acbeca"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="swift.xml" hash="d80a5229e30cf4b76f5a5150ac1c27c3"/></dir><dir name="template"><dir name="swift"><file name="swiftplugin.phtml" hash="d4d25148e09529e457b6436d7655627b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Swift_all.xml" hash="0ae5a788c805a9fc79b402fe7a02e54d"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>mcrypt</name><min/><max/></extension></required></dependencies>
28
  </package>