Version Notes
Email marketing
Download this release
Release Info
Developer | bento |
Extension | Licentia_Fidelitas |
Version | 2.5.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.0.1 to 2.5.0.2
- app/code/community/Licentia/Fidelitas/.DS_Store +0 -0
- app/code/community/Licentia/Fidelitas/Block/Adminhtml/Lists/Edit/Tab/Main.php +4 -9
- app/code/community/Licentia/Fidelitas/Model/Egoi.php +4 -41
- app/code/community/Licentia/Fidelitas/Model/Extra.php +3 -9
- app/code/community/Licentia/Fidelitas/Model/Lists.php +6 -49
- app/code/community/Licentia/Fidelitas/Model/Observer.php +2 -3
- app/code/community/Licentia/Fidelitas/Model/Subscribers.php +21 -37
- app/code/community/Licentia/Fidelitas/controllers/Adminhtml/Fidelitas/ListsController.php +5 -0
- app/code/community/Licentia/Fidelitas/etc/adminhtml.xml +9 -9
- app/code/community/Licentia/Fidelitas/etc/config.xml +1 -1
- package.xml +4 -4
app/code/community/Licentia/Fidelitas/.DS_Store
DELETED
Binary file
|
app/code/community/Licentia/Fidelitas/Block/Adminhtml/Lists/Edit/Tab/Main.php
CHANGED
@@ -29,8 +29,9 @@ class Licentia_Fidelitas_Block_Adminhtml_Lists_Edit_Tab_Main extends Mage_Adminh
|
|
29 |
|
30 |
if ($current->getId()) {
|
31 |
|
32 |
-
$remoteList = Mage::getModel('fidelitas/egoi')->getLists($current->getListnum())->getData(
|
33 |
-
|
|
|
34 |
|
35 |
$productAttributes = Mage::getResourceSingleton('customer/customer')
|
36 |
->loadAllAttributes()
|
@@ -58,18 +59,12 @@ class Licentia_Fidelitas_Block_Adminhtml_Lists_Edit_Tab_Main extends Mage_Adminh
|
|
58 |
$attributes['addr_' . $field['value']] = $field['label'] . ' - (Addresss)';
|
59 |
}
|
60 |
|
61 |
-
$
|
62 |
-
|
63 |
-
if (isset($remoteList['extra_fields']) && count($remoteList['extra_fields'])>2) {
|
64 |
|
65 |
$fieldset2 = $form->addFieldset("map_form", array("legend" => $this->__("Map List Attributes")));
|
66 |
|
67 |
foreach ($remoteList['extra_fields'] as $field) {
|
68 |
|
69 |
-
if ($field['ref'] == 'magento_store' || $field['ref'] == 'magento_store_id' || $field['ref'] == 'magento_locale') {
|
70 |
-
continue;
|
71 |
-
}
|
72 |
-
|
73 |
$fieldset2->addField("extra_" . $field['id'], "select", array(
|
74 |
"label" => $this->__($field['ref']),
|
75 |
"options" => $attributes,
|
29 |
|
30 |
if ($current->getId()) {
|
31 |
|
32 |
+
$remoteList = Mage::getModel('fidelitas/egoi')->getLists($current->getListnum())->getData();
|
33 |
+
$remoteList = reset($remoteList);
|
34 |
+
$remoteList = reset($remoteList);
|
35 |
|
36 |
$productAttributes = Mage::getResourceSingleton('customer/customer')
|
37 |
->loadAllAttributes()
|
59 |
$attributes['addr_' . $field['value']] = $field['label'] . ' - (Addresss)';
|
60 |
}
|
61 |
|
62 |
+
if (isset($remoteList['extra_fields'])) {
|
|
|
|
|
63 |
|
64 |
$fieldset2 = $form->addFieldset("map_form", array("legend" => $this->__("Map List Attributes")));
|
65 |
|
66 |
foreach ($remoteList['extra_fields'] as $field) {
|
67 |
|
|
|
|
|
|
|
|
|
68 |
$fieldset2->addField("extra_" . $field['id'], "select", array(
|
69 |
"label" => $this->__($field['ref']),
|
70 |
"options" => $attributes,
|
app/code/community/Licentia/Fidelitas/Model/Egoi.php
CHANGED
@@ -221,7 +221,6 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
221 |
while ($i * $processNumber <= $meta->getSize()) {
|
222 |
|
223 |
$i++;
|
224 |
-
|
225 |
$core = Mage::getModel('newsletter/subscriber')
|
226 |
->getCollection()
|
227 |
->setPageSize($processNumber)
|
@@ -236,8 +235,6 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
236 |
$subI++;
|
237 |
|
238 |
try {
|
239 |
-
$storeId = $subscriber->getStoreId();
|
240 |
-
|
241 |
$data = array();
|
242 |
|
243 |
$data['email'] = $subscriber->getEmail();
|
@@ -248,34 +245,10 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
248 |
continue;
|
249 |
}
|
250 |
|
251 |
-
$locale = Mage::getStoreConfig('general/locale/code', $storeId);
|
252 |
-
$language = Locale::getDisplayLanguage($locale);
|
253 |
-
|
254 |
/** @var Licentia_Fidelitas_Model_Subscribers $fidelitas */
|
255 |
$fidelitas = Mage::getModel('fidelitas/subscribers')->load($subscriber->getEmail(), 'email');
|
256 |
$customer = $fidelitas->findCustomer($subscriber->getEmail(), 'email');
|
257 |
|
258 |
-
foreach ($extra as $element) {
|
259 |
-
if ($element->getData('attribute_code') == 'magento_locale') {
|
260 |
-
$data[$element->getData('extra_code')] = $language;
|
261 |
-
$indexArray[] = $element->getData('extra_code');
|
262 |
-
}
|
263 |
-
if ($element->getData('attribute_code') == 'magento_store') {
|
264 |
-
$data[$element->getData('extra_code')] = Mage::getModel('adminhtml/system_store')->getStoreNameWithWebsite($storeId);
|
265 |
-
$indexArray[] = $element->getData('extra_code');
|
266 |
-
}
|
267 |
-
if ($element->getData('attribute_code') == 'magento_store_id') {
|
268 |
-
$data[$element->getData('extra_code')] = $storeId;
|
269 |
-
$indexArray[] = $element->getData('extra_code');
|
270 |
-
}
|
271 |
-
|
272 |
-
if (stripos($element->getData('attribute_code'), 'static_') !== false) {
|
273 |
-
$data[$element->getData('extra_code')] = $fidelitas->getData(str_replace('static_', '', $subscriber->getData('attribute_code')));
|
274 |
-
$indexArray[] = $element->getData('extra_code');
|
275 |
-
}
|
276 |
-
}
|
277 |
-
|
278 |
-
|
279 |
$data['birth_date'] = '';
|
280 |
$indexArray[] = 'birth_date';
|
281 |
$data['first_name'] = '';
|
@@ -296,8 +269,8 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
296 |
|
297 |
foreach ($extra as $element) {
|
298 |
|
299 |
-
if (
|
300 |
-
$data[$element->getData('extra_code')] = $customer->getData(
|
301 |
|
302 |
$indexArray[] = $element->getData('extra_code');
|
303 |
continue;
|
@@ -327,19 +300,8 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
327 |
}
|
328 |
|
329 |
$data['status'] = 1;
|
330 |
-
/*
|
331 |
-
$data['status'] = $subscriber->getStatus();
|
332 |
$indexArray[] = 'status';
|
333 |
-
|
334 |
-
$data['status'] = 1;//Confirmed
|
335 |
-
}
|
336 |
-
if ($subscriber->getStatus() == 3) {
|
337 |
-
$data['status'] = 2;
|
338 |
-
}
|
339 |
-
if ($subscriber->getStatus() == 2) {
|
340 |
-
$data['status'] = 4;
|
341 |
-
}
|
342 |
-
*/
|
343 |
|
344 |
if ($subI == 1) {
|
345 |
$subscribers[] = $indexArray;
|
@@ -361,6 +323,7 @@ class Licentia_Fidelitas_Model_Egoi extends Varien_Object
|
|
361 |
'compareField' => 'email',
|
362 |
'operation' => 2,
|
363 |
'autoresponder' => 0,
|
|
|
364 |
'subscribers' => $subscribers,
|
365 |
);
|
366 |
|
221 |
while ($i * $processNumber <= $meta->getSize()) {
|
222 |
|
223 |
$i++;
|
|
|
224 |
$core = Mage::getModel('newsletter/subscriber')
|
225 |
->getCollection()
|
226 |
->setPageSize($processNumber)
|
235 |
$subI++;
|
236 |
|
237 |
try {
|
|
|
|
|
238 |
$data = array();
|
239 |
|
240 |
$data['email'] = $subscriber->getEmail();
|
245 |
continue;
|
246 |
}
|
247 |
|
|
|
|
|
|
|
248 |
/** @var Licentia_Fidelitas_Model_Subscribers $fidelitas */
|
249 |
$fidelitas = Mage::getModel('fidelitas/subscribers')->load($subscriber->getEmail(), 'email');
|
250 |
$customer = $fidelitas->findCustomer($subscriber->getEmail(), 'email');
|
251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
$data['birth_date'] = '';
|
253 |
$indexArray[] = 'birth_date';
|
254 |
$data['first_name'] = '';
|
269 |
|
270 |
foreach ($extra as $element) {
|
271 |
|
272 |
+
if ($customer->getData($element->getData('attribute_code'))) {
|
273 |
+
$data[$element->getData('extra_code')] = $customer->getData($element->getData('attribute_code'));
|
274 |
|
275 |
$indexArray[] = $element->getData('extra_code');
|
276 |
continue;
|
300 |
}
|
301 |
|
302 |
$data['status'] = 1;
|
|
|
|
|
303 |
$indexArray[] = 'status';
|
304 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
|
306 |
if ($subI == 1) {
|
307 |
$subscribers[] = $indexArray;
|
323 |
'compareField' => 'email',
|
324 |
'operation' => 2,
|
325 |
'autoresponder' => 0,
|
326 |
+
'notification' => 0,
|
327 |
'subscribers' => $subscribers,
|
328 |
);
|
329 |
|
app/code/community/Licentia/Fidelitas/Model/Extra.php
CHANGED
@@ -11,9 +11,7 @@ class Licentia_Fidelitas_Model_Extra extends Mage_Core_Model_Abstract
|
|
11 |
|
12 |
public function addInitialFields($list = false)
|
13 |
{
|
14 |
-
$this->addField('
|
15 |
-
$this->addField('magento_store', $list);
|
16 |
-
$this->addField('magento_store_id', $list);
|
17 |
}
|
18 |
|
19 |
|
@@ -27,7 +25,6 @@ class Licentia_Fidelitas_Model_Extra extends Mage_Core_Model_Abstract
|
|
27 |
->setData(array('listID' => $list))
|
28 |
->getLists();
|
29 |
|
30 |
-
|
31 |
foreach ($extra->getData() as $extraField) {
|
32 |
if (isset($extraField['extra_fields']) && is_array($extraField['extra_fields'])) {
|
33 |
foreach ($extraField['extra_fields'] as $field) {
|
@@ -53,10 +50,7 @@ class Licentia_Fidelitas_Model_Extra extends Mage_Core_Model_Abstract
|
|
53 |
|
54 |
public function updateExtra($data, $system = 0)
|
55 |
{
|
56 |
-
$collection = $this->getCollection()
|
57 |
-
->addFieldToFilter('attribute_code', array('neq' => 'magento_locale'))
|
58 |
-
->addFieldToFilter('attribute_code', array('neq' => 'magento_store_id'))
|
59 |
-
->addFieldToFilter('attribute_code', array('neq' => 'magento_store'));
|
60 |
|
61 |
foreach ($collection as $item) {
|
62 |
$item->delete();
|
@@ -77,7 +71,7 @@ class Licentia_Fidelitas_Model_Extra extends Mage_Core_Model_Abstract
|
|
77 |
}
|
78 |
}
|
79 |
|
80 |
-
public function getExtra(
|
81 |
{
|
82 |
$collection = $this->getCollection();
|
83 |
foreach ($collection as $item) {
|
11 |
|
12 |
public function addInitialFields($list = false)
|
13 |
{
|
14 |
+
$this->addField('store_id', $list);
|
|
|
|
|
15 |
}
|
16 |
|
17 |
|
25 |
->setData(array('listID' => $list))
|
26 |
->getLists();
|
27 |
|
|
|
28 |
foreach ($extra->getData() as $extraField) {
|
29 |
if (isset($extraField['extra_fields']) && is_array($extraField['extra_fields'])) {
|
30 |
foreach ($extraField['extra_fields'] as $field) {
|
50 |
|
51 |
public function updateExtra($data, $system = 0)
|
52 |
{
|
53 |
+
$collection = $this->getCollection();
|
|
|
|
|
|
|
54 |
|
55 |
foreach ($collection as $item) {
|
56 |
$item->delete();
|
71 |
}
|
72 |
}
|
73 |
|
74 |
+
public function getExtra()
|
75 |
{
|
76 |
$collection = $this->getCollection();
|
77 |
foreach ($collection as $item) {
|
app/code/community/Licentia/Fidelitas/Model/Lists.php
CHANGED
@@ -23,16 +23,10 @@ class Licentia_Fidelitas_Model_Lists extends Mage_Core_Model_Abstract
|
|
23 |
if (isset($list['extra_fields']) && is_array($list['extra_fields'])) {
|
24 |
$i = 0;
|
25 |
foreach ($list['extra_fields'] as $field) {
|
26 |
-
if (isset($field['ref']) && $field['ref'] == '
|
27 |
$i++;
|
28 |
}
|
29 |
-
if (
|
30 |
-
$i++;
|
31 |
-
}
|
32 |
-
if (isset($field['ref']) && $field['ref'] == 'magento_locale') {
|
33 |
-
$i++;
|
34 |
-
}
|
35 |
-
if ($i == 2) {
|
36 |
$this->setData('listnum', $list['listnum']);
|
37 |
break 2;
|
38 |
}
|
@@ -133,25 +127,12 @@ class Licentia_Fidelitas_Model_Lists extends Mage_Core_Model_Abstract
|
|
133 |
->getLists();
|
134 |
$addExtra = true;
|
135 |
$idMagentoStore = 0;
|
136 |
-
|
137 |
-
$idMagentoLocale = 0;
|
138 |
foreach ($extra->getData() as $list) {
|
139 |
if (isset($list['extra_fields']) && is_array($list['extra_fields'])) {
|
140 |
-
$i = 0;
|
141 |
foreach ($list['extra_fields'] as $field) {
|
142 |
-
if (isset($field['ref']) && $field['ref'] == '
|
143 |
-
$idMagentoStoreId = $field['id'];
|
144 |
-
$i++;
|
145 |
-
}
|
146 |
-
if (isset($field['ref']) && $field['ref'] == 'magento_store') {
|
147 |
$idMagentoStore = $field['id'];
|
148 |
-
$i++;
|
149 |
-
}
|
150 |
-
if (isset($field['ref']) && $field['ref'] == 'magento_locale') {
|
151 |
-
$idMagentoLocale = $field['id'];
|
152 |
-
$i++;
|
153 |
-
}
|
154 |
-
if ($i == 3) {
|
155 |
$addExtra = false;
|
156 |
break 2;
|
157 |
}
|
@@ -163,38 +144,14 @@ class Licentia_Fidelitas_Model_Lists extends Mage_Core_Model_Abstract
|
|
163 |
Mage::getModel('fidelitas/extra')->addInitialFields($result->getData('listnum'));
|
164 |
} else {
|
165 |
|
166 |
-
$existsLocale = Mage::getModel('fidelitas/extra')
|
167 |
-
->getCollection()
|
168 |
-
->addFieldToFilter('attribute_code', 'magento_locale')
|
169 |
-
->getFirstItem();
|
170 |
-
|
171 |
$existsStore = Mage::getModel('fidelitas/extra')
|
172 |
->getCollection()
|
173 |
-
->addFieldToFilter('attribute_code', '
|
174 |
-
->getFirstItem();
|
175 |
-
|
176 |
-
|
177 |
-
$existsStoreId = Mage::getModel('fidelitas/extra')
|
178 |
-
->getCollection()
|
179 |
-
->addFieldToFilter('attribute_code', 'magento_store_id')
|
180 |
->getFirstItem();
|
181 |
|
182 |
-
|
183 |
-
if (!$existsLocale->getId()) {
|
184 |
-
Mage::getModel('fidelitas/extra')
|
185 |
-
->setData(array('extra_code' => 'extra_' . $idMagentoLocale, 'attribute_code' => 'magento_locale'))
|
186 |
-
->save();
|
187 |
-
}
|
188 |
-
|
189 |
if (!$existsStore->getId()) {
|
190 |
Mage::getModel('fidelitas/extra')
|
191 |
-
->setData(array('extra_code' => 'extra_' . $idMagentoStore, 'attribute_code' => '
|
192 |
-
->save();
|
193 |
-
}
|
194 |
-
|
195 |
-
if (!$existsStoreId->getId()) {
|
196 |
-
Mage::getModel('fidelitas/extra')
|
197 |
-
->setData(array('extra_code' => 'extra_' . $idMagentoStoreId, 'attribute_code' => 'magento_store_id'))
|
198 |
->save();
|
199 |
}
|
200 |
|
23 |
if (isset($list['extra_fields']) && is_array($list['extra_fields'])) {
|
24 |
$i = 0;
|
25 |
foreach ($list['extra_fields'] as $field) {
|
26 |
+
if (isset($field['ref']) && $field['ref'] == 'store_ud') {
|
27 |
$i++;
|
28 |
}
|
29 |
+
if ($i == 1) {
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
$this->setData('listnum', $list['listnum']);
|
31 |
break 2;
|
32 |
}
|
127 |
->getLists();
|
128 |
$addExtra = true;
|
129 |
$idMagentoStore = 0;
|
130 |
+
|
|
|
131 |
foreach ($extra->getData() as $list) {
|
132 |
if (isset($list['extra_fields']) && is_array($list['extra_fields'])) {
|
|
|
133 |
foreach ($list['extra_fields'] as $field) {
|
134 |
+
if (isset($field['ref']) && $field['ref'] == 'store_id') {
|
|
|
|
|
|
|
|
|
135 |
$idMagentoStore = $field['id'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
$addExtra = false;
|
137 |
break 2;
|
138 |
}
|
144 |
Mage::getModel('fidelitas/extra')->addInitialFields($result->getData('listnum'));
|
145 |
} else {
|
146 |
|
|
|
|
|
|
|
|
|
|
|
147 |
$existsStore = Mage::getModel('fidelitas/extra')
|
148 |
->getCollection()
|
149 |
+
->addFieldToFilter('attribute_code', 'store_id')
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
->getFirstItem();
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
if (!$existsStore->getId()) {
|
153 |
Mage::getModel('fidelitas/extra')
|
154 |
+
->setData(array('extra_code' => 'extra_' . $idMagentoStore, 'attribute_code' => 'store_id'))
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
->save();
|
156 |
}
|
157 |
|
app/code/community/Licentia/Fidelitas/Model/Observer.php
CHANGED
@@ -32,9 +32,8 @@ class Licentia_Fidelitas_Model_Observer
|
|
32 |
return false;
|
33 |
}
|
34 |
|
35 |
-
$
|
36 |
-
|
37 |
-
|
38 |
} catch (Exception $e) {
|
39 |
Mage::logException($e);
|
40 |
}
|
32 |
return false;
|
33 |
}
|
34 |
|
35 |
+
Mage::getModel('newsletter/subscriber')->subscribe($order->getCustomerEmail());
|
36 |
+
|
|
|
37 |
} catch (Exception $e) {
|
38 |
Mage::logException($e);
|
39 |
}
|
app/code/community/Licentia/Fidelitas/Model/Subscribers.php
CHANGED
@@ -92,7 +92,7 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
92 |
->joinAttribute('country_id', 'customer_address/country_id', 'default_billing', null, 'left')
|
93 |
->joinAttribute($cellphoneField, 'customer_address/' . $cellphoneField, 'default_billing', null, 'left');
|
94 |
|
95 |
-
if ($billing) {
|
96 |
$customers->joinAttribute($billing, 'customer_address/' . $billing, 'default_billing', null, 'left');
|
97 |
}
|
98 |
|
@@ -125,7 +125,7 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
125 |
$data = array();
|
126 |
$list = Mage::getModel('fidelitas/lists')->getList();
|
127 |
|
128 |
-
if ($this->subscriberExists('email', $subscriber->getEmail()
|
129 |
continue;
|
130 |
}
|
131 |
|
@@ -143,13 +143,12 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
143 |
}
|
144 |
|
145 |
|
146 |
-
public function subscriberExists($field, $value
|
147 |
{
|
148 |
|
149 |
$model = Mage::getModel('fidelitas/subscribers')
|
150 |
->getCollection()
|
151 |
-
->addFieldToFilter($field, $value)
|
152 |
-
->addFieldToFilter('list', $list);
|
153 |
|
154 |
if ($model->count() != 1) {
|
155 |
return false;
|
@@ -183,27 +182,6 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
183 |
|
184 |
$extra = Mage::getModel('fidelitas/extra')->getExtra();
|
185 |
|
186 |
-
$storeId = $this->getStoreId();
|
187 |
-
|
188 |
-
$locale = Mage::getStoreConfig('general/locale/code', $storeId);
|
189 |
-
$language = Locale::getDisplayLanguage($locale);
|
190 |
-
foreach ($extra as $element) {
|
191 |
-
if ($element->getData('attribute_code') == 'magento_locale') {
|
192 |
-
$data[$element->getData('extra_code')] = $language;
|
193 |
-
}
|
194 |
-
if ($element->getData('attribute_code') == 'magento_store') {
|
195 |
-
$data[$element->getData('extra_code')] = Mage::getModel('adminhtml/system_store')->getStoreNameWithWebsite($storeId);
|
196 |
-
}
|
197 |
-
if ($element->getData('attribute_code') == 'magento_store_id') {
|
198 |
-
$data[$element->getData('extra_code')] = $storeId;
|
199 |
-
}
|
200 |
-
|
201 |
-
if (stripos($element->getData('attribute_code'), 'static_') !== false) {
|
202 |
-
$old = Mage::getModel('newsletter/subscriber')->loadByEmail($this->getEmail());
|
203 |
-
$data[$element->getData('extra_code')] = $this->getData(str_replace('static_', '', $old->getData('attribute_code')));
|
204 |
-
}
|
205 |
-
}
|
206 |
-
|
207 |
if ($customer) {
|
208 |
$data['customer_id'] = $customer->getId();
|
209 |
$data['birth_date'] = $customer->getData('dob');
|
@@ -216,8 +194,13 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
216 |
|
217 |
foreach ($extra as $element) {
|
218 |
|
219 |
-
if (
|
220 |
-
$data[$element->getData('extra_code')] = $
|
|
|
|
|
|
|
|
|
|
|
221 |
continue;
|
222 |
}
|
223 |
|
@@ -229,13 +212,12 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
229 |
$attributeCode = $element->getData('attribute_code');
|
230 |
}
|
231 |
|
232 |
-
if (
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
$customer = Mage::getModel('customer/customer')->load($customer->getId());
|
237 |
-
}
|
238 |
}
|
|
|
239 |
if ($customer->getData($attributeCode)) {
|
240 |
$data[$element->getData('extra_code')] = $customer->getData($attributeCode);
|
241 |
}
|
@@ -248,7 +230,7 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
248 |
|
249 |
$this->addData($data);
|
250 |
|
251 |
-
$info = $this->subscriberExists('email', $this->getEmail()
|
252 |
|
253 |
if ($info && isset($data['inCallback'])) {
|
254 |
$this->setId($info->getId());
|
@@ -263,7 +245,7 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
263 |
if ($info) {
|
264 |
$data['subscriber'] = $info->getUid();
|
265 |
$this->setId($info->getId());
|
266 |
-
} elseif ($info = $this->subscriberExists('subscriber_id', $this->getId()
|
267 |
$data['subscriber'] = $info->getUid();
|
268 |
$this->setId($info->getId());
|
269 |
}
|
@@ -321,7 +303,9 @@ class Licentia_Fidelitas_Model_Subscribers extends Mage_Core_Model_Abstract
|
|
321 |
return false;
|
322 |
}
|
323 |
|
324 |
-
if (!$subscriber->getIsStatusChanged() &&
|
|
|
|
|
325 |
return;
|
326 |
}
|
327 |
|
92 |
->joinAttribute('country_id', 'customer_address/country_id', 'default_billing', null, 'left')
|
93 |
->joinAttribute($cellphoneField, 'customer_address/' . $cellphoneField, 'default_billing', null, 'left');
|
94 |
|
95 |
+
if ($billing && $cellphoneField != $billing && $attribute != $billing && 'country_id' != $billing) {
|
96 |
$customers->joinAttribute($billing, 'customer_address/' . $billing, 'default_billing', null, 'left');
|
97 |
}
|
98 |
|
125 |
$data = array();
|
126 |
$list = Mage::getModel('fidelitas/lists')->getList();
|
127 |
|
128 |
+
if ($this->subscriberExists('email', $subscriber->getEmail())) {
|
129 |
continue;
|
130 |
}
|
131 |
|
143 |
}
|
144 |
|
145 |
|
146 |
+
public function subscriberExists($field, $value)
|
147 |
{
|
148 |
|
149 |
$model = Mage::getModel('fidelitas/subscribers')
|
150 |
->getCollection()
|
151 |
+
->addFieldToFilter($field, $value);
|
|
|
152 |
|
153 |
if ($model->count() != 1) {
|
154 |
return false;
|
182 |
|
183 |
$extra = Mage::getModel('fidelitas/extra')->getExtra();
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
if ($customer) {
|
186 |
$data['customer_id'] = $customer->getId();
|
187 |
$data['birth_date'] = $customer->getData('dob');
|
194 |
|
195 |
foreach ($extra as $element) {
|
196 |
|
197 |
+
if ($this->getData($element->getData('attribute_code'))) {
|
198 |
+
$data[$element->getData('extra_code')] = $this->getData($element->getData('attribute_code'));
|
199 |
+
continue;
|
200 |
+
}
|
201 |
+
|
202 |
+
if ($customer->getData($element->getData('attribute_code'))) {
|
203 |
+
$data[$element->getData('extra_code')] = $customer->getData($element->getData('attribute_code'));
|
204 |
continue;
|
205 |
}
|
206 |
|
212 |
$attributeCode = $element->getData('attribute_code');
|
213 |
}
|
214 |
|
215 |
+
if ($billing) {
|
216 |
+
$customer = $this->findCustomer($customer->getId(), 'entity_id', $attributeCode);
|
217 |
+
} else {
|
218 |
+
$customer = Mage::getModel('customer/customer')->load($customer->getId());
|
|
|
|
|
219 |
}
|
220 |
+
|
221 |
if ($customer->getData($attributeCode)) {
|
222 |
$data[$element->getData('extra_code')] = $customer->getData($attributeCode);
|
223 |
}
|
230 |
|
231 |
$this->addData($data);
|
232 |
|
233 |
+
$info = $this->subscriberExists('email', $this->getEmail());
|
234 |
|
235 |
if ($info && isset($data['inCallback'])) {
|
236 |
$this->setId($info->getId());
|
245 |
if ($info) {
|
246 |
$data['subscriber'] = $info->getUid();
|
247 |
$this->setId($info->getId());
|
248 |
+
} elseif ($info = $this->subscriberExists('subscriber_id', $this->getId())) {
|
249 |
$data['subscriber'] = $info->getUid();
|
250 |
$this->setId($info->getId());
|
251 |
}
|
303 |
return false;
|
304 |
}
|
305 |
|
306 |
+
if (!$subscriber->getIsStatusChanged() &&
|
307 |
+
$subscriber->getOrigData('subscriber_status') == $subscriber->getData('subscriber_status')
|
308 |
+
) {
|
309 |
return;
|
310 |
}
|
311 |
|
app/code/community/Licentia/Fidelitas/controllers/Adminhtml/Fidelitas/ListsController.php
CHANGED
@@ -20,6 +20,11 @@ class Licentia_Fidelitas_Adminhtml_Fidelitas_ListsController extends Mage_Adminh
|
|
20 |
public function indexAction()
|
21 |
{
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
$this->_title($this->__('E-Goi'))->_title($this->__('Lists'));
|
24 |
$this->_initAction();
|
25 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_lists'));
|
20 |
public function indexAction()
|
21 |
{
|
22 |
|
23 |
+
$list = Mage::getModel('fidelitas/lists')->getList();
|
24 |
+
|
25 |
+
$this->_redirect('*/*/edit', array('id' => $list->getId()));
|
26 |
+
return;
|
27 |
+
|
28 |
$this->_title($this->__('E-Goi'))->_title($this->__('Lists'));
|
29 |
$this->_initAction();
|
30 |
$this->_addContent($this->getLayout()->createBlock('fidelitas/adminhtml_lists'));
|
app/code/community/Licentia/Fidelitas/etc/adminhtml.xml
CHANGED
@@ -10,11 +10,6 @@
|
|
10 |
<sort_order>10</sort_order>
|
11 |
<action>adminhtml/fidelitas_account</action>
|
12 |
</account>
|
13 |
-
<lists translate="title" module="fidelitas">
|
14 |
-
<title>List</title>
|
15 |
-
<sort_order>10</sort_order>
|
16 |
-
<action>adminhtml/fidelitas_lists</action>
|
17 |
-
</lists>
|
18 |
<subscribers>
|
19 |
<title>Subscribers</title>
|
20 |
<sort_order>50</sort_order>
|
@@ -35,6 +30,11 @@
|
|
35 |
<sort_order>80</sort_order>
|
36 |
<action>adminhtml/fidelitas_account/support</action>
|
37 |
</support>
|
|
|
|
|
|
|
|
|
|
|
38 |
<configuration>
|
39 |
<title>Configuration</title>
|
40 |
<sort_order>90</sort_order>
|
@@ -55,10 +55,6 @@
|
|
55 |
<title>My Account</title>
|
56 |
<sort_order>10</sort_order>
|
57 |
</account>
|
58 |
-
<lists>
|
59 |
-
<title>List</title>
|
60 |
-
<sort_order>10</sort_order>
|
61 |
-
</lists>
|
62 |
<subscribers>
|
63 |
<title>Subscribers</title>
|
64 |
<sort_order>50</sort_order>
|
@@ -71,6 +67,10 @@
|
|
71 |
<title>SMS Autoresponders Log</title>
|
72 |
<sort_order>70</sort_order>
|
73 |
</events>
|
|
|
|
|
|
|
|
|
74 |
<support>
|
75 |
<title>Support</title>
|
76 |
<sort_order>80</sort_order>
|
10 |
<sort_order>10</sort_order>
|
11 |
<action>adminhtml/fidelitas_account</action>
|
12 |
</account>
|
|
|
|
|
|
|
|
|
|
|
13 |
<subscribers>
|
14 |
<title>Subscribers</title>
|
15 |
<sort_order>50</sort_order>
|
30 |
<sort_order>80</sort_order>
|
31 |
<action>adminhtml/fidelitas_account/support</action>
|
32 |
</support>
|
33 |
+
<lists translate="title" module="fidelitas">
|
34 |
+
<title>Map Attributes/Extra Fields</title>
|
35 |
+
<sort_order>85</sort_order>
|
36 |
+
<action>adminhtml/fidelitas_lists</action>
|
37 |
+
</lists>
|
38 |
<configuration>
|
39 |
<title>Configuration</title>
|
40 |
<sort_order>90</sort_order>
|
55 |
<title>My Account</title>
|
56 |
<sort_order>10</sort_order>
|
57 |
</account>
|
|
|
|
|
|
|
|
|
58 |
<subscribers>
|
59 |
<title>Subscribers</title>
|
60 |
<sort_order>50</sort_order>
|
67 |
<title>SMS Autoresponders Log</title>
|
68 |
<sort_order>70</sort_order>
|
69 |
</events>
|
70 |
+
<lists>
|
71 |
+
<title>Map Attributes/Extra Fields</title>
|
72 |
+
<sort_order>85</sort_order>
|
73 |
+
</lists>
|
74 |
<support>
|
75 |
<title>Support</title>
|
76 |
<sort_order>80</sort_order>
|
app/code/community/Licentia/Fidelitas/etc/config.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Licentia_Fidelitas>
|
6 |
-
<version>2.5.0.
|
7 |
</Licentia_Fidelitas>
|
8 |
</modules>
|
9 |
<frontend>
|
3 |
<config>
|
4 |
<modules>
|
5 |
<Licentia_Fidelitas>
|
6 |
+
<version>2.5.0.2</version>
|
7 |
</Licentia_Fidelitas>
|
8 |
</modules>
|
9 |
<frontend>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Licentia_Fidelitas</name>
|
4 |
-
<version>2.5.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons - Attribution-NonCommercial 4.0 International </license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Email marketing</description>
|
11 |
<notes>Email marketing</notes>
|
12 |
<authors><author><name>bento</name><user>licentia</user><email>bento@licentia.pt</email></author></authors>
|
13 |
-
<date>2017-02-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Licentia"><dir name="Fidelitas"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="New"><dir name="Edit"><file name="Form.php" hash="6802d636f325a1c1e91515d906c35352"/><dir name="Tab"><file name="Api.php" hash="320ffbcc93452ab7c2ffd0a83aa96020"/><file name="Form.php" hash="d58c80db9a08fb05ae059e18215cb378"/></dir><file name="Tabs.php" hash="8add5cc4a3edbd6ef92c6f0a00db0e2e"/></dir><file name="Edit.php" hash="b86f3f3b32c38ba80c5e74bd0c858e08"/></dir><file name="New.php" hash="d5fc7f250b2d2cd816e4b5cc91242272"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="0eacee9a220ba52968442575c9f9a406"/><dir name="Tab"><file name="Form.php" hash="5cecbf817777f9322a8a4066805c6dd4"/></dir><file name="Tabs.php" hash="3de3e6aa7541058be94a4cdad5f479ae"/></dir><file name="Edit.php" hash="9dbc6988f63239978405ca3703ed2ce6"/></dir><file name="Support.php" hash="8a8ca7ba9dd695f10fca5e6f2fe7b55a"/><dir name="Sync"><dir name="Edit"><file name="Form.php" hash="f0283c4d94ded6843b5d807cd8ef1a29"/><dir name="Tab"><file name="Form.php" hash="62aa790142e7c7d5f7c1efd403bc8caf"/></dir><file name="Tabs.php" hash="69846a0c99c896a88e9ab56766d7e53f"/></dir><file name="Edit.php" hash="564693d4f8dfb59b9ff0efd47a1119cd"/></dir><file name="Sync.php" hash="2c1d8b495043e8f07dcd9e360bb188d3"/></dir><file name="Account.php" hash="7852371d0a9d7be6df7a2d06e2ee631c"/><dir name="Autoresponders"><dir name="Edit"><file name="Form.php" hash="356ca946f042ef4707f4c2d87d449852"/><dir name="Tab"><file name="Data.php" hash="bbacf805657b8f029d6b91b36d28bb77"/><file name="Main.php" hash="37bdc3f0d2b704bc1fb208a7f5515a6a"/></dir><file name="Tabs.php" hash="ea583251e1c289ef5bcb883140966474"/></dir><file name="Edit.php" hash="814a0172d583f9678cf6fa67972e0198"/><file name="Grid.php" hash="44ce976d0426680e89d84fd0327e6ae2"/></dir><file name="Autoresponders.php" hash="7e2d11c1b3bb81a3bd2e1e347c1dcf0f"/><dir name="Events"><file name="Grid.php" hash="fb96492b69dec4628b42a25c8bbfd284"/></dir><file name="Events.php" hash="d5e7420ab36d092fb36f0c800dd55a1d"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="1887d528edc782f9c918894238e3e5a4"/><dir name="Tab"><file name="Main.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Licentia_Fidelitas</name>
|
4 |
+
<version>2.5.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons - Attribution-NonCommercial 4.0 International </license>
|
7 |
<channel>community</channel>
|
10 |
<description>Email marketing</description>
|
11 |
<notes>Email marketing</notes>
|
12 |
<authors><author><name>bento</name><user>licentia</user><email>bento@licentia.pt</email></author></authors>
|
13 |
+
<date>2017-02-20</date>
|
14 |
+
<time>02:25:31</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Licentia"><dir name="Fidelitas"><dir name="Block"><dir name="Adminhtml"><dir name="Account"><dir name="New"><dir name="Edit"><file name="Form.php" hash="6802d636f325a1c1e91515d906c35352"/><dir name="Tab"><file name="Api.php" hash="320ffbcc93452ab7c2ffd0a83aa96020"/><file name="Form.php" hash="d58c80db9a08fb05ae059e18215cb378"/></dir><file name="Tabs.php" hash="8add5cc4a3edbd6ef92c6f0a00db0e2e"/></dir><file name="Edit.php" hash="b86f3f3b32c38ba80c5e74bd0c858e08"/></dir><file name="New.php" hash="d5fc7f250b2d2cd816e4b5cc91242272"/><dir name="Support"><dir name="Edit"><file name="Form.php" hash="0eacee9a220ba52968442575c9f9a406"/><dir name="Tab"><file name="Form.php" hash="5cecbf817777f9322a8a4066805c6dd4"/></dir><file name="Tabs.php" hash="3de3e6aa7541058be94a4cdad5f479ae"/></dir><file name="Edit.php" hash="9dbc6988f63239978405ca3703ed2ce6"/></dir><file name="Support.php" hash="8a8ca7ba9dd695f10fca5e6f2fe7b55a"/><dir name="Sync"><dir name="Edit"><file name="Form.php" hash="f0283c4d94ded6843b5d807cd8ef1a29"/><dir name="Tab"><file name="Form.php" hash="62aa790142e7c7d5f7c1efd403bc8caf"/></dir><file name="Tabs.php" hash="69846a0c99c896a88e9ab56766d7e53f"/></dir><file name="Edit.php" hash="564693d4f8dfb59b9ff0efd47a1119cd"/></dir><file name="Sync.php" hash="2c1d8b495043e8f07dcd9e360bb188d3"/></dir><file name="Account.php" hash="7852371d0a9d7be6df7a2d06e2ee631c"/><dir name="Autoresponders"><dir name="Edit"><file name="Form.php" hash="356ca946f042ef4707f4c2d87d449852"/><dir name="Tab"><file name="Data.php" hash="bbacf805657b8f029d6b91b36d28bb77"/><file name="Main.php" hash="37bdc3f0d2b704bc1fb208a7f5515a6a"/></dir><file name="Tabs.php" hash="ea583251e1c289ef5bcb883140966474"/></dir><file name="Edit.php" hash="814a0172d583f9678cf6fa67972e0198"/><file name="Grid.php" hash="44ce976d0426680e89d84fd0327e6ae2"/></dir><file name="Autoresponders.php" hash="7e2d11c1b3bb81a3bd2e1e347c1dcf0f"/><dir name="Events"><file name="Grid.php" hash="fb96492b69dec4628b42a25c8bbfd284"/></dir><file name="Events.php" hash="d5e7420ab36d092fb36f0c800dd55a1d"/><dir name="Lists"><dir name="Edit"><file name="Form.php" hash="1887d528edc782f9c918894238e3e5a4"/><dir name="Tab"><file name="Main.php" hash="fa2ee28e4baf3b562df58e35a287ac08"/></dir><file name="Tabs.php" hash="b0687d00f6c93ea0955ad5432c2dc1ab"/></dir><file name="Edit.php" hash="f9e149d2b0922c33ffb89a99e256c4b3"/><file name="Grid.php" hash="c2684f64f5dac5e6e83a74a6d9cd0664"/></dir><file name="Lists.php" hash="cc3df10e61a0a0cef65deb0e7bd029bb"/><dir name="Subscribers"><dir name="Edit"><file name="Form.php" hash="aadce50da358d664c99fc2c27d519b2e"/><dir name="Tab"><file name="Form.php" hash="56f4c6b69545e15b3e4bfad1228c2d57"/></dir><file name="Tabs.php" hash="62462849bc5bd297fb764a075abb6b69"/></dir><file name="Edit.php" hash="c86c116e9b7894b653713db6c1f5b405"/><file name="Grid.php" hash="b6307e585a5e6feb8af3801db5b5019f"/></dir><file name="Subscribers.php" hash="5880102fd07c90d645fee6c9f90f5662"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Test.php" hash="55c625dced6d7e265c28377eed3fea21"/></dir></dir></dir></dir></dir><file name="Egoimmerce.php" hash="66ea73ddc94914d705ab22ee90da0c08"/><file name="Products.php" hash="fe93effd102dc4b569725e37f6c004dd"/></dir><dir name="Helper"><file name="Data.php" hash="d9c90d95319fab4b6431b2d30fbfae6f"/></dir><dir name="Model"><file name="Account.php" hash="ac6a858eebdf9335b22e7cced2145fa8"/><file name="Autoresponders.php" hash="3f6808a6b9c7e356002c31cc00597317"/><file name="Egoi.php" hash="bfa2b5fe6f863acaebf475ef8d835096"/><file name="Events.php" hash="190cf15070bd6f799f8b10c0921133f5"/><file name="Extra.php" hash="ba2e3e3797ebd6d62bbca22a05190cae"/><file name="Lists.php" hash="e964a062735aa96866f67c6d61b88ec7"/><dir name="Mysql4"><dir name="Account"><file name="Collection.php" hash="2d668e62a13f4ef5e384aeec0e514c1a"/></dir><file name="Account.php" hash="7c9967d6a86f49378f1e513acfc07078"/><dir name="Autoresponders"><file name="Collection.php" hash="bb924ad5979b3b27b312f46d84fe44c6"/></dir><file name="Autoresponders.php" hash="84fe50177e1c3cf4b8773b6133017ab4"/><dir name="Events"><file name="Collection.php" hash="3eb76ae733c4d76f27dae40cda7f9f4c"/></dir><file name="Events.php" hash="c68be7cbd8bcb077729de120a4af2cb3"/><dir name="Extra"><file name="Collection.php" hash="3378a705bbc8fd647c87d50c729b6715"/></dir><file name="Extra.php" hash="2e7c8ae5c07f92a22b04b5080f0712b4"/><dir name="Lists"><file name="Collection.php" hash="bb48b44e845ee9c28a8ce8fdbc42674d"/></dir><file name="Lists.php" hash="eb23516e199ed10234c7df1a6922a313"/><dir name="Subscribers"><file name="Collection.php" hash="fc44d78d088c11aab5345aacd12b80b6"/></dir><file name="Subscribers.php" hash="4478e53edda9027e02fb62163164ce97"/></dir><file name="Observer.php" hash="2427a5b6790255e334f536fedc0b091a"/><file name="Products.php" hash="15563f5b53af8e176e48ce2a4633458a"/><dir name="Source"><file name="Addressattributes.php" hash="c8cf64629c92f54859c3335832b43ee6"/><file name="Method.php" hash="151497a995e79e0a6e226ec1aae3eaec"/><file name="Sender.php" hash="2c054ca6a46b43545a0cec4eef381b8a"/></dir><file name="Subscribers.php" hash="3f0b59c2faf8738f93e855eb86cab788"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Fidelitas"><file name="AccountController.php" hash="256b3f15331cf08ca508202e566675e1"/><file name="AutorespondersController.php" hash="000336c4a0bbe237404ea8de5a399e66"/><file name="EventsController.php" hash="37252a1a492bb4a90d2badae5c92e472"/><file name="ListsController.php" hash="7731b43d85442b802c1d71fcc2d7c6b3"/><file name="SubscribersController.php" hash="c3c0393809c664891b02f07a89ca3f7b"/></dir></dir><file name="CallbackController.php" hash="a5c1e7ef880f3faeaa32287791737669"/><file name="ProductsController.php" hash="368d75d6057c36710359fc0bfc945186"/></dir><dir name="etc"><file name="adminhtml.xml" hash="cbd50b5788580ddfd5b87449c8c07bff"/><file name="config.xml" hash="13c58a972eab8839dcb968f3c9f15cc3"/><file name="system.xml" hash="bfbfc6ba8827e6ba20f1cd88b2f25105"/></dir><dir name="sql"><dir name="fidelitas_setup"><file name="mysql4-install-2.0.0.0.php" hash="665ca2dfe422a474f4faad8ae1985e6c"/><file name="mysql4-upgrade-2.0.0.5-2.1.0.0.php" hash="628f9f7253d152847971708552849b90"/><file name="mysql4-upgrade-2.1.0.4-2.1.0.5.php" hash="5fe08f874391f6d174be2c33e2f81cfd"/><file name="mysql4-upgrade-2.2.0.4-2.2.0.5.php" hash="ed2e1a7d5e7cd959277823d7a03bff5a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Licentia_Fidelitas.xml" hash="fb5bebd3e734d581867a362a1046df7c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="fidelitas.xml" hash="78efe5b2c2cbf4650e4d3d5acea8df12"/></dir><dir name="template"><dir name="fidelitas"><file name="egoimmerce.phtml" hash="8402f2defee218269dad4989ce80651f"/><file name="products.phtml" hash="6b704c921c38bcc25a6d90764e01a879"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="fidelitas.xml" hash="fbf163f93a515a6b834468bbbddd49da"/></dir><dir name="template"><dir name="fidelitas"><dir name="account"><file name="account.phtml" hash="502fd3aa14466f51b760e54d3754728a"/><file name="new.phtml" hash="b77874642f2fe60d966ba52ba808ff87"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>soap</name><min/><max/></extension></required></dependencies>
|
18 |
</package>
|