DndInxmail_Subscriber - Version 3.1.0.2

Version Notes

Version 3.1.0.2

Download this release

Release Info

Developer Agence
Extension DndInxmail_Subscriber
Version 3.1.0.2
Comparing to
See all releases


Code changes from version 3.1.0.1 to 3.1.0.2

Files changed (42) hide show
  1. app/code/community/DndInxmail/.DS_Store +0 -0
  2. app/code/community/DndInxmail/Subscriber/.DS_Store +0 -0
  3. app/code/community/DndInxmail/Subscriber/Block/Adminhtml/Newsletter/Subscriber/Grid.php +1 -1
  4. app/code/community/DndInxmail/Subscriber/Helper/Abstract.php +5 -5
  5. app/code/community/DndInxmail/Subscriber/Helper/Data.php +15 -17
  6. app/code/community/DndInxmail/Subscriber/Helper/Group.php +41 -21
  7. app/code/community/DndInxmail/Subscriber/Helper/Mapping.php +13 -7
  8. app/code/community/DndInxmail/Subscriber/Helper/Synchronize.php +92 -92
  9. app/code/community/DndInxmail/Subscriber/Helper/Synchronize/Groups.php +21 -11
  10. app/code/community/DndInxmail/Subscriber/Helper/Synchronize/Subscribers.php +11 -5
  11. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Cron.php +4 -4
  12. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Customer/Group.php +4 -4
  13. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Date.php +2 -2
  14. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Attributes.php +3 -3
  15. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Cron/Frequency.php +4 -4
  16. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Group.php +2 -2
  17. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Group/Specific.php +4 -4
  18. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns.php +3 -3
  19. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Dateonly.php +5 -5
  20. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Float.php +5 -5
  21. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Int.php +5 -5
  22. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Text.php +5 -5
  23. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Yesno.php +5 -5
  24. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Lists.php +3 -3
  25. app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Orders.php +1 -1
  26. app/code/community/DndInxmail/Subscriber/Model/Observer.php +31 -15
  27. app/code/community/DndInxmail/Subscriber/Model/Xml.php +3 -3
  28. app/code/community/DndInxmail/Subscriber/controllers/Adminhtml/InxmailcolumnsController.php +5 -7
  29. app/code/community/DndInxmail/Subscriber/controllers/Adminhtml/SynchronizeController.php +7 -7
  30. app/code/community/DndInxmail/Subscriber/controllers/SourceController.php +18 -18
  31. app/code/community/DndInxmail/Subscriber/controllers/SynchronizeController.php +24 -24
  32. app/code/community/DndInxmail/Subscriber/etc/adminhtml.xml +1 -2
  33. app/code/community/DndInxmail/Subscriber/etc/config.xml +2 -3
  34. app/code/community/DndInxmail/Subscriber/etc/system.xml +22 -3
  35. app/design/adminhtml/default/default/layout/dndinxmail.xml +1 -1
  36. app/design/frontend/base/default/layout/dndinxmail.xml +26 -10
  37. app/design/frontend/base/default/template/dndinxmail/synchronization/groups.phtml +9 -9
  38. app/design/frontend/base/default/template/dndinxmail/synchronization/subscribers.phtml +9 -9
  39. app/etc/modules/DndInxmail_Subscriber.xml +2 -3
  40. app/locale/en_US/DndInxmail_Subscriber.csv +3 -1
  41. app/locale/fr_FR/DndInxmail_Subscriber.csv +3 -1
  42. package.xml +5 -5
app/code/community/DndInxmail/.DS_Store DELETED
Binary file
app/code/community/DndInxmail/Subscriber/.DS_Store DELETED
Binary file
app/code/community/DndInxmail/Subscriber/Block/Adminhtml/Newsletter/Subscriber/Grid.php CHANGED
@@ -112,7 +112,7 @@ class DndInxmail_Subscriber_Block_Adminhtml_Newsletter_Subscriber_Grid extends M
112
  */
113
  public function decorateEmailBounced($value, $row, $column, $isExport)
114
  {
115
- if($row->getEmailBounced()) {
116
  $cell = '<span class="grid-severity-notice"><span>' . Mage::helper('dndinxmail_subscriber')->__('Yes') . '</span></span>';
117
  }
118
  else {
112
  */
113
  public function decorateEmailBounced($value, $row, $column, $isExport)
114
  {
115
+ if ($row->getEmailBounced()) {
116
  $cell = '<span class="grid-severity-notice"><span>' . Mage::helper('dndinxmail_subscriber')->__('Yes') . '</span></span>';
117
  }
118
  else {
app/code/community/DndInxmail/Subscriber/Helper/Abstract.php CHANGED
@@ -15,7 +15,7 @@ class DndInxmail_Subscriber_Helper_Abstract extends Mage_Core_Helper_Abstract
15
  /**
16
  * Get Magento store configuration
17
  *
18
- * @param string $path XML configuration path
19
  * @param string $store Store ID of configuration. If not set then current store ID
20
  *
21
  * @return string Magento configuration
@@ -36,17 +36,17 @@ class DndInxmail_Subscriber_Helper_Abstract extends Mage_Core_Helper_Abstract
36
  */
37
  public function createDirIfNotExists($dir)
38
  {
39
- if(file_exists($dir)) {
40
- if(!is_dir($dir)) {
41
  return false;
42
  }
43
- if(!is_dir_writeable($dir)) {
44
  return false;
45
  }
46
  }
47
  else {
48
  $oldUmask = umask(0);
49
- if(!@mkdir($dir, 0777, true)) {
50
  return false;
51
  }
52
  umask($oldUmask);
15
  /**
16
  * Get Magento store configuration
17
  *
18
+ * @param string $path XML configuration path
19
  * @param string $store Store ID of configuration. If not set then current store ID
20
  *
21
  * @return string Magento configuration
36
  */
37
  public function createDirIfNotExists($dir)
38
  {
39
+ if (file_exists($dir)) {
40
+ if (!is_dir($dir)) {
41
  return false;
42
  }
43
+ if (!is_dir_writeable($dir)) {
44
  return false;
45
  }
46
  }
47
  else {
48
  $oldUmask = umask(0);
49
+ if (!@mkdir($dir, 0777, true)) {
50
  return false;
51
  }
52
  umask($oldUmask);
app/code/community/DndInxmail/Subscriber/Helper/Data.php CHANGED
@@ -19,30 +19,28 @@ class DndInxmail_Subscriber_Helper_Data extends DndInxmail_Subscriber_Helper_Abs
19
  */
20
  public function isDndInxmailEnabled()
21
  {
22
- if($this->getConfig('dndinxmail_subscriber_general/general/active') == 0) {
23
  return false;
24
  }
25
- else {
26
 
27
- $valid = true;
28
 
29
- if($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_URL) == '') {
30
- Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: URL field is empty');
31
- $valid = false;
32
- }
33
-
34
- if($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_USER) == '') {
35
- Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: API User field is empty');
36
- $valid = false;
37
- }
38
 
39
- if($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_PASSWORD) == '') {
40
- Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: API Password field is empty');
41
- $valid = false;
42
- }
43
 
44
- return $valid;
 
 
45
  }
 
 
46
  }
47
 
48
  /**
19
  */
20
  public function isDndInxmailEnabled()
21
  {
22
+ if ($this->getConfig('dndinxmail_subscriber_general/general/active') == 0) {
23
  return false;
24
  }
 
25
 
26
+ $valid = true;
27
 
28
+ if ($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_URL) == '') {
29
+ Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: URL field is empty');
30
+ $valid = false;
31
+ }
 
 
 
 
 
32
 
33
+ if ($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_USER) == '') {
34
+ Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: API User field is empty');
35
+ $valid = false;
36
+ }
37
 
38
+ if ($this->getConfig(DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_API_PASSWORD) == '') {
39
+ Mage::getSingleton('adminhtml/session')->addError('Inxmail Configuration Error: API Password field is empty');
40
+ $valid = false;
41
  }
42
+
43
+ return $valid;
44
  }
45
 
46
  /**
app/code/community/DndInxmail/Subscriber/Helper/Group.php CHANGED
@@ -64,12 +64,16 @@ class DndInxmail_Subscriber_Helper_Group extends DndInxmail_Subscriber_Helper_Ab
64
  $query = "SELECT `$customerGroup`.`customer_group_code` as `group_name` FROM `$customerGroup` WHERE `$customerGroup`.`customer_group_id` = $groupId";
65
 
66
  try {
67
- if(!$result = $read->query($query)) return false;
68
- if(!$groupName = $result->fetch()) return false;
69
-
70
- return (isset($groupName['group_name'])) ? $groupName['group_name'] : false;;
 
 
 
 
71
  }
72
- catch(Exception $e) {
73
  return false;
74
  }
75
  }
@@ -155,12 +159,14 @@ class DndInxmail_Subscriber_Helper_Group extends DndInxmail_Subscriber_Helper_Ab
155
  $isDynamicQuery = false;
156
  $customers = array();
157
 
158
- switch($groupId) {
159
 
160
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_LAST:
161
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_last_customers');
162
  $range = $this->getDayRangeFromToday($config);
163
- if(!isset($range['from']) || !isset($range['to'])) return false;
 
 
164
  $from = $range['from'];
165
  $to = $range['to'];
166
  $customerTable = $resource->getTableName('customer/entity');
@@ -190,24 +196,28 @@ ORDER BY `orders_sum_amount` DESC";
190
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ABANDONNED_CARTS:
191
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_abandonned_carts');
192
  $range = $this->getDayRangeFromToday($config);
193
- if(!isset($range['from']) || !isset($range['to'])) return false;
 
 
194
  $from = $range['from'];
195
  $to = $range['to'];
196
  $isDynamicQuery = true;
197
  $customers = Mage::getResourceModel('reports/quote_collection')->addFieldToFilter('items_count', array('neq' => '0'))->addFieldToFilter('main_table.is_active', '1')->addFieldToFilter('main_table.created_at', array(
198
- 'from' => $from,
199
- 'to' => $to
200
- ))->addCustomerData()->setOrder('updated_at');
201
  break;
202
 
203
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS:
204
 
205
  $type = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options');
206
 
207
- if($type == DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Orders::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS_SINGLE_DATE) {
208
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_single_date');
209
  $range = $this->getDayRangeFromToday($config);
210
- if(!isset($range['from']) || !isset($range['to'])) return false;
 
 
211
  $from = $range['from'];
212
  $to = $range['to'];
213
  }
@@ -215,7 +225,7 @@ ORDER BY `orders_sum_amount` DESC";
215
  $configFrom = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_date_range_from');
216
  $configTo = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_date_range_to');
217
  $range = $this->getDayRange($configFrom, $configTo);
218
- if(!isset($range['from']) || !isset($range['to'])) return false;
219
  $from = $range['from'];
220
  $to = $range['to'];
221
  }
@@ -231,20 +241,30 @@ ORDER BY `orders_sum_amount` DESC";
231
 
232
  }
233
 
234
- if(!$isDynamicQuery) {
235
- if(!$query) return false;
236
- if(!$result = $read->query($query)) return false;
237
- if(!$customers = $result->fetchAll()) return false;
 
 
 
 
 
 
238
  }
239
  else {
240
- if(count($customers) <= 0) return false;
 
 
241
  }
242
 
243
  $emails = array();
244
 
245
- foreach($customers as $customer) {
246
  $email = (isset($customer['email'])) ? $customer['email'] : false;
247
- if(!$email) continue;
 
 
248
  $emails[] = $email;
249
  }
250
 
64
  $query = "SELECT `$customerGroup`.`customer_group_code` as `group_name` FROM `$customerGroup` WHERE `$customerGroup`.`customer_group_id` = $groupId";
65
 
66
  try {
67
+ if (!$result = $read->query($query)) {
68
+ return false;
69
+ }
70
+ if (!$groupName = $result->fetch()) {
71
+ return false;
72
+ }
73
+
74
+ return (isset($groupName['group_name'])) ? $groupName['group_name'] : false;
75
  }
76
+ catch (Exception $e) {
77
  return false;
78
  }
79
  }
159
  $isDynamicQuery = false;
160
  $customers = array();
161
 
162
+ switch ($groupId) {
163
 
164
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_LAST:
165
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_last_customers');
166
  $range = $this->getDayRangeFromToday($config);
167
+ if (!isset($range['from']) || !isset($range['to'])) {
168
+ return false;
169
+ }
170
  $from = $range['from'];
171
  $to = $range['to'];
172
  $customerTable = $resource->getTableName('customer/entity');
196
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ABANDONNED_CARTS:
197
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_abandonned_carts');
198
  $range = $this->getDayRangeFromToday($config);
199
+ if (!isset($range['from']) || !isset($range['to'])) {
200
+ return false;
201
+ }
202
  $from = $range['from'];
203
  $to = $range['to'];
204
  $isDynamicQuery = true;
205
  $customers = Mage::getResourceModel('reports/quote_collection')->addFieldToFilter('items_count', array('neq' => '0'))->addFieldToFilter('main_table.is_active', '1')->addFieldToFilter('main_table.created_at', array(
206
+ 'from' => $from,
207
+ 'to' => $to
208
+ ))->addCustomerData()->setOrder('updated_at');
209
  break;
210
 
211
  case DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS:
212
 
213
  $type = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options');
214
 
215
+ if ($type == DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Orders::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS_SINGLE_DATE) {
216
  $config = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_single_date');
217
  $range = $this->getDayRangeFromToday($config);
218
+ if (!isset($range['from']) || !isset($range['to'])) {
219
+ return false;
220
+ }
221
  $from = $range['from'];
222
  $to = $range['to'];
223
  }
225
  $configFrom = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_date_range_from');
226
  $configTo = $this->getConfig('dndinxmail_subscriber_mapping/mapping_groups/customer_config_orders_options_date_range_to');
227
  $range = $this->getDayRange($configFrom, $configTo);
228
+ if (!isset($range['from']) || !isset($range['to'])) return false;
229
  $from = $range['from'];
230
  $to = $range['to'];
231
  }
241
 
242
  }
243
 
244
+ if (!$isDynamicQuery) {
245
+ if (!$query) {
246
+ return false;
247
+ }
248
+ if (!$result = $read->query($query)) {
249
+ return false;
250
+ }
251
+ if (!$customers = $result->fetchAll()) {
252
+ return false;
253
+ }
254
  }
255
  else {
256
+ if (count($customers) <= 0) {
257
+ return false;
258
+ }
259
  }
260
 
261
  $emails = array();
262
 
263
+ foreach ($customers as $customer) {
264
  $email = (isset($customer['email'])) ? $customer['email'] : false;
265
+ if (!$email) {
266
+ continue;
267
+ }
268
  $emails[] = $email;
269
  }
270
 
app/code/community/DndInxmail/Subscriber/Helper/Mapping.php CHANGED
@@ -4,7 +4,7 @@
4
  * @category Module Helper
5
  * @package DndInxmail_Subscriber
6
  * @dev Merlin
7
- * @last_modified 13/03/2013
8
  * @copyright Copyright (c) 2012 Agence Dn'D
9
  * @author Agence Dn'D - Conseil en creation de site e-Commerce Magento : http://www.dnd.fr/
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
@@ -31,7 +31,9 @@ class DndInxmail_Subscriber_Helper_Mapping extends DndInxmail_Subscriber_Helper_
31
  'is_active',
32
  'prefix',
33
  'firstname',
34
- 'lastname'
 
 
35
  );
36
 
37
  // Fields for dynamics attributes
@@ -53,16 +55,20 @@ class DndInxmail_Subscriber_Helper_Mapping extends DndInxmail_Subscriber_Helper_
53
  */
54
  public function getMappingFields()
55
  {
56
- if($this->_mapping == null) {
57
 
58
  $mapping = array();
59
- foreach($this->_customerAttributes as $cAttribute) {
60
  $cValue = $this->getCustomerAttributeConfig($cAttribute);
61
- if($cValue != '' && $cValue != null) $mapping[$cAttribute] = $cValue;
 
 
62
  }
63
- foreach($this->_dynamicAttributes as $dAttribute) {
64
  $dValue = $this->getDynamicAttributeConfig($dAttribute);
65
- if($dValue != '' && $dValue != null) $mapping[$dAttribute] = $dValue;
 
 
66
  }
67
 
68
  $this->_mapping = $mapping;
4
  * @category Module Helper
5
  * @package DndInxmail_Subscriber
6
  * @dev Merlin
7
+ * @last_modified 06/05/2015
8
  * @copyright Copyright (c) 2012 Agence Dn'D
9
  * @author Agence Dn'D - Conseil en creation de site e-Commerce Magento : http://www.dnd.fr/
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
31
  'is_active',
32
  'prefix',
33
  'firstname',
34
+ 'lastname',
35
+ 'gender',
36
+ 'dob'
37
  );
38
 
39
  // Fields for dynamics attributes
55
  */
56
  public function getMappingFields()
57
  {
58
+ if ($this->_mapping == null) {
59
 
60
  $mapping = array();
61
+ foreach ($this->_customerAttributes as $cAttribute) {
62
  $cValue = $this->getCustomerAttributeConfig($cAttribute);
63
+ if ($cValue != '' && $cValue != null) {
64
+ $mapping[$cAttribute] = $cValue;
65
+ }
66
  }
67
+ foreach ($this->_dynamicAttributes as $dAttribute) {
68
  $dValue = $this->getDynamicAttributeConfig($dAttribute);
69
+ if ($dValue != '' && $dValue != null) {
70
+ $mapping[$dAttribute] = $dValue;
71
+ }
72
  }
73
 
74
  $this->_mapping = $mapping;
app/code/community/DndInxmail/Subscriber/Helper/Synchronize.php CHANGED
@@ -70,7 +70,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
70
  */
71
  public function openInxmailSession()
72
  {
73
- if(!$this->isInxmailSession()) {
74
 
75
  $url = $this->getConfig(self::DNDINXMAIL_API_URL);
76
  $user = $this->getConfig(self::DNDINXMAIL_API_USER);
@@ -81,8 +81,8 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
81
 
82
  $this->_inxmailSession = Inx_Api_Session::createRemoteSession($url, $user, $pass);
83
  }
84
- catch(Inx_Api_LoginException $e) {
85
- if(!Mage::helper('dndinxmail_subscriber/error')->getIsSilentError()) {
86
  $message = Mage::helper('dndinxmail_subscriber/log')->__('Inxmail API Error: %s', $e->getMessage());
87
  Mage::getSingleton('adminhtml/session')->addError($message);
88
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getTraceAsString(), __FUNCTION__);
@@ -91,8 +91,8 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
91
 
92
  return false;
93
  }
94
- catch(Exception $e) {
95
- if(!Mage::helper('dndinxmail_subscriber/error')->getIsSilentError()) {
96
  $message = Mage::helper('dndinxmail_subscriber/log')->__('Inxmail API Error: %s', $e->getMessage());
97
  Mage::getSingleton('adminhtml/session')->addError($message);
98
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
@@ -114,7 +114,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
114
  */
115
  public function closeInxmailSession()
116
  {
117
- if($this->isInxmailSession()) {
118
  $this->_inxmailSession->close();
119
  $this->_inxmailSession = null;
120
  $this->_listContextManager = null;
@@ -155,8 +155,8 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
155
  */
156
  public function getListContextManager()
157
  {
158
- if($this->isInxmailSession()) {
159
- if($this->_listContextManager == null) {
160
  $this->_listContextManager = $this->getInxmailSession()->getListContextManager();
161
  }
162
 
@@ -173,8 +173,8 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
173
  */
174
  public function getRecipientContext()
175
  {
176
- if($this->isInxmailSession()) {
177
- if($this->_recipientContext == null) {
178
  $this->_recipientContext = $this->getInxmailSession()->createRecipientContext();
179
  }
180
 
@@ -188,15 +188,15 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
188
  * Subscribe email address to Inxmail
189
  * If email is linked to customer send additionnal data else send email as guest
190
  *
191
- * @param string $email Email address
192
- * @param boolean $trigger Trigger message in Inxmail
193
- * @param object $inxmailList Inxmail list
194
  *
195
  * @return boolean
196
  */
197
  public function subscribeCustomer($email, $trigger = true, $inxmailList)
198
  {
199
- if(!$session = $this->openInxmailSession()) {
200
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
201
 
202
  return false;
@@ -206,17 +206,17 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
206
  $customer = $this->getCustomerByEmail($email);
207
  $vars = array();
208
 
209
- if($customer != false) {
210
  $fields = $mappingHelper->getMappingFields();
211
- foreach($fields as $magentoField => $inxmailField) {
212
- if($mappingHelper->isDynamicAttribute($magentoField)) {
213
  $dynamicData = $this->getDynamicData($magentoField, $email);
214
- if($dynamicData !== false) {
215
  $vars[$inxmailField] = $dynamicData;
216
  }
217
  }
218
  $value = $customer->getData($magentoField);
219
- if($value != null) {
220
  $vars[$inxmailField] = $value;
221
  }
222
  }
@@ -233,29 +233,29 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
233
  $recipientRowSet = $recipientContext->select($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
234
  $isSubscribed = ($recipientRowSet->next()) ? true : false;
235
 
236
- if(!$isSubscribed && $trigger == true) {
237
  $subscriptionManager->processSubscription("Magento", null, $inxmailList, $email);
238
  }
239
 
240
- if(!$isSubscribed && $trigger == false) {
241
  $batchChannel->createRecipient($email, true);
242
  }
243
 
244
  $batchChannel->selectRecipient($email, true);
245
 
246
- if($customer != false) {
247
- foreach($vars as $attributeName => $attributeValue) {
248
  try {
249
  $recipientMetaData->getUserAttribute($attributeName);
250
  $batchChannel->write($recipientMetaData->getUserAttribute($attributeName), $attributeValue);
251
  }
252
- catch(Inx_Api_Recipient_AttributeNotFoundException $e) {
253
  continue;
254
  }
255
  }
256
  }
257
 
258
- if(!$isSubscribed) {
259
  $batchChannel->write($subscriptionAttribute, date("c"));
260
  }
261
 
@@ -268,21 +268,21 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
268
  /**
269
  * Set unsubscribe status to email address in Inxmail list
270
  *
271
- * @param string $email Email address
272
- * @param boolean $trigger Trigger message in Inxmail
273
- * @param object $inxmailList Inxmail list
274
  *
275
  * @return boolean
276
  */
277
  public function unsubscribeCustomer($email, $trigger = true, $inxmailList)
278
  {
279
- if(!$session = $this->openInxmailSession()) {
280
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
281
 
282
  return false;
283
  }
284
 
285
- if(!$trigger) {
286
  $this->subscribeCustomer($email, $trigger, $inxmailList);
287
  }
288
 
@@ -291,7 +291,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
291
 
292
  $batchChannel = $recipientContext->createBatchChannel();
293
 
294
- if($trigger) {
295
  $subscriptionManager->processUnsubscription("Magento", null, $inxmailList, $email);
296
  }
297
  else {
@@ -308,14 +308,14 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
308
  /**
309
  * Remove email address from Inxmail list
310
  *
311
- * @param string $email Email address
312
  * @param object $inxmailList Inxmail list
313
  *
314
  * @return boolean
315
  */
316
  public function removeCustomer($email, $inxmailList)
317
  {
318
- if(!$session = $this->openInxmailSession()) {
319
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
320
 
321
  return false;
@@ -327,13 +327,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
327
  $batchChannel = $recipientContext->createBatchChannel();
328
 
329
  $recipientRowSet = $recipientContext->select($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
330
- if($recipientRowSet->next()) {
331
  $recipientRowSet->updateDatetime($recipientMetaData->getSubscriptionAttribute($inxmailList), null);
332
  $recipientRowSet->commitRowUpdate();
333
  }
334
 
335
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
336
- if($recipientRowSetUns->next()) {
337
  $recipientRowSetUns->resubscribe(null);
338
  $recipientRowSetUns->commitRowUpdate();
339
  $recipientRowSetUns->updateDatetime($recipientMetaData->getSubscriptionAttribute($inxmailList), null);
@@ -372,12 +372,12 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
372
  */
373
  public function truncateInxmailList()
374
  {
375
- if(!$session = $this->openInxmailSession()) {
376
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
377
  throw new Exception('Inxmail session does not exist');
378
  }
379
 
380
- if(!$listid = (int)$this->getSynchronizeListId()) {
381
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
382
  throw new Exception('No list defined in configuration');
383
  }
@@ -392,13 +392,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
392
  $batchChannel = $recipientContext->createBatchChannel();
393
 
394
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
395
- while($recipientRowSetUns->next()) {
396
  $recipientRowSetUns->resubscribe(null);
397
  $recipientRowSetUns->commitRowUpdate();
398
  }
399
 
400
  $recipientRowSet = $recipientContext->select($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
401
- while($recipientRowSet->next()) {
402
  $batchChannel->selectRecipient($recipientRowSet->getString($emailAttribute));
403
  $batchChannel->write($subscriptionAttribute, null);
404
  }
@@ -421,7 +421,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
421
  */
422
  public function truncateSpecificInxmailList($inxmailList)
423
  {
424
- if(!$session = $this->openInxmailSession()) {
425
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
426
  throw new Exception('Inxmail session does not exist');
427
  }
@@ -434,13 +434,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
434
  $batchChannel = $recipientContext->createBatchChannel();
435
 
436
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
437
- while($recipientRowSetUns->next()) {
438
  $recipientRowSetUns->resubscribe(null);
439
  $recipientRowSetUns->commitRowUpdate();
440
  }
441
 
442
  $recipientRowSet = $recipientContext->select($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
443
- while($recipientRowSet->next()) {
444
  $batchChannel->selectRecipient($recipientRowSet->getString($emailAttribute));
445
  $batchChannel->write($subscriptionAttribute, null);
446
  }
@@ -459,17 +459,17 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
459
  */
460
  public function synchronizeSubscribers()
461
  {
462
- if(!$this->truncateInxmailList()) {
463
  Mage::helper('dndinxmail_subscriber/log')->logData('## Error truncating Inxmail list ', __FUNCTION__);
464
  throw new Exception('Error truncating Inxmail list');
465
  }
466
 
467
- if(!$session = $this->openInxmailSession()) {
468
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
469
  throw new Exception('Inxmail session does not exist');
470
  }
471
 
472
- if(!$listid = (int)$this->getSynchronizeListId()) {
473
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
474
  throw new Exception('No list defined in configuration');
475
  }
@@ -478,7 +478,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
478
  $inxmailList = $listContextManager->get($listid);
479
  $subscribers = Mage::getResourceModel('newsletter/subscriber_collection');
480
 
481
- foreach($subscribers as $subscriber) {
482
  $email = $subscriber->getSubscriberEmail();
483
  $status = $subscriber->getStatus();
484
  $this->switchActionToSubscriberStatus($status, $email, false, $inxmailList);
@@ -496,13 +496,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
496
  */
497
  public function getUnsubscribedCustomers($storeId)
498
  {
499
- if(!$session = $this->openInxmailSession()) {
500
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
501
 
502
  return array();
503
  }
504
 
505
- if(!$listid = (int)$this->getSynchronizeListId($storeId)) {
506
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
507
 
508
  return array();
@@ -520,14 +520,14 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
520
 
521
  $recipientRowSet = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
522
 
523
- while($recipientRowSet->next()) {
524
  $unsubscribed[] = $recipientRowSet->getString($emailAttribute);
525
  }
526
 
527
  $batchChannel->executeBatch();
528
  $recipientContext->close();
529
  }
530
- catch(Exception $e) {
531
 
532
  }
533
 
@@ -544,9 +544,9 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
544
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
545
 
546
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
547
- if(count($groupsConfig) <= 0) return array();
548
 
549
- if(!$session = $this->openInxmailSession()) {
550
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
551
 
552
  return false;
@@ -561,13 +561,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
561
  $batchChannel = $recipientContext->createBatchChannel();
562
  $unsubscribed = array();
563
 
564
- foreach($groupsConfig as $groupId) {
565
 
566
  $listName = $groupHelper->formatInxmailListName($groupId);
567
 
568
- if($inxmailList = $contextListManager->findByName($listName)) {
569
  $recipientRowSet = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
570
- while($recipientRowSet->next()) {
571
  $unsubscribed[] = $recipientRowSet->getString($emailAttribute);
572
  }
573
  }
@@ -578,7 +578,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
578
  $recipientContext->close();
579
 
580
  }
581
- catch(Exception $e) {
582
  return false;
583
  }
584
 
@@ -598,13 +598,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
598
  */
599
  public function unsubscribeCustomersFromInxmail($unsubscribed = array())
600
  {
601
- if(count($unsubscribed) <= 0) return false;
602
 
603
- foreach($unsubscribed as $email) {
604
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
605
- if(!$subscriber instanceof Varien_Object || !$subscriber->getId()) continue;
606
 
607
- if($subscriber->isSubscribed()) {
608
  $subscriber->unsubscribe();
609
  }
610
  }
@@ -619,7 +619,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
619
  */
620
  public function getInxmailColumns()
621
  {
622
- if(!$session = $this->openInxmailSession()) {
623
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
624
 
625
  return array(
@@ -642,9 +642,9 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
642
  'name' => Mage::helper('dndinxmail_subscriber')->__('Disabled'),
643
  'type' => ''
644
  );
645
- while($attrIterator->hasNext()) {
646
  $attr = $attrIterator->current();
647
- if($attr->getName() != '' && $attr->getName() != null && $attr->getType() == Inx_Api_Recipient_Attribute::USER_ATTRIBUTE_TYPE) {
648
  $columns[] = array(
649
  'id' => htmlspecialchars($attr->getName()),
650
  'name' => $attr->getName(),
@@ -668,7 +668,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
668
  */
669
  public function getInxmailLists()
670
  {
671
- if(!$session = $this->openInxmailSession()) {
672
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
673
 
674
  return array(
@@ -688,7 +688,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
688
  'id' => '',
689
  'name' => Mage::helper('dndinxmail_subscriber')->__('No list selected')
690
  );
691
- for($i = 0; $i < $inxmailLists->size(); $i++) {
692
 
693
  $list = $inxmailLists->get($i);
694
  $listId = $list->getId();
@@ -697,7 +697,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
697
  $specificSegment = DndInxmail_Subscriber_Helper_Group::DNDINXMAIL_INXMAIL_LIST_CUTOMER_SEGMENT_PREFIX;
698
  $specific = (preg_match("/($specificGroup|$specificSegment)/", $listName)) ? true : false;
699
 
700
- if($listName != Inx_Api_List_SystemListContext::NAME && !$specific) {
701
  $lists[] = array(
702
  'id' => $listId,
703
  'name' => $listName
@@ -716,7 +716,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
716
  * Get data for dynamic attributes
717
  *
718
  * @param string $attribute Attribute code
719
- * @param string $email Email address
720
  *
721
  * @return mixed Value of attribute or false
722
  */
@@ -727,7 +727,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
727
  $entityType = Mage::getModel('eav/entity_type')->loadByCode('order');
728
  $entityTable = $collection->getTable($entityType->getEntityTable());
729
 
730
- switch($attribute) {
731
 
732
  case 'first_order':
733
  $collection->getSelect()->joinLeft($entityTable, '`e`.entity_id = `' . $entityTable . '`.customer_id', array($attribute => 'MIN(' . $entityTable . '.created_at)'));
@@ -746,7 +746,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
746
  break;
747
 
748
  case 'last_connection':
749
- if($customer = $this->getCustomerByEmail($email)) {
750
  $logCustomer = Mage::getModel('log/customer')->loadByCustomer($customer);
751
 
752
  return $logCustomer->getLastVisitAt();
@@ -775,12 +775,12 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
775
  {
776
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
777
 
778
- foreach($customerGroups as $status => $groups) {
779
 
780
- switch($status) {
781
 
782
  case self::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_CREATED:
783
- foreach($groups as $group) {
784
  $listName = $groupHelper->formatInxmailListName($group);
785
  $description = $groupHelper->getGroupName($group);
786
  $description = ($description != false) ? $description : null;
@@ -789,7 +789,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
789
  break;
790
 
791
  case self::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_DELETED:
792
- foreach($groups as $group) {
793
  $listName = $groupHelper->formatInxmailListName($group);
794
  $this->deleteInxmailList($listName);
795
  }
@@ -805,14 +805,14 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
805
  /**
806
  * Create an Inxmail list
807
  *
808
- * @param string $listName List name
809
  * @param string $description List description
810
  *
811
  * @return boolean
812
  */
813
  public function createInxmailList($listName, $description = null)
814
  {
815
- if(!$session = $this->openInxmailSession()) {
816
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
817
 
818
  return false;
@@ -820,10 +820,10 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
820
 
821
  $contextListManager = $this->getListContextManager();
822
 
823
- if(!$contextListManager->findByName($listName)) {
824
  $list = $contextListManager->createStandardList();
825
  $list->updateName($listName);
826
- if($description) $list->updateDescription($description);
827
  $list->commitUpdate();
828
  }
829
 
@@ -841,7 +841,7 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
841
  */
842
  public function deleteInxmailList($listName)
843
  {
844
- if(!$session = $this->openInxmailSession()) {
845
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
846
 
847
  return false;
@@ -849,13 +849,13 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
849
 
850
  $contextListManager = $this->getListContextManager();
851
 
852
- if($list = $contextListManager->findByName($listName)) {
853
  try {
854
  $contextListManager->remove($list->getId());
855
 
856
  return true;
857
  }
858
- catch(Exception $e) {
859
  return false;
860
  }
861
  }
@@ -875,9 +875,9 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
875
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
876
 
877
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
878
- if(count($groupsConfig) <= 0) return false;
879
 
880
- if(!$session = $this->openInxmailSession()) {
881
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
882
 
883
  return false;
@@ -885,12 +885,12 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
885
 
886
  $contextListManager = $this->getListContextManager();
887
 
888
- foreach($groupsConfig as $groupId) {
889
 
890
  $listName = $groupHelper->formatInxmailListName($groupId);
891
  $emails = $groupHelper->getCustomersFromGroup($groupId);
892
 
893
- if(!$list = $contextListManager->findByName($listName)) {
894
  $list = $contextListManager->createStandardList();
895
  $list->updateName($listName);
896
  $description = $groupHelper->getGroupName($groupId);
@@ -901,16 +901,16 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
901
  $this->truncateSpecificInxmailList($list);
902
  }
903
 
904
- if(!$emails) continue;
905
 
906
  $inxmailList = $contextListManager->get($list->getId());
907
- foreach($emails as $email) {
908
 
909
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
910
- if(!$subscriber instanceof Varien_Object || !$subscriber->getSubscriberId()) {
911
  continue;
912
  }
913
- if(!$subscriber->isSubscribed()) continue;
914
 
915
  $this->subscribeCustomer($email, false, $inxmailList);
916
  }
@@ -925,16 +925,16 @@ class DndInxmail_Subscriber_Helper_Synchronize extends DndInxmail_Subscriber_Hel
925
  /**
926
  * Initiate an action based on the subscriber status
927
  *
928
- * @param string $status Subscriber status
929
- * @param string $email Email address
930
- * @param string $trigger Trigger message in Inxmail
931
  * @param object $inxmailList Inxmail list
932
  *
933
  * @return boolean true
934
  */
935
  public function switchActionToSubscriberStatus($status, $email, $trigger = true, $inxmailList)
936
  {
937
- switch($status) {
938
 
939
  case Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED:
940
  $this->subscribeCustomer($email, $trigger, $inxmailList);
70
  */
71
  public function openInxmailSession()
72
  {
73
+ if (!$this->isInxmailSession()) {
74
 
75
  $url = $this->getConfig(self::DNDINXMAIL_API_URL);
76
  $user = $this->getConfig(self::DNDINXMAIL_API_USER);
81
 
82
  $this->_inxmailSession = Inx_Api_Session::createRemoteSession($url, $user, $pass);
83
  }
84
+ catch (Inx_Api_LoginException $e) {
85
+ if (!Mage::helper('dndinxmail_subscriber/error')->getIsSilentError()) {
86
  $message = Mage::helper('dndinxmail_subscriber/log')->__('Inxmail API Error: %s', $e->getMessage());
87
  Mage::getSingleton('adminhtml/session')->addError($message);
88
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getTraceAsString(), __FUNCTION__);
91
 
92
  return false;
93
  }
94
+ catch (Exception $e) {
95
+ if (!Mage::helper('dndinxmail_subscriber/error')->getIsSilentError()) {
96
  $message = Mage::helper('dndinxmail_subscriber/log')->__('Inxmail API Error: %s', $e->getMessage());
97
  Mage::getSingleton('adminhtml/session')->addError($message);
98
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
114
  */
115
  public function closeInxmailSession()
116
  {
117
+ if ($this->isInxmailSession()) {
118
  $this->_inxmailSession->close();
119
  $this->_inxmailSession = null;
120
  $this->_listContextManager = null;
155
  */
156
  public function getListContextManager()
157
  {
158
+ if ($this->isInxmailSession()) {
159
+ if ($this->_listContextManager == null) {
160
  $this->_listContextManager = $this->getInxmailSession()->getListContextManager();
161
  }
162
 
173
  */
174
  public function getRecipientContext()
175
  {
176
+ if ($this->isInxmailSession()) {
177
+ if ($this->_recipientContext == null) {
178
  $this->_recipientContext = $this->getInxmailSession()->createRecipientContext();
179
  }
180
 
188
  * Subscribe email address to Inxmail
189
  * If email is linked to customer send additionnal data else send email as guest
190
  *
191
+ * @param string $email Email address
192
+ * @param boolean $trigger Trigger message in Inxmail
193
+ * @param object $inxmailList Inxmail list
194
  *
195
  * @return boolean
196
  */
197
  public function subscribeCustomer($email, $trigger = true, $inxmailList)
198
  {
199
+ if (!$session = $this->openInxmailSession()) {
200
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
201
 
202
  return false;
206
  $customer = $this->getCustomerByEmail($email);
207
  $vars = array();
208
 
209
+ if ($customer != false) {
210
  $fields = $mappingHelper->getMappingFields();
211
+ foreach ($fields as $magentoField => $inxmailField) {
212
+ if ($mappingHelper->isDynamicAttribute($magentoField)) {
213
  $dynamicData = $this->getDynamicData($magentoField, $email);
214
+ if ($dynamicData !== false) {
215
  $vars[$inxmailField] = $dynamicData;
216
  }
217
  }
218
  $value = $customer->getData($magentoField);
219
+ if ($value != null) {
220
  $vars[$inxmailField] = $value;
221
  }
222
  }
233
  $recipientRowSet = $recipientContext->select($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
234
  $isSubscribed = ($recipientRowSet->next()) ? true : false;
235
 
236
+ if (!$isSubscribed && $trigger == true) {
237
  $subscriptionManager->processSubscription("Magento", null, $inxmailList, $email);
238
  }
239
 
240
+ if (!$isSubscribed && $trigger == false) {
241
  $batchChannel->createRecipient($email, true);
242
  }
243
 
244
  $batchChannel->selectRecipient($email, true);
245
 
246
+ if ($customer != false) {
247
+ foreach ($vars as $attributeName => $attributeValue) {
248
  try {
249
  $recipientMetaData->getUserAttribute($attributeName);
250
  $batchChannel->write($recipientMetaData->getUserAttribute($attributeName), $attributeValue);
251
  }
252
+ catch (Inx_Api_Recipient_AttributeNotFoundException $e) {
253
  continue;
254
  }
255
  }
256
  }
257
 
258
+ if (!$isSubscribed) {
259
  $batchChannel->write($subscriptionAttribute, date("c"));
260
  }
261
 
268
  /**
269
  * Set unsubscribe status to email address in Inxmail list
270
  *
271
+ * @param string $email Email address
272
+ * @param boolean $trigger Trigger message in Inxmail
273
+ * @param object $inxmailList Inxmail list
274
  *
275
  * @return boolean
276
  */
277
  public function unsubscribeCustomer($email, $trigger = true, $inxmailList)
278
  {
279
+ if (!$session = $this->openInxmailSession()) {
280
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
281
 
282
  return false;
283
  }
284
 
285
+ if (!$trigger) {
286
  $this->subscribeCustomer($email, $trigger, $inxmailList);
287
  }
288
 
291
 
292
  $batchChannel = $recipientContext->createBatchChannel();
293
 
294
+ if ($trigger) {
295
  $subscriptionManager->processUnsubscription("Magento", null, $inxmailList, $email);
296
  }
297
  else {
308
  /**
309
  * Remove email address from Inxmail list
310
  *
311
+ * @param string $email Email address
312
  * @param object $inxmailList Inxmail list
313
  *
314
  * @return boolean
315
  */
316
  public function removeCustomer($email, $inxmailList)
317
  {
318
+ if (!$session = $this->openInxmailSession()) {
319
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
320
 
321
  return false;
327
  $batchChannel = $recipientContext->createBatchChannel();
328
 
329
  $recipientRowSet = $recipientContext->select($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
330
+ if ($recipientRowSet->next()) {
331
  $recipientRowSet->updateDatetime($recipientMetaData->getSubscriptionAttribute($inxmailList), null);
332
  $recipientRowSet->commitRowUpdate();
333
  }
334
 
335
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, "email LIKE \"" . $email . "\"", null, Inx_Api_Order::ASC);
336
+ if ($recipientRowSetUns->next()) {
337
  $recipientRowSetUns->resubscribe(null);
338
  $recipientRowSetUns->commitRowUpdate();
339
  $recipientRowSetUns->updateDatetime($recipientMetaData->getSubscriptionAttribute($inxmailList), null);
372
  */
373
  public function truncateInxmailList()
374
  {
375
+ if (!$session = $this->openInxmailSession()) {
376
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
377
  throw new Exception('Inxmail session does not exist');
378
  }
379
 
380
+ if (!$listid = (int)$this->getSynchronizeListId()) {
381
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
382
  throw new Exception('No list defined in configuration');
383
  }
392
  $batchChannel = $recipientContext->createBatchChannel();
393
 
394
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
395
+ while ($recipientRowSetUns->next()) {
396
  $recipientRowSetUns->resubscribe(null);
397
  $recipientRowSetUns->commitRowUpdate();
398
  }
399
 
400
  $recipientRowSet = $recipientContext->select($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
401
+ while ($recipientRowSet->next()) {
402
  $batchChannel->selectRecipient($recipientRowSet->getString($emailAttribute));
403
  $batchChannel->write($subscriptionAttribute, null);
404
  }
421
  */
422
  public function truncateSpecificInxmailList($inxmailList)
423
  {
424
+ if (!$session = $this->openInxmailSession()) {
425
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
426
  throw new Exception('Inxmail session does not exist');
427
  }
434
  $batchChannel = $recipientContext->createBatchChannel();
435
 
436
  $recipientRowSetUns = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
437
+ while ($recipientRowSetUns->next()) {
438
  $recipientRowSetUns->resubscribe(null);
439
  $recipientRowSetUns->commitRowUpdate();
440
  }
441
 
442
  $recipientRowSet = $recipientContext->select($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
443
+ while ($recipientRowSet->next()) {
444
  $batchChannel->selectRecipient($recipientRowSet->getString($emailAttribute));
445
  $batchChannel->write($subscriptionAttribute, null);
446
  }
459
  */
460
  public function synchronizeSubscribers()
461
  {
462
+ if (!$this->truncateInxmailList()) {
463
  Mage::helper('dndinxmail_subscriber/log')->logData('## Error truncating Inxmail list ', __FUNCTION__);
464
  throw new Exception('Error truncating Inxmail list');
465
  }
466
 
467
+ if (!$session = $this->openInxmailSession()) {
468
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
469
  throw new Exception('Inxmail session does not exist');
470
  }
471
 
472
+ if (!$listid = (int)$this->getSynchronizeListId()) {
473
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
474
  throw new Exception('No list defined in configuration');
475
  }
478
  $inxmailList = $listContextManager->get($listid);
479
  $subscribers = Mage::getResourceModel('newsletter/subscriber_collection');
480
 
481
+ foreach ($subscribers as $subscriber) {
482
  $email = $subscriber->getSubscriberEmail();
483
  $status = $subscriber->getStatus();
484
  $this->switchActionToSubscriberStatus($status, $email, false, $inxmailList);
496
  */
497
  public function getUnsubscribedCustomers($storeId)
498
  {
499
+ if (!$session = $this->openInxmailSession()) {
500
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
501
 
502
  return array();
503
  }
504
 
505
+ if (!$listid = (int)$this->getSynchronizeListId($storeId)) {
506
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## No list defined in configuration', __FUNCTION__);
507
 
508
  return array();
520
 
521
  $recipientRowSet = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
522
 
523
+ while ($recipientRowSet->next()) {
524
  $unsubscribed[] = $recipientRowSet->getString($emailAttribute);
525
  }
526
 
527
  $batchChannel->executeBatch();
528
  $recipientContext->close();
529
  }
530
+ catch (Exception $e) {
531
 
532
  }
533
 
544
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
545
 
546
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
547
+ if (count($groupsConfig) <= 0) return array();
548
 
549
+ if (!$session = $this->openInxmailSession()) {
550
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
551
 
552
  return false;
561
  $batchChannel = $recipientContext->createBatchChannel();
562
  $unsubscribed = array();
563
 
564
+ foreach ($groupsConfig as $groupId) {
565
 
566
  $listName = $groupHelper->formatInxmailListName($groupId);
567
 
568
+ if ($inxmailList = $contextListManager->findByName($listName)) {
569
  $recipientRowSet = $recipientContext->selectUnsubscriber($inxmailList, null, null, $emailAttribute, Inx_Api_Order::ASC);
570
+ while ($recipientRowSet->next()) {
571
  $unsubscribed[] = $recipientRowSet->getString($emailAttribute);
572
  }
573
  }
578
  $recipientContext->close();
579
 
580
  }
581
+ catch (Exception $e) {
582
  return false;
583
  }
584
 
598
  */
599
  public function unsubscribeCustomersFromInxmail($unsubscribed = array())
600
  {
601
+ if (count($unsubscribed) <= 0) return false;
602
 
603
+ foreach ($unsubscribed as $email) {
604
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
605
+ if (!$subscriber instanceof Varien_Object || !$subscriber->getId()) continue;
606
 
607
+ if ($subscriber->isSubscribed()) {
608
  $subscriber->unsubscribe();
609
  }
610
  }
619
  */
620
  public function getInxmailColumns()
621
  {
622
+ if (!$session = $this->openInxmailSession()) {
623
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
624
 
625
  return array(
642
  'name' => Mage::helper('dndinxmail_subscriber')->__('Disabled'),
643
  'type' => ''
644
  );
645
+ while ($attrIterator->hasNext()) {
646
  $attr = $attrIterator->current();
647
+ if ($attr->getName() != '' && $attr->getName() != null && $attr->getType() == Inx_Api_Recipient_Attribute::USER_ATTRIBUTE_TYPE) {
648
  $columns[] = array(
649
  'id' => htmlspecialchars($attr->getName()),
650
  'name' => $attr->getName(),
668
  */
669
  public function getInxmailLists()
670
  {
671
+ if (!$session = $this->openInxmailSession()) {
672
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
673
 
674
  return array(
688
  'id' => '',
689
  'name' => Mage::helper('dndinxmail_subscriber')->__('No list selected')
690
  );
691
+ for ($i = 0; $i < $inxmailLists->size(); $i++) {
692
 
693
  $list = $inxmailLists->get($i);
694
  $listId = $list->getId();
697
  $specificSegment = DndInxmail_Subscriber_Helper_Group::DNDINXMAIL_INXMAIL_LIST_CUTOMER_SEGMENT_PREFIX;
698
  $specific = (preg_match("/($specificGroup|$specificSegment)/", $listName)) ? true : false;
699
 
700
+ if ($listName != Inx_Api_List_SystemListContext::NAME && !$specific) {
701
  $lists[] = array(
702
  'id' => $listId,
703
  'name' => $listName
716
  * Get data for dynamic attributes
717
  *
718
  * @param string $attribute Attribute code
719
+ * @param string $email Email address
720
  *
721
  * @return mixed Value of attribute or false
722
  */
727
  $entityType = Mage::getModel('eav/entity_type')->loadByCode('order');
728
  $entityTable = $collection->getTable($entityType->getEntityTable());
729
 
730
+ switch ($attribute) {
731
 
732
  case 'first_order':
733
  $collection->getSelect()->joinLeft($entityTable, '`e`.entity_id = `' . $entityTable . '`.customer_id', array($attribute => 'MIN(' . $entityTable . '.created_at)'));
746
  break;
747
 
748
  case 'last_connection':
749
+ if ($customer = $this->getCustomerByEmail($email)) {
750
  $logCustomer = Mage::getModel('log/customer')->loadByCustomer($customer);
751
 
752
  return $logCustomer->getLastVisitAt();
775
  {
776
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
777
 
778
+ foreach ($customerGroups as $status => $groups) {
779
 
780
+ switch ($status) {
781
 
782
  case self::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_CREATED:
783
+ foreach ($groups as $group) {
784
  $listName = $groupHelper->formatInxmailListName($group);
785
  $description = $groupHelper->getGroupName($group);
786
  $description = ($description != false) ? $description : null;
789
  break;
790
 
791
  case self::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_DELETED:
792
+ foreach ($groups as $group) {
793
  $listName = $groupHelper->formatInxmailListName($group);
794
  $this->deleteInxmailList($listName);
795
  }
805
  /**
806
  * Create an Inxmail list
807
  *
808
+ * @param string $listName List name
809
  * @param string $description List description
810
  *
811
  * @return boolean
812
  */
813
  public function createInxmailList($listName, $description = null)
814
  {
815
+ if (!$session = $this->openInxmailSession()) {
816
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
817
 
818
  return false;
820
 
821
  $contextListManager = $this->getListContextManager();
822
 
823
+ if (!$contextListManager->findByName($listName)) {
824
  $list = $contextListManager->createStandardList();
825
  $list->updateName($listName);
826
+ if ($description) $list->updateDescription($description);
827
  $list->commitUpdate();
828
  }
829
 
841
  */
842
  public function deleteInxmailList($listName)
843
  {
844
+ if (!$session = $this->openInxmailSession()) {
845
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
846
 
847
  return false;
849
 
850
  $contextListManager = $this->getListContextManager();
851
 
852
+ if ($list = $contextListManager->findByName($listName)) {
853
  try {
854
  $contextListManager->remove($list->getId());
855
 
856
  return true;
857
  }
858
+ catch (Exception $e) {
859
  return false;
860
  }
861
  }
875
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
876
 
877
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
878
+ if (count($groupsConfig) <= 0) return false;
879
 
880
+ if (!$session = $this->openInxmailSession()) {
881
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData('## Inxmail session does not exist', __FUNCTION__);
882
 
883
  return false;
885
 
886
  $contextListManager = $this->getListContextManager();
887
 
888
+ foreach ($groupsConfig as $groupId) {
889
 
890
  $listName = $groupHelper->formatInxmailListName($groupId);
891
  $emails = $groupHelper->getCustomersFromGroup($groupId);
892
 
893
+ if (!$list = $contextListManager->findByName($listName)) {
894
  $list = $contextListManager->createStandardList();
895
  $list->updateName($listName);
896
  $description = $groupHelper->getGroupName($groupId);
901
  $this->truncateSpecificInxmailList($list);
902
  }
903
 
904
+ if (!$emails) continue;
905
 
906
  $inxmailList = $contextListManager->get($list->getId());
907
+ foreach ($emails as $email) {
908
 
909
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
910
+ if (!$subscriber instanceof Varien_Object || !$subscriber->getSubscriberId()) {
911
  continue;
912
  }
913
+ if (!$subscriber->isSubscribed()) continue;
914
 
915
  $this->subscribeCustomer($email, false, $inxmailList);
916
  }
925
  /**
926
  * Initiate an action based on the subscriber status
927
  *
928
+ * @param string $status Subscriber status
929
+ * @param string $email Email address
930
+ * @param string $trigger Trigger message in Inxmail
931
  * @param object $inxmailList Inxmail list
932
  *
933
  * @return boolean true
934
  */
935
  public function switchActionToSubscriberStatus($status, $email, $trigger = true, $inxmailList)
936
  {
937
+ switch ($status) {
938
 
939
  case Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED:
940
  $this->subscribeCustomer($email, $trigger, $inxmailList);
app/code/community/DndInxmail/Subscriber/Helper/Synchronize/Groups.php CHANGED
@@ -28,47 +28,57 @@ class DndInxmail_Subscriber_Helper_Synchronize_Groups extends DndInxmail_Subscri
28
  $customersPerPass = $this->getCustomersPerPass();
29
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
30
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
31
- if(count($groupsConfig) <= 0) return array();
 
 
32
  $group = 0;
33
 
34
  $isSession = (!$session = Mage::helper('dndinxmail_subscriber/synchronize')->openInxmailSession()) ? false : true;
35
 
36
- foreach($groupsConfig as $groupId) {
37
 
38
  $listName = $groupHelper->formatInxmailListName($groupId);
39
  $emails = $groupHelper->getCustomersFromGroup($groupId);
40
 
41
- if($isSession) {
42
  try {
43
- if($list = $session->getListContextManager()->findByName($listName)) {
44
  Mage::helper('dndinxmail_subscriber/synchronize')->truncateSpecificInxmailList($list);
45
  }
46
  }
47
- catch(Exception $e) {
48
 
49
  }
50
  }
51
 
52
- if(!$emails) continue;
 
 
53
 
54
  $currentPass = 0;
55
  $i = 0;
56
- foreach($emails as $email) {
57
 
58
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
59
- if(!$subscriber instanceof Varien_Object || !$subscriber->getSubscriberId()) {
 
 
 
60
  continue;
61
  }
62
- if(!$subscriber->isSubscribed()) continue;
63
 
64
  $pass[$group][$currentPass][] = $email;
65
 
66
- if($i % $customersPerPass == $customersPerPass - 1) $currentPass++;
 
 
67
 
68
  $i++;
69
  }
70
 
71
- if($i == 0) continue;
 
 
72
 
73
  $pass[$group]['total'] = count($pass[$group]);
74
  $pass[$group]['name'] = $listName;
28
  $customersPerPass = $this->getCustomersPerPass();
29
  $groupHelper = Mage::helper('dndinxmail_subscriber/group');
30
  $groupsConfig = $groupHelper->getCustomerGroupsConfig();
31
+ if (count($groupsConfig) <= 0) {
32
+ return array();
33
+ }
34
  $group = 0;
35
 
36
  $isSession = (!$session = Mage::helper('dndinxmail_subscriber/synchronize')->openInxmailSession()) ? false : true;
37
 
38
+ foreach ($groupsConfig as $groupId) {
39
 
40
  $listName = $groupHelper->formatInxmailListName($groupId);
41
  $emails = $groupHelper->getCustomersFromGroup($groupId);
42
 
43
+ if ($isSession) {
44
  try {
45
+ if ($list = $session->getListContextManager()->findByName($listName)) {
46
  Mage::helper('dndinxmail_subscriber/synchronize')->truncateSpecificInxmailList($list);
47
  }
48
  }
49
+ catch (Exception $e) {
50
 
51
  }
52
  }
53
 
54
+ if (!$emails) {
55
+ continue;
56
+ }
57
 
58
  $currentPass = 0;
59
  $i = 0;
60
+ foreach ($emails as $email) {
61
 
62
  $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
63
+ if (!$subscriber instanceof Varien_Object || !$subscriber->getSubscriberId()) {
64
+ continue;
65
+ }
66
+ if (!$subscriber->isSubscribed()) {
67
  continue;
68
  }
 
69
 
70
  $pass[$group][$currentPass][] = $email;
71
 
72
+ if ($i % $customersPerPass == $customersPerPass - 1) {
73
+ $currentPass++;
74
+ }
75
 
76
  $i++;
77
  }
78
 
79
+ if ($i == 0) {
80
+ continue;
81
+ }
82
 
83
  $pass[$group]['total'] = count($pass[$group]);
84
  $pass[$group]['name'] = $listName;
app/code/community/DndInxmail/Subscriber/Helper/Synchronize/Subscribers.php CHANGED
@@ -35,17 +35,23 @@ class DndInxmail_Subscriber_Helper_Synchronize_Subscribers extends DndInxmail_Su
35
  $query = "SELECT `$subscriberTable`.`subscriber_status` as `status`, `$subscriberTable`.`subscriber_email` as `email` FROM `$subscriberTable` WHERE `$subscriberTable`.`store_id` = $storeId";
36
 
37
  try {
38
- if(!$result = $read->query($query)) return array();
39
- if(!$subscribers = $result->fetchAll()) return array();
 
 
 
 
40
 
41
- foreach($subscribers as $subscriber) {
42
 
43
  $pass[$currentPass][] = array(
44
  'email' => $subscriber['email'],
45
  'status' => $subscriber['status']
46
  );
47
 
48
- if($i % $subscribersPerPass == $subscribersPerPass - 1) $currentPass++;
 
 
49
 
50
  $i++;
51
  }
@@ -55,7 +61,7 @@ class DndInxmail_Subscriber_Helper_Synchronize_Subscribers extends DndInxmail_Su
55
  return $pass;
56
 
57
  }
58
- catch(Exception $e) {
59
  return array();
60
  }
61
  }
35
  $query = "SELECT `$subscriberTable`.`subscriber_status` as `status`, `$subscriberTable`.`subscriber_email` as `email` FROM `$subscriberTable` WHERE `$subscriberTable`.`store_id` = $storeId";
36
 
37
  try {
38
+ if (!$result = $read->query($query)) {
39
+ return array();
40
+ }
41
+ if (!$subscribers = $result->fetchAll()) {
42
+ return array();
43
+ }
44
 
45
+ foreach ($subscribers as $subscriber) {
46
 
47
  $pass[$currentPass][] = array(
48
  'email' => $subscriber['email'],
49
  'status' => $subscriber['status']
50
  );
51
 
52
+ if ($i % $subscribersPerPass == $subscribersPerPass - 1) {
53
+ $currentPass++;
54
+ }
55
 
56
  $i++;
57
  }
61
  return $pass;
62
 
63
  }
64
+ catch (Exception $e) {
65
  return array();
66
  }
67
  }
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Cron.php CHANGED
@@ -39,20 +39,20 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Cron extends M
39
  */
40
  protected function _afterSave()
41
  {
42
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
43
 
44
  $frequencyHourly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_HOURLY;
45
  $frequencyDaily = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_DAILY;
46
  $frequencyWeekly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_WEEKLY;
47
  $frequencyMonthly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_MONTHLY;
48
 
49
- foreach($this->_crons as $cronConfig) {
50
 
51
  $enabled = $this->getData($cronConfig['enabled']);
52
  $time = $this->getData($cronConfig['time']);
53
  $frequency = $this->getData($cronConfig['frequency']);
54
 
55
- if($enabled) {
56
  $cronDayOfWeek = date('N');
57
 
58
  $cronExprArray = array(
@@ -74,7 +74,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Cron extends M
74
 
75
  Mage::getModel('core/config_data')->load($cronConfig['model_path'], 'path')->setValue((string)Mage::getConfig()->getNode($cronConfig['model_path']))->setPath($cronConfig['model_path'])->save();
76
  }
77
- catch(Exception $e) {
78
  Mage::getSingleton('adminhtml/session')->addError('Unable to save the cron expression : ' . $e->getMessage());
79
  }
80
 
39
  */
40
  protected function _afterSave()
41
  {
42
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
43
 
44
  $frequencyHourly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_HOURLY;
45
  $frequencyDaily = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_DAILY;
46
  $frequencyWeekly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_WEEKLY;
47
  $frequencyMonthly = DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency::CRON_MONTHLY;
48
 
49
+ foreach ($this->_crons as $cronConfig) {
50
 
51
  $enabled = $this->getData($cronConfig['enabled']);
52
  $time = $this->getData($cronConfig['time']);
53
  $frequency = $this->getData($cronConfig['frequency']);
54
 
55
+ if ($enabled) {
56
  $cronDayOfWeek = date('N');
57
 
58
  $cronExprArray = array(
74
 
75
  Mage::getModel('core/config_data')->load($cronConfig['model_path'], 'path')->setValue((string)Mage::getConfig()->getNode($cronConfig['model_path']))->setPath($cronConfig['model_path'])->save();
76
  }
77
+ catch (Exception $e) {
78
  Mage::getSingleton('adminhtml/session')->addError('Unable to save the cron expression : ' . $e->getMessage());
79
  }
80
 
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Customer/Group.php CHANGED
@@ -19,7 +19,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Customer_Group
19
  */
20
  protected function _afterSave()
21
  {
22
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
23
 
24
  $value = $this->getValue();
25
  $session = Mage::getSingleton('adminhtml/session');
@@ -30,7 +30,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Customer_Group
30
  $newGroups = $groupHelper->formatCustomerGroups($value);
31
  $oldGroups = $groupHelper->getCustomerGroupsConfig();
32
 
33
- if(in_array(DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BIRTHDAY, $newGroups) && !$groupHelper->isDobEnabled()) {
34
  $message = Mage::helper('dndinxmail_subscriber')->__('You have selected the Birthday group even though the date of birth is not enabled on your shop');
35
  $session->addNotice($message);
36
  }
@@ -43,12 +43,12 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Customer_Group
43
  DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_CREATED => $created,
44
  );
45
 
46
- if(count($created) == 0 && count($deleted) == 0) return false;
47
 
48
  try {
49
  $synchronize->synchronizeCustomerGroups($groups);
50
  }
51
- catch(Exception $e) {
52
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
53
 
54
  return false;
19
  */
20
  protected function _afterSave()
21
  {
22
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
23
 
24
  $value = $this->getValue();
25
  $session = Mage::getSingleton('adminhtml/session');
30
  $newGroups = $groupHelper->formatCustomerGroups($value);
31
  $oldGroups = $groupHelper->getCustomerGroupsConfig();
32
 
33
+ if (in_array(DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific::DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BIRTHDAY, $newGroups) && !$groupHelper->isDobEnabled()) {
34
  $message = Mage::helper('dndinxmail_subscriber')->__('You have selected the Birthday group even though the date of birth is not enabled on your shop');
35
  $session->addNotice($message);
36
  }
43
  DndInxmail_Subscriber_Helper_Synchronize::DNDINXMAIL_CUSTOMER_MAPPING_STATUS_CREATED => $created,
44
  );
45
 
46
+ if (count($created) == 0 && count($deleted) == 0) return false;
47
 
48
  try {
49
  $synchronize->synchronizeCustomerGroups($groups);
50
  }
51
+ catch (Exception $e) {
52
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
53
 
54
  return false;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Backend/Date.php CHANGED
@@ -19,11 +19,11 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Backend_Date extends M
19
  */
20
  protected function _beforeSave()
21
  {
22
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
23
 
24
  $value = $this->getValue();
25
 
26
- if($value == '' || $value == null) {
27
  $format = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
28
  $date = Mage::app()->getLocale()->date(time(), Varien_Date::DATETIME_INTERNAL_FORMAT)->toString($format);
29
  $this->setValue($date);
19
  */
20
  protected function _beforeSave()
21
  {
22
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
23
 
24
  $value = $this->getValue();
25
 
26
+ if ($value == '' || $value == null) {
27
  $format = Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);
28
  $date = Mage::app()->getLocale()->date(time(), Varien_Date::DATETIME_INTERNAL_FORMAT)->toString($format);
29
  $this->setValue($date);
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Attributes.php CHANGED
@@ -24,12 +24,12 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Attributes
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
 
29
  $attribute = Mage::getResourceModel('eav/entity_attribute_collection');
30
 
31
- foreach($attribute as $option) {
32
- if($option->getIsUserDefined() && $option->getFrontendLabel()) {
33
  $this->_options[] = array(
34
  'value' => $option->getAttributeCode(),
35
  'label' => $option->getAttributeCode()
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
 
29
  $attribute = Mage::getResourceModel('eav/entity_attribute_collection');
30
 
31
+ foreach ($attribute as $option) {
32
+ if ($option->getIsUserDefined() && $option->getFrontendLabel()) {
33
  $this->_options[] = array(
34
  'value' => $option->getAttributeCode(),
35
  'label' => $option->getAttributeCode()
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Cron/Frequency.php CHANGED
@@ -20,15 +20,15 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency
20
  /**
21
  *
22
  */
23
- const CRON_HOURLY = 'H';
24
  /**
25
  *
26
  */
27
- const CRON_DAILY = 'D';
28
  /**
29
  *
30
  */
31
- const CRON_WEEKLY = 'W';
32
  /**
33
  *
34
  */
@@ -39,7 +39,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Cron_Frequency
39
  */
40
  public function toOptionArray()
41
  {
42
- if(!self::$_options) {
43
  self::$_options = array(
44
  array(
45
  'label' => Mage::helper('cron')->__('Hourly'),
20
  /**
21
  *
22
  */
23
+ const CRON_HOURLY = 'H';
24
  /**
25
  *
26
  */
27
+ const CRON_DAILY = 'D';
28
  /**
29
  *
30
  */
31
+ const CRON_WEEKLY = 'W';
32
  /**
33
  *
34
  */
39
  */
40
  public function toOptionArray()
41
  {
42
+ if (!self::$_options) {
43
  self::$_options = array(
44
  array(
45
  'label' => Mage::helper('cron')->__('Hourly'),
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Group.php CHANGED
@@ -27,12 +27,12 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group
27
 
28
  $groups = Mage::getResourceModel('customer/group_collection')->load();
29
 
30
- if(!$this->_options) {
31
  $this->_options[] = array(
32
  'value' => '',
33
  'label' => ''
34
  );
35
- foreach($groups as $group) {
36
  $this->_options[] = array(
37
  'value' => $group->getId(),
38
  'label' => $group->getCode() . ' (' . $group->getId() . ')'
27
 
28
  $groups = Mage::getResourceModel('customer/group_collection')->load();
29
 
30
+ if (!$this->_options) {
31
  $this->_options[] = array(
32
  'value' => '',
33
  'label' => ''
34
  );
35
+ foreach ($groups as $group) {
36
  $this->_options[] = array(
37
  'value' => $group->getId(),
38
  'label' => $group->getCode() . ' (' . $group->getId() . ')'
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Group/Specific.php CHANGED
@@ -15,15 +15,15 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific
15
  /**
16
  *
17
  */
18
- const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_LAST = 'Last customers';
19
  /**
20
  *
21
  */
22
- const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BEST = 'Best customers';
23
  /**
24
  *
25
  */
26
- const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BIRTHDAY = 'Birthday';
27
  /**
28
  *
29
  */
@@ -31,7 +31,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Group_Specific
31
  /**
32
  *
33
  */
34
- const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS = 'Orders';
35
 
36
  /**
37
  * @var
15
  /**
16
  *
17
  */
18
+ const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_LAST = 'Last customers';
19
  /**
20
  *
21
  */
22
+ const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BEST = 'Best customers';
23
  /**
24
  *
25
  */
26
+ const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_BIRTHDAY = 'Birthday';
27
  /**
28
  *
29
  */
31
  /**
32
  *
33
  */
34
+ const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS = 'Orders';
35
 
36
  /**
37
  * @var
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns.php CHANGED
@@ -24,13 +24,13 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
 
29
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(true);
30
  try {
31
  $columns = Mage::helper('dndinxmail_subscriber/synchronize')->getInxmailColumns();
32
  }
33
- catch(Exception $e) {
34
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
35
 
36
  return array(
@@ -42,7 +42,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
42
  }
43
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(false);
44
 
45
- foreach($columns as $column):
46
  $this->_options[] = array(
47
  'value' => $column['id'],
48
  'label' => $column['name'],
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
 
29
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(true);
30
  try {
31
  $columns = Mage::helper('dndinxmail_subscriber/synchronize')->getInxmailColumns();
32
  }
33
+ catch (Exception $e) {
34
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
35
 
36
  return array(
42
  }
43
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(false);
44
 
45
+ foreach ($columns as $column):
46
  $this->_options[] = array(
47
  'value' => $column['id'],
48
  'label' => $column['name'],
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Dateonly.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
  $options = parent::toOptionArray();
29
- foreach($options as $i => $option) {
30
- if($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_DATE && $option['value'] != '') {
31
- if(isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
- if(count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
  $options = parent::toOptionArray();
29
+ foreach ($options as $i => $option) {
30
+ if ($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_DATE && $option['value'] != '') {
31
+ if (isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
+ if (count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Float.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
  $options = parent::toOptionArray();
29
- foreach($options as $i => $option) {
30
- if($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_DOUBLE && $option['value'] != '') {
31
- if(isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
- if(count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
  $options = parent::toOptionArray();
29
+ foreach ($options as $i => $option) {
30
+ if ($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_DOUBLE && $option['value'] != '') {
31
+ if (isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
+ if (count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Int.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
  $options = parent::toOptionArray();
29
- foreach($options as $i => $option) {
30
- if($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_INTEGER && $option['value'] != '') {
31
- if(isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
- if(count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
  $options = parent::toOptionArray();
29
+ foreach ($options as $i => $option) {
30
+ if ($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_INTEGER && $option['value'] != '') {
31
+ if (isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
+ if (count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Text.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
  $options = parent::toOptionArray();
29
- foreach($options as $i => $option) {
30
- if($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_STRING && $option['value'] != '') {
31
- if(isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
- if(count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
  $options = parent::toOptionArray();
29
+ foreach ($options as $i => $option) {
30
+ if ($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_STRING && $option['value'] != '') {
31
+ if (isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
+ if (count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Columns/Type/Yesno.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Columns
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
  $options = parent::toOptionArray();
29
- foreach($options as $i => $option) {
30
- if($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_BOOLEAN && $option['value'] != '') {
31
- if(isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
- if(count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
  $options = parent::toOptionArray();
29
+ foreach ($options as $i => $option) {
30
+ if ($option['type'] != Inx_Api_Recipient_Attribute::DATA_TYPE_BOOLEAN && $option['value'] != '') {
31
+ if (isset($options[$i])) unset($options[$i]);
32
  }
33
  }
34
+ if (count($options) == 1 && isset($options[0])) {
35
  $options[0]['label'] = Mage::helper('dndinxmail_subscriber')->__('No column available');
36
  }
37
  $this->_options = $options;
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Inxmail/Lists.php CHANGED
@@ -24,13 +24,13 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Lists
24
  */
25
  public function toOptionArray()
26
  {
27
- if(!$this->_options) {
28
 
29
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(true);
30
  try {
31
  $lists = Mage::helper('dndinxmail_subscriber/synchronize')->getInxmailLists();
32
  }
33
- catch(Exception $e) {
34
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
35
 
36
  return array(
@@ -42,7 +42,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Inxmail_Lists
42
  }
43
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(false);
44
 
45
- foreach($lists as $list):
46
  $this->_options[] = array(
47
  'value' => $list['id'],
48
  'label' => $list['name']
24
  */
25
  public function toOptionArray()
26
  {
27
+ if (!$this->_options) {
28
 
29
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(true);
30
  try {
31
  $lists = Mage::helper('dndinxmail_subscriber/synchronize')->getInxmailLists();
32
  }
33
+ catch (Exception $e) {
34
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
35
 
36
  return array(
42
  }
43
  Mage::helper('dndinxmail_subscriber/error')->setIsSilentError(false);
44
 
45
+ foreach ($lists as $list):
46
  $this->_options[] = array(
47
  'value' => $list['id'],
48
  'label' => $list['name']
app/code/community/DndInxmail/Subscriber/Model/Adminhtml/System/Config/Source/Orders.php CHANGED
@@ -19,7 +19,7 @@ class DndInxmail_Subscriber_Model_Adminhtml_System_Config_Source_Orders
19
  /**
20
  *
21
  */
22
- const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS_RANGE_DATE = 'range_date';
23
 
24
  /**
25
  * Get specific group to synchronize
19
  /**
20
  *
21
  */
22
+ const DNDINXMAIL_MAPPING_CUSTOMER_GROUP_SPECIFIC_ORDERS_RANGE_DATE = 'range_date';
23
 
24
  /**
25
  * Get specific group to synchronize
app/code/community/DndInxmail/Subscriber/Model/Observer.php CHANGED
@@ -22,7 +22,9 @@ class DndInxmail_Subscriber_Model_Observer
22
  public function observeSubscriber($observer)
23
  {
24
  try {
25
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
 
 
26
 
27
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
28
 
@@ -32,9 +34,13 @@ class DndInxmail_Subscriber_Model_Observer
32
  $status = $subscriber->getStatus();
33
  $storeId = $subscriber->getStoreId();
34
 
35
- if(!$session = $synchronize->openInxmailSession()) return false;
 
 
36
 
37
- if(!$listid = (int)$synchronize->getSynchronizeListId($storeId)) return false;
 
 
38
 
39
  $listContextManager = $session->getListContextManager();
40
  $inxmailList = $listContextManager->get($listid);
@@ -45,7 +51,7 @@ class DndInxmail_Subscriber_Model_Observer
45
 
46
  return true;
47
  }
48
- catch(Exception $e) {
49
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
50
 
51
  return false;
@@ -62,7 +68,9 @@ class DndInxmail_Subscriber_Model_Observer
62
  public function deleteSubscriber($observer)
63
  {
64
  try {
65
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
 
 
66
 
67
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
68
 
@@ -71,9 +79,13 @@ class DndInxmail_Subscriber_Model_Observer
71
  $email = $subscriber->getSubscriberEmail();
72
  $storeId = $subscriber->getStoreId();
73
 
74
- if(!$session = $synchronize->openInxmailSession()) return false;
 
 
75
 
76
- if(!$listid = (int)$synchronize->getSynchronizeListId($storeId)) return false;
 
 
77
 
78
  $listContextManager = $session->getListContextManager();
79
  $inxmailList = $listContextManager->get($listid);
@@ -84,7 +96,7 @@ class DndInxmail_Subscriber_Model_Observer
84
 
85
  return true;
86
  }
87
- catch(Exception $e) {
88
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
89
 
90
  return false;
@@ -99,15 +111,17 @@ class DndInxmail_Subscriber_Model_Observer
99
  public function synchronizeUnsubscribed()
100
  {
101
  try {
102
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
 
 
103
 
104
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
105
  $unsubscribed = array();
106
 
107
- foreach(Mage::app()->getWebsites() as $website) {
108
- foreach($website->getGroups() as $group) {
109
  $stores = $group->getStores();
110
- foreach($stores as $store) {
111
  $unsubscribedStore = $synchronize->getUnsubscribedCustomers($store->getStoreId());
112
  $unsubscribed = array_merge($unsubscribedStore, $unsubscribed);
113
  }
@@ -120,7 +134,7 @@ class DndInxmail_Subscriber_Model_Observer
120
 
121
  return true;
122
  }
123
- catch(Exception $e) {
124
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
125
 
126
  return false;
@@ -135,13 +149,15 @@ class DndInxmail_Subscriber_Model_Observer
135
  public function synchronizeCustomerGroup()
136
  {
137
  try {
138
- if(!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) return false;
 
 
139
 
140
  Mage::helper('dndinxmail_subscriber/synchronize')->synchronizeCustomerGroupToInxmail();
141
 
142
  return true;
143
  }
144
- catch(Exception $e) {
145
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
146
 
147
  return false;
22
  public function observeSubscriber($observer)
23
  {
24
  try {
25
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) {
26
+ return false;
27
+ }
28
 
29
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
30
 
34
  $status = $subscriber->getStatus();
35
  $storeId = $subscriber->getStoreId();
36
 
37
+ if (!$session = $synchronize->openInxmailSession()) {
38
+ return false;
39
+ }
40
 
41
+ if (!$listid = (int)$synchronize->getSynchronizeListId($storeId)) {
42
+ return false;
43
+ }
44
 
45
  $listContextManager = $session->getListContextManager();
46
  $inxmailList = $listContextManager->get($listid);
51
 
52
  return true;
53
  }
54
+ catch (Exception $e) {
55
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
56
 
57
  return false;
68
  public function deleteSubscriber($observer)
69
  {
70
  try {
71
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) {
72
+ return false;
73
+ }
74
 
75
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
76
 
79
  $email = $subscriber->getSubscriberEmail();
80
  $storeId = $subscriber->getStoreId();
81
 
82
+ if (!$session = $synchronize->openInxmailSession()) {
83
+ return false;
84
+ }
85
 
86
+ if (!$listid = (int)$synchronize->getSynchronizeListId($storeId)) {
87
+ return false;
88
+ }
89
 
90
  $listContextManager = $session->getListContextManager();
91
  $inxmailList = $listContextManager->get($listid);
96
 
97
  return true;
98
  }
99
+ catch (Exception $e) {
100
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
101
 
102
  return false;
111
  public function synchronizeUnsubscribed()
112
  {
113
  try {
114
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) {
115
+ return false;
116
+ }
117
 
118
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
119
  $unsubscribed = array();
120
 
121
+ foreach (Mage::app()->getWebsites() as $website) {
122
+ foreach ($website->getGroups() as $group) {
123
  $stores = $group->getStores();
124
+ foreach ($stores as $store) {
125
  $unsubscribedStore = $synchronize->getUnsubscribedCustomers($store->getStoreId());
126
  $unsubscribed = array_merge($unsubscribedStore, $unsubscribed);
127
  }
134
 
135
  return true;
136
  }
137
+ catch (Exception $e) {
138
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
139
 
140
  return false;
149
  public function synchronizeCustomerGroup()
150
  {
151
  try {
152
+ if (!Mage::helper('dndinxmail_subscriber')->isDndInxmailEnabled()) {
153
+ return false;
154
+ }
155
 
156
  Mage::helper('dndinxmail_subscriber/synchronize')->synchronizeCustomerGroupToInxmail();
157
 
158
  return true;
159
  }
160
+ catch (Exception $e) {
161
  Mage::helper('dndinxmail_subscriber/log')->logExceptionData($e->getMessage(), __FUNCTION__);
162
 
163
  return false;
app/code/community/DndInxmail/Subscriber/Model/Xml.php CHANGED
@@ -44,8 +44,8 @@ class DndInxmail_Subscriber_Model_Xml extends Mage_Core_Model_Abstract
44
 
45
  $xmlAttr = "";
46
 
47
- if(count($attributes) != 0) {
48
- foreach($attributes as $attribute) {
49
  $xmlAttr .= "<" . ucfirst($attribute) . ">" . htmlspecialchars($product->getAttributeText($attribute)) . "</" . ucfirst($attribute) . ">";
50
  }
51
  }
@@ -66,7 +66,7 @@ class DndInxmail_Subscriber_Model_Xml extends Mage_Core_Model_Abstract
66
  {
67
  $xml = '<Offers>';
68
 
69
- foreach($products as $product) {
70
  $product = Mage::getModel("catalog/product")->load($product->getId());
71
  $xml .= $this->getProductXml($product, $type);
72
  }
44
 
45
  $xmlAttr = "";
46
 
47
+ if (count($attributes) != 0) {
48
+ foreach ($attributes as $attribute) {
49
  $xmlAttr .= "<" . ucfirst($attribute) . ">" . htmlspecialchars($product->getAttributeText($attribute)) . "</" . ucfirst($attribute) . ">";
50
  }
51
  }
66
  {
67
  $xml = '<Offers>';
68
 
69
+ foreach ($products as $product) {
70
  $product = Mage::getModel("catalog/product")->load($product->getId());
71
  $xml .= $this->getProductXml($product, $type);
72
  }
app/code/community/DndInxmail/Subscriber/controllers/Adminhtml/InxmailcolumnsController.php CHANGED
@@ -47,7 +47,7 @@ class DndInxmail_Subscriber_Adminhtml_InxmailcolumnsController extends Mage_Admi
47
  {
48
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
49
 
50
- if(!$session = $synchronize->openInxmailSession()) {
51
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('dndinxmail_subscriber')->__('Inxmail session does not exist'));
52
  $this->_redirect('*/*/new');
53
 
@@ -56,7 +56,7 @@ class DndInxmail_Subscriber_Adminhtml_InxmailcolumnsController extends Mage_Admi
56
 
57
  $post = $this->getRequest()->getPost();
58
 
59
- if(!$post) {
60
  $synchronize->closeInxmailSession();
61
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('dndinxmail_subscriber')->__('No post data'));
62
  $this->_redirect('*/*/new');
@@ -72,7 +72,7 @@ class DndInxmail_Subscriber_Adminhtml_InxmailcolumnsController extends Mage_Admi
72
  $length = ($textLengthPostData != '' && $textLengthPostData != null) ? $textLengthPostData : 80;
73
  $type = ($typePostData != '' && $typePostData != null) ? $typePostData : 'col_text';
74
 
75
- switch($type) {
76
 
77
  case 'col_text':
78
  $inxmailType = Inx_Api_Recipient_Attribute::DATA_TYPE_STRING;
@@ -109,10 +109,9 @@ class DndInxmail_Subscriber_Adminhtml_InxmailcolumnsController extends Mage_Admi
109
  }
110
 
111
  try {
112
-
113
  $result = $session->getAttributeManager()->create($name, $inxmailType, (int)$length);
114
 
115
- if($result <= 0) {
116
  $message = Mage::helper('dndinxmail_subscriber')->__('Column %s already exist in Inxmail', $name);
117
  throw new Exception($message);
118
  }
@@ -123,9 +122,8 @@ class DndInxmail_Subscriber_Adminhtml_InxmailcolumnsController extends Mage_Admi
123
  $this->_redirect('*/*/new');
124
 
125
  return true;
126
-
127
  }
128
- catch(Exception $e) {
129
  $synchronize->closeInxmailSession();
130
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
131
  $this->_redirect('*/*/new');
47
  {
48
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
49
 
50
+ if (!$session = $synchronize->openInxmailSession()) {
51
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('dndinxmail_subscriber')->__('Inxmail session does not exist'));
52
  $this->_redirect('*/*/new');
53
 
56
 
57
  $post = $this->getRequest()->getPost();
58
 
59
+ if (!$post) {
60
  $synchronize->closeInxmailSession();
61
  Mage::getSingleton('adminhtml/session')->addError(Mage::helper('dndinxmail_subscriber')->__('No post data'));
62
  $this->_redirect('*/*/new');
72
  $length = ($textLengthPostData != '' && $textLengthPostData != null) ? $textLengthPostData : 80;
73
  $type = ($typePostData != '' && $typePostData != null) ? $typePostData : 'col_text';
74
 
75
+ switch ($type) {
76
 
77
  case 'col_text':
78
  $inxmailType = Inx_Api_Recipient_Attribute::DATA_TYPE_STRING;
109
  }
110
 
111
  try {
 
112
  $result = $session->getAttributeManager()->create($name, $inxmailType, (int)$length);
113
 
114
+ if ($result <= 0) {
115
  $message = Mage::helper('dndinxmail_subscriber')->__('Column %s already exist in Inxmail', $name);
116
  throw new Exception($message);
117
  }
122
  $this->_redirect('*/*/new');
123
 
124
  return true;
 
125
  }
126
+ catch (Exception $e) {
127
  $synchronize->closeInxmailSession();
128
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
129
  $this->_redirect('*/*/new');
app/code/community/DndInxmail/Subscriber/controllers/Adminhtml/SynchronizeController.php CHANGED
@@ -22,17 +22,17 @@ class DndInxmail_Subscriber_Adminhtml_SynchronizeController extends Mage_Adminht
22
  $hash = Mage::helper('dndinxmail_subscriber')->getHashKey();
23
 
24
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'), 'code');
25
- if(!($store instanceof Varien_Object) || !$store->getStoreId()) {
26
  $message = Mage::helper('dndinxmail_subscriber')->__('No store set');
27
  Mage::getSingleton('adminhtml/session')->addError($message);
28
  $this->_redirect('adminhtml/system_config/edit/', array('section' => 'dndinxmail_subscriber_general'));
29
  }
30
 
31
- if($id = $this->_setDefaultStoreBeforeRedirect()) {
32
  Mage::app()->setCurrentStore($store->getStoreId());
33
  $this->_redirect('dndinxmail_subscriber_front/synchronize/subscribers/', array(
34
- 'hash' => $hash,
35
- 'key' => '',
36
  'store' => $store->getStoreId()
37
  ));
38
  }
@@ -52,7 +52,7 @@ class DndInxmail_Subscriber_Adminhtml_SynchronizeController extends Mage_Adminht
52
  {
53
  $hash = Mage::helper('dndinxmail_subscriber')->getHashKey();
54
 
55
- if($id = $this->_setDefaultStoreBeforeRedirect()) {
56
  Mage::app()->setCurrentStore($id);
57
  $this->_redirect('dndinxmail_subscriber_front/synchronize/groups/', array(
58
  'hash' => $hash,
@@ -72,8 +72,8 @@ class DndInxmail_Subscriber_Adminhtml_SynchronizeController extends Mage_Adminht
72
  private function _setDefaultStoreBeforeRedirect()
73
  {
74
  $websites = Mage::app()->getWebsites(true);
75
- foreach($websites as $website) {
76
- if($website->getIsDefault()) {
77
  return $website->getDefaultGroupId();
78
  }
79
  }
22
  $hash = Mage::helper('dndinxmail_subscriber')->getHashKey();
23
 
24
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'), 'code');
25
+ if (!($store instanceof Varien_Object) || !$store->getStoreId()) {
26
  $message = Mage::helper('dndinxmail_subscriber')->__('No store set');
27
  Mage::getSingleton('adminhtml/session')->addError($message);
28
  $this->_redirect('adminhtml/system_config/edit/', array('section' => 'dndinxmail_subscriber_general'));
29
  }
30
 
31
+ if ($id = $this->_setDefaultStoreBeforeRedirect()) {
32
  Mage::app()->setCurrentStore($store->getStoreId());
33
  $this->_redirect('dndinxmail_subscriber_front/synchronize/subscribers/', array(
34
+ 'hash' => $hash,
35
+ 'key' => '',
36
  'store' => $store->getStoreId()
37
  ));
38
  }
52
  {
53
  $hash = Mage::helper('dndinxmail_subscriber')->getHashKey();
54
 
55
+ if ($id = $this->_setDefaultStoreBeforeRedirect()) {
56
  Mage::app()->setCurrentStore($id);
57
  $this->_redirect('dndinxmail_subscriber_front/synchronize/groups/', array(
58
  'hash' => $hash,
72
  private function _setDefaultStoreBeforeRedirect()
73
  {
74
  $websites = Mage::app()->getWebsites(true);
75
+ foreach ($websites as $website) {
76
+ if ($website->getIsDefault()) {
77
  return $website->getDefaultGroupId();
78
  }
79
  }
app/code/community/DndInxmail/Subscriber/controllers/SourceController.php CHANGED
@@ -22,7 +22,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
22
  $productId = $this->getRequest()->getParam("id");
23
  $productSku = $this->getRequest()->getParam("sku");
24
 
25
- if($productId || $productSku) {
26
  $product = ($productId) ? Mage::getModel("catalog/product")->load($productId) : Mage::getModel("catalog/product")->loadByAttribute('sku', $productSku);
27
  }
28
  else {
@@ -31,7 +31,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
31
  return false;
32
  }
33
 
34
- if(!$product || !$product->getId()) {
35
  echo $this->__('No Product found');
36
 
37
  return false;
@@ -40,7 +40,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
40
  $width = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_oneproduct/img_width");
41
  $height = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_oneproduct/img_height");
42
 
43
- if(!is_numeric($height) || !is_numeric($width)) {
44
  echo $this->__('Image width and height must be integers');
45
 
46
  return false;
@@ -74,19 +74,19 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
74
  );
75
  $nb = ($nbParam) ? $nbParam : Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_$type/nb");
76
 
77
- if(!$type) {
78
  echo $this->__('Type was not found in the URL');
79
 
80
  return false;
81
  }
82
 
83
- if(!in_array($type, $typeAvailable)) {
84
  echo $this->__('Type is not valid');
85
 
86
  return false;
87
  }
88
 
89
- if(!is_numeric($nb)) {
90
  echo $this->__('Number parameter must be an integer');
91
 
92
  return false;
@@ -94,7 +94,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
94
 
95
  $products = Mage::getResourceModel('catalog/product_collection')->addStoreFilter($storeId)->addAttributeToFilter('status', 1)->addAttributeToFilter('visibility', array('in' => Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH));
96
 
97
- switch($type) {
98
 
99
  case 'random':
100
  $products = $products->setPageSize($nb);
@@ -124,7 +124,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
124
 
125
  }
126
 
127
- if(count($products) < $nb) {
128
  echo $this->__('Not enough products');
129
 
130
  return false;
@@ -152,7 +152,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
152
  $customerId = $this->getRequest()->getParam("id");
153
  $nb = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_$type/nb");
154
 
155
- if(!$customerId) {
156
  echo $this->__('Customer ID not found in the URL');
157
 
158
  return false;
@@ -160,7 +160,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
160
 
161
  $customer = Mage::getModel('customer/customer')->load($customerId);
162
 
163
- if(!$customer instanceof Varien_Object || !$customer->getId()) {
164
  echo $this->__('The customer with ID %s does not exist.', $customerId);
165
 
166
  return false;
@@ -168,7 +168,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
168
 
169
  $order = Mage::getResourceModel('sales/order_collection')->addFieldToFilter('customer_id', $customerId)->addAttributeToSort('created_at', 'DESC')->setPageSize($nb);
170
 
171
- if(!$order->getId()) {
172
  echo $this->__('Customer with ID %s does not have order yet', $customerId);
173
 
174
  return false;
@@ -176,17 +176,17 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
176
 
177
  $items = $order->getAllItems();
178
 
179
- if(count($items) <= 0) {
180
  echo $this->__('Order with ID %s does not have item', $order->getId());
181
 
182
  return false;
183
  }
184
 
185
  $products = array();
186
- foreach($items as $item) {
187
  $productId = $item->getProductId();
188
  $product = Mage::getModel('catalog/product')->load($productId);
189
- if(!$product instanceof Varien_Object || !$product->getId()) continue;
190
  $products[] = $product;
191
  }
192
 
@@ -210,7 +210,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
210
  $productSku = $this->getRequest()->getParam("sku");
211
  $type = 'related';
212
 
213
- if(!$productId && !$productSku) {
214
  echo $this->__('Product ID or SKU not found in the URL');
215
 
216
  return false;
@@ -218,7 +218,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
218
 
219
  $product = ($productId) ? Mage::getModel("catalog/product")->load($productId) : Mage::getModel("catalog/product")->loadByAttribute('sku', $productSku);
220
 
221
- if(!$product instanceof Varien_Object || !$product->getId()) {
222
  echo $this->__('The product with ID %s does not exist.', $productId);
223
 
224
  return false;
@@ -226,7 +226,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
226
 
227
  $collection = $product->getRelatedProductCollection()->addAttributeToSelect('required_options')->setPositionOrder()->addStoreFilter();
228
 
229
- if(Mage::helper('catalog')->isModuleEnabled('Mage_Checkout')) {
230
  $collection->addMinimalPrice()->addFinalPrice()->addTaxPercents()->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes())->addUrlRewrite();
231
  }
232
 
@@ -235,7 +235,7 @@ class DndInxmail_Subscriber_SourceController extends Mage_Core_Controller_Front_
235
  $collection->load();
236
 
237
  $products = array();
238
- foreach($collection as $product) {
239
  $product->setDoNotUseCategoryId(true);
240
  $products[] = $product;
241
  }
22
  $productId = $this->getRequest()->getParam("id");
23
  $productSku = $this->getRequest()->getParam("sku");
24
 
25
+ if ($productId || $productSku) {
26
  $product = ($productId) ? Mage::getModel("catalog/product")->load($productId) : Mage::getModel("catalog/product")->loadByAttribute('sku', $productSku);
27
  }
28
  else {
31
  return false;
32
  }
33
 
34
+ if (!$product || !$product->getId()) {
35
  echo $this->__('No Product found');
36
 
37
  return false;
40
  $width = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_oneproduct/img_width");
41
  $height = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_oneproduct/img_height");
42
 
43
+ if (!is_numeric($height) || !is_numeric($width)) {
44
  echo $this->__('Image width and height must be integers');
45
 
46
  return false;
74
  );
75
  $nb = ($nbParam) ? $nbParam : Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_$type/nb");
76
 
77
+ if (!$type) {
78
  echo $this->__('Type was not found in the URL');
79
 
80
  return false;
81
  }
82
 
83
+ if (!in_array($type, $typeAvailable)) {
84
  echo $this->__('Type is not valid');
85
 
86
  return false;
87
  }
88
 
89
+ if (!is_numeric($nb)) {
90
  echo $this->__('Number parameter must be an integer');
91
 
92
  return false;
94
 
95
  $products = Mage::getResourceModel('catalog/product_collection')->addStoreFilter($storeId)->addAttributeToFilter('status', 1)->addAttributeToFilter('visibility', array('in' => Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH));
96
 
97
+ switch ($type) {
98
 
99
  case 'random':
100
  $products = $products->setPageSize($nb);
124
 
125
  }
126
 
127
+ if (count($products) < $nb) {
128
  echo $this->__('Not enough products');
129
 
130
  return false;
152
  $customerId = $this->getRequest()->getParam("id");
153
  $nb = Mage::getStoreConfig("dndinxmail_subscriber_datasource/feed_$type/nb");
154
 
155
+ if (!$customerId) {
156
  echo $this->__('Customer ID not found in the URL');
157
 
158
  return false;
160
 
161
  $customer = Mage::getModel('customer/customer')->load($customerId);
162
 
163
+ if (!$customer instanceof Varien_Object || !$customer->getId()) {
164
  echo $this->__('The customer with ID %s does not exist.', $customerId);
165
 
166
  return false;
168
 
169
  $order = Mage::getResourceModel('sales/order_collection')->addFieldToFilter('customer_id', $customerId)->addAttributeToSort('created_at', 'DESC')->setPageSize($nb);
170
 
171
+ if (!$order->getId()) {
172
  echo $this->__('Customer with ID %s does not have order yet', $customerId);
173
 
174
  return false;
176
 
177
  $items = $order->getAllItems();
178
 
179
+ if (count($items) <= 0) {
180
  echo $this->__('Order with ID %s does not have item', $order->getId());
181
 
182
  return false;
183
  }
184
 
185
  $products = array();
186
+ foreach ($items as $item) {
187
  $productId = $item->getProductId();
188
  $product = Mage::getModel('catalog/product')->load($productId);
189
+ if (!$product instanceof Varien_Object || !$product->getId()) continue;
190
  $products[] = $product;
191
  }
192
 
210
  $productSku = $this->getRequest()->getParam("sku");
211
  $type = 'related';
212
 
213
+ if (!$productId && !$productSku) {
214
  echo $this->__('Product ID or SKU not found in the URL');
215
 
216
  return false;
218
 
219
  $product = ($productId) ? Mage::getModel("catalog/product")->load($productId) : Mage::getModel("catalog/product")->loadByAttribute('sku', $productSku);
220
 
221
+ if (!$product instanceof Varien_Object || !$product->getId()) {
222
  echo $this->__('The product with ID %s does not exist.', $productId);
223
 
224
  return false;
226
 
227
  $collection = $product->getRelatedProductCollection()->addAttributeToSelect('required_options')->setPositionOrder()->addStoreFilter();
228
 
229
+ if (Mage::helper('catalog')->isModuleEnabled('Mage_Checkout')) {
230
  $collection->addMinimalPrice()->addFinalPrice()->addTaxPercents()->addAttributeToSelect(Mage::getSingleton('catalog/config')->getProductAttributes())->addUrlRewrite();
231
  }
232
 
235
  $collection->load();
236
 
237
  $products = array();
238
+ foreach ($collection as $product) {
239
  $product->setDoNotUseCategoryId(true);
240
  $products[] = $product;
241
  }
app/code/community/DndInxmail/Subscriber/controllers/SynchronizeController.php CHANGED
@@ -24,14 +24,14 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
24
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
25
  $subscribersHelper = Mage::helper('dndinxmail_subscriber/synchronize_subscribers');
26
 
27
- if(!$isAllowed) {
28
  $message = Mage::helper('dndinxmail_subscriber')->__('You are not allowed on this page.');
29
  Mage::getSingleton('core/session')->addError($message);
30
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
31
  }
32
 
33
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'));
34
- if(!($store instanceof Varien_Object) || !$store->getStoreId()) {
35
  $message = Mage::helper('dndinxmail_subscriber')->__('No store set');
36
  Mage::getSingleton('core/session')->addError($message);
37
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -42,7 +42,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
42
  $synchronize->unsubscribeCustomersFromInxmail($unsubscribedStore);
43
  $synchronize->unsubscribeCustomersFromGroups();
44
  }
45
- catch(Exception $e) {
46
  $message = Mage::helper('dndinxmail_subscriber')->__('Error synchronizing unsubscribed customers from Inxmail');
47
  Mage::getSingleton('core/session')->addError($message);
48
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -50,7 +50,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
50
 
51
  $pass = $subscribersHelper->initSynchronization($store->getStoreId());
52
 
53
- if(!isset($pass['total']) || (isset($pass['total']) && $pass['total'] == 0)) {
54
  $message = Mage::helper('dndinxmail_subscriber')->__('No subscriber to synchronize.');
55
  Mage::getSingleton('core/session')->addError($message);
56
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -58,13 +58,13 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
58
 
59
  try {
60
  Mage::app()->setCurrentStore($store->getStoreId()); // Set current store for list
61
- if(!$synchronize->truncateInxmailList()) {
62
  $message = Mage::helper('dndinxmail_subscriber')->__('Error truncating Inxmail list.');
63
  Mage::getSingleton('core/session')->addError($message);
64
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
65
  }
66
  }
67
- catch(Exception $e) {
68
  $message = Mage::helper('dndinxmail_subscriber')->__($e->getMessage());
69
  Mage::getSingleton('core/session')->addError($message);
70
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -92,17 +92,17 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
92
  $data['msg'] = 'Success';
93
 
94
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'));
95
- if(!($store instanceof Varien_Object) || !$store->getStoreId()) {
96
  $data['failed'] = 'true';
97
  $data['msg'] = "No store set";
98
  }
99
 
100
- if(!$session = $synchronize->openInxmailSession()) {
101
  $data['failed'] = 'true';
102
  $data['msg'] = "Inxmail session does not exist";
103
  }
104
 
105
- if(!$listid = (int)$synchronize->getSynchronizeListId($store->getStoreId())) {
106
  $data['failed'] = 'true';
107
  $data['msg'] = "No list defined in configuration";
108
  }
@@ -113,18 +113,18 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
113
  $pass = $this->getRequest()->getParam('pass');
114
  $pass = Zend_Json::decode($pass);
115
 
116
- if($data['failed'] == 'false') {
117
 
118
  try {
119
 
120
- foreach($pass as $subscriber) {
121
  $email = $subscriber['email'];
122
  $status = $subscriber['status'];
123
  $synchronize->switchActionToSubscriberStatus($status, $email, false, $inxmailList);
124
  }
125
 
126
  }
127
- catch(Exception $e) {
128
  $data['failed'] = 'true';
129
  $data['msg'] = $e->getMessage();
130
  }
@@ -147,7 +147,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
147
  $isAllowed = Mage::helper('dndinxmail_subscriber')->isHashKeyAllowed($hashKey);
148
  $groupsHelper = Mage::helper('dndinxmail_subscriber/synchronize_groups');
149
 
150
- if(!$isAllowed) {
151
  $message = Mage::helper('dndinxmail_subscriber')->__('You are not allowed on this page.');
152
  Mage::getSingleton('core/session')->addError($message);
153
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -157,10 +157,10 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
157
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
158
  $unsubscribed = array();
159
 
160
- foreach(Mage::app()->getWebsites() as $website) {
161
- foreach($website->getGroups() as $group) {
162
  $stores = $group->getStores();
163
- foreach($stores as $store) {
164
  $unsubscribedStore = $synchronize->getUnsubscribedCustomers($store->getStoreId());
165
  $unsubscribed = array_merge($unsubscribedStore, $unsubscribed);
166
  }
@@ -171,7 +171,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
171
  $synchronize->unsubscribeCustomersFromGroups();
172
 
173
  }
174
- catch(Exception $e) {
175
  $message = Mage::helper('dndinxmail_subscriber')->__('Error synchronizing unsubscribed customers from Inxmail');
176
  Mage::getSingleton('core/session')->addError($message);
177
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -179,7 +179,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
179
 
180
  $pass = $groupsHelper->initSynchronization();
181
 
182
- if(!isset($pass['total']) || (isset($pass['total']) && $pass['total'] == 0)) {
183
  $message = Mage::helper('dndinxmail_subscriber')->__('No customer to synchronize.');
184
  Mage::getSingleton('core/session')->addError($message);
185
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
@@ -205,7 +205,7 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
205
  $data['failed'] = 'false';
206
  $data['msg'] = 'Success';
207
 
208
- if(!$session = $synchronize->openInxmailSession()) {
209
  $data['failed'] = 'true';
210
  $data['msg'] = "Inxmail session does not exist";
211
  }
@@ -214,27 +214,27 @@ class DndInxmail_Subscriber_SynchronizeController extends Mage_Core_Controller_F
214
  $pass = $this->getRequest()->getParam('pass');
215
  $pass = Zend_Json::decode($pass);
216
 
217
- if($data['failed'] == 'false') {
218
 
219
  try {
220
 
221
  $contextListManager = $session->getListContextManager();
222
  $listName = $this->getRequest()->getParam('list');
223
- if(!$list = $contextListManager->findByName($listName)) {
224
  $list = $contextListManager->createStandardList();
225
  $list->updateName($listName);
226
  $list->commitUpdate();
227
  }
228
  else {
229
- if($firstPass == 'true') $synchronize->truncateSpecificInxmailList($list);
230
  }
231
 
232
- foreach($pass as $email) {
233
  $synchronize->subscribeCustomer($email, false, $list);
234
  }
235
 
236
  }
237
- catch(Exception $e) {
238
  $data['failed'] = 'true';
239
  $data['msg'] = $e->getMessage();
240
  }
24
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
25
  $subscribersHelper = Mage::helper('dndinxmail_subscriber/synchronize_subscribers');
26
 
27
+ if (!$isAllowed) {
28
  $message = Mage::helper('dndinxmail_subscriber')->__('You are not allowed on this page.');
29
  Mage::getSingleton('core/session')->addError($message);
30
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
31
  }
32
 
33
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'));
34
+ if (!($store instanceof Varien_Object) || !$store->getStoreId()) {
35
  $message = Mage::helper('dndinxmail_subscriber')->__('No store set');
36
  Mage::getSingleton('core/session')->addError($message);
37
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
42
  $synchronize->unsubscribeCustomersFromInxmail($unsubscribedStore);
43
  $synchronize->unsubscribeCustomersFromGroups();
44
  }
45
+ catch (Exception $e) {
46
  $message = Mage::helper('dndinxmail_subscriber')->__('Error synchronizing unsubscribed customers from Inxmail');
47
  Mage::getSingleton('core/session')->addError($message);
48
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
50
 
51
  $pass = $subscribersHelper->initSynchronization($store->getStoreId());
52
 
53
+ if (!isset($pass['total']) || (isset($pass['total']) && $pass['total'] == 0)) {
54
  $message = Mage::helper('dndinxmail_subscriber')->__('No subscriber to synchronize.');
55
  Mage::getSingleton('core/session')->addError($message);
56
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
58
 
59
  try {
60
  Mage::app()->setCurrentStore($store->getStoreId()); // Set current store for list
61
+ if (!$synchronize->truncateInxmailList()) {
62
  $message = Mage::helper('dndinxmail_subscriber')->__('Error truncating Inxmail list.');
63
  Mage::getSingleton('core/session')->addError($message);
64
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
65
  }
66
  }
67
+ catch (Exception $e) {
68
  $message = Mage::helper('dndinxmail_subscriber')->__($e->getMessage());
69
  Mage::getSingleton('core/session')->addError($message);
70
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
92
  $data['msg'] = 'Success';
93
 
94
  $store = Mage::getModel('core/store')->load($this->getRequest()->getParam('store'));
95
+ if (!($store instanceof Varien_Object) || !$store->getStoreId()) {
96
  $data['failed'] = 'true';
97
  $data['msg'] = "No store set";
98
  }
99
 
100
+ if (!$session = $synchronize->openInxmailSession()) {
101
  $data['failed'] = 'true';
102
  $data['msg'] = "Inxmail session does not exist";
103
  }
104
 
105
+ if (!$listid = (int)$synchronize->getSynchronizeListId($store->getStoreId())) {
106
  $data['failed'] = 'true';
107
  $data['msg'] = "No list defined in configuration";
108
  }
113
  $pass = $this->getRequest()->getParam('pass');
114
  $pass = Zend_Json::decode($pass);
115
 
116
+ if ($data['failed'] == 'false') {
117
 
118
  try {
119
 
120
+ foreach ($pass as $subscriber) {
121
  $email = $subscriber['email'];
122
  $status = $subscriber['status'];
123
  $synchronize->switchActionToSubscriberStatus($status, $email, false, $inxmailList);
124
  }
125
 
126
  }
127
+ catch (Exception $e) {
128
  $data['failed'] = 'true';
129
  $data['msg'] = $e->getMessage();
130
  }
147
  $isAllowed = Mage::helper('dndinxmail_subscriber')->isHashKeyAllowed($hashKey);
148
  $groupsHelper = Mage::helper('dndinxmail_subscriber/synchronize_groups');
149
 
150
+ if (!$isAllowed) {
151
  $message = Mage::helper('dndinxmail_subscriber')->__('You are not allowed on this page.');
152
  Mage::getSingleton('core/session')->addError($message);
153
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
157
  $synchronize = Mage::helper('dndinxmail_subscriber/synchronize');
158
  $unsubscribed = array();
159
 
160
+ foreach (Mage::app()->getWebsites() as $website) {
161
+ foreach ($website->getGroups() as $group) {
162
  $stores = $group->getStores();
163
+ foreach ($stores as $store) {
164
  $unsubscribedStore = $synchronize->getUnsubscribedCustomers($store->getStoreId());
165
  $unsubscribed = array_merge($unsubscribedStore, $unsubscribed);
166
  }
171
  $synchronize->unsubscribeCustomersFromGroups();
172
 
173
  }
174
+ catch (Exception $e) {
175
  $message = Mage::helper('dndinxmail_subscriber')->__('Error synchronizing unsubscribed customers from Inxmail');
176
  Mage::getSingleton('core/session')->addError($message);
177
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
179
 
180
  $pass = $groupsHelper->initSynchronization();
181
 
182
+ if (!isset($pass['total']) || (isset($pass['total']) && $pass['total'] == 0)) {
183
  $message = Mage::helper('dndinxmail_subscriber')->__('No customer to synchronize.');
184
  Mage::getSingleton('core/session')->addError($message);
185
  $this->_redirect('dndinxmail_subscriber_front/messages/error/');
205
  $data['failed'] = 'false';
206
  $data['msg'] = 'Success';
207
 
208
+ if (!$session = $synchronize->openInxmailSession()) {
209
  $data['failed'] = 'true';
210
  $data['msg'] = "Inxmail session does not exist";
211
  }
214
  $pass = $this->getRequest()->getParam('pass');
215
  $pass = Zend_Json::decode($pass);
216
 
217
+ if ($data['failed'] == 'false') {
218
 
219
  try {
220
 
221
  $contextListManager = $session->getListContextManager();
222
  $listName = $this->getRequest()->getParam('list');
223
+ if (!$list = $contextListManager->findByName($listName)) {
224
  $list = $contextListManager->createStandardList();
225
  $list->updateName($listName);
226
  $list->commitUpdate();
227
  }
228
  else {
229
+ if ($firstPass == 'true') $synchronize->truncateSpecificInxmailList($list);
230
  }
231
 
232
+ foreach ($pass as $email) {
233
  $synchronize->subscribeCustomer($email, false, $list);
234
  }
235
 
236
  }
237
+ catch (Exception $e) {
238
  $data['failed'] = 'true';
239
  $data['msg'] = $e->getMessage();
240
  }
app/code/community/DndInxmail/Subscriber/etc/adminhtml.xml CHANGED
@@ -1,5 +1,4 @@
1
- <?xml version="1.0"?>
2
- <!--
3
  /**
4
  * @category Module Configuration
5
  * @package DndInxmail_Subscriber
1
+ <?xml version="1.0"?><!--
 
2
  /**
3
  * @category Module Configuration
4
  * @package DndInxmail_Subscriber
app/code/community/DndInxmail/Subscriber/etc/config.xml CHANGED
@@ -1,5 +1,4 @@
1
- <?xml version="1.0"?>
2
- <!--
3
  /**
4
  * @category Module Configuration
5
  * @package DndInxmail_Subscriber
@@ -14,7 +13,7 @@
14
  <config>
15
  <modules>
16
  <DndInxmail_Subscriber>
17
- <version>3.1.0.1</version>
18
  </DndInxmail_Subscriber>
19
  </modules>
20
  <global>
1
+ <?xml version="1.0"?><!--
 
2
  /**
3
  * @category Module Configuration
4
  * @package DndInxmail_Subscriber
13
  <config>
14
  <modules>
15
  <DndInxmail_Subscriber>
16
+ <version>3.1.0.2</version>
17
  </DndInxmail_Subscriber>
18
  </modules>
19
  <global>
app/code/community/DndInxmail/Subscriber/etc/system.xml CHANGED
@@ -1,10 +1,9 @@
1
- <?xml version="1.0"?>
2
- <!--
3
  /**
4
  * @category Module System Config
5
  * @package DndInxmail_Subscriber
6
  * @dev Merlin
7
- * @last_modified 13/03/2013
8
  * @copyright Copyright (c) 2012 Agence Dn'D
9
  * @author Agence Dn'D - Conseil en creation de site e-Commerce Magento : http://www.dnd.fr/
10
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
@@ -155,6 +154,16 @@
155
  <show_in_store>1</show_in_store>
156
  <comment>Type Text</comment>
157
  </prefix>
 
 
 
 
 
 
 
 
 
 
158
  <firstname>
159
  <label>Firstname</label>
160
  <frontend_type>select</frontend_type>
@@ -175,6 +184,16 @@
175
  <show_in_store>1</show_in_store>
176
  <comment>Type Text</comment>
177
  </lastname>
 
 
 
 
 
 
 
 
 
 
178
  <group_id>
179
  <label>Group ID</label>
180
  <frontend_type>select</frontend_type>
1
+ <?xml version="1.0"?><!--
 
2
  /**
3
  * @category Module System Config
4
  * @package DndInxmail_Subscriber
5
  * @dev Merlin
6
+ * @last_modified 06/05/2015
7
  * @copyright Copyright (c) 2012 Agence Dn'D
8
  * @author Agence Dn'D - Conseil en creation de site e-Commerce Magento : http://www.dnd.fr/
9
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
154
  <show_in_store>1</show_in_store>
155
  <comment>Type Text</comment>
156
  </prefix>
157
+ <gender>
158
+ <label>Gender</label>
159
+ <frontend_type>select</frontend_type>
160
+ <source_model>dndinxmail_subscriber/adminhtml_system_config_source_inxmail_columns_type_text</source_model>
161
+ <sort_order>16</sort_order>
162
+ <show_in_default>1</show_in_default>
163
+ <show_in_website>1</show_in_website>
164
+ <show_in_store>1</show_in_store>
165
+ <comment>Type Text</comment>
166
+ </gender>
167
  <firstname>
168
  <label>Firstname</label>
169
  <frontend_type>select</frontend_type>
184
  <show_in_store>1</show_in_store>
185
  <comment>Type Text</comment>
186
  </lastname>
187
+ <dob>
188
+ <label>Date Of Birth</label>
189
+ <frontend_type>select</frontend_type>
190
+ <source_model>dndinxmail_subscriber/adminhtml_system_config_source_inxmail_columns_type_dateonly</source_model>
191
+ <sort_order>35</sort_order>
192
+ <show_in_default>1</show_in_default>
193
+ <show_in_website>1</show_in_website>
194
+ <show_in_store>1</show_in_store>
195
+ <comment>Type Date only</comment>
196
+ </dob>
197
  <group_id>
198
  <label>Group ID</label>
199
  <frontend_type>select</frontend_type>
app/design/adminhtml/default/default/layout/dndinxmail.xml CHANGED
@@ -2,7 +2,7 @@
2
  <layout version="0.1.0">
3
  <adminhtml_inxmailcolumns_new>
4
  <reference name="content">
5
- <block type="adminhtml/template" name="dndinxmail_form" template="dndinxmail/subscriber/system/inxmail/columns.phtml"/>
6
  </reference>
7
  </adminhtml_inxmailcolumns_new>
8
  </layout>
2
  <layout version="0.1.0">
3
  <adminhtml_inxmailcolumns_new>
4
  <reference name="content">
5
+ <block type="adminhtml/template" name="dndinxmail_form" template="dndinxmail/subscriber/system/inxmail/columns.phtml" />
6
  </reference>
7
  </adminhtml_inxmailcolumns_new>
8
  </layout>
app/design/frontend/base/default/layout/dndinxmail.xml CHANGED
@@ -6,11 +6,21 @@
6
  <block type="page/html" name="root" output="toHtml" template="dndinxmail/page/synchronize.phtml">
7
 
8
  <block type="page/html_head" name="head" as="head">
9
- <action method="addJs"><script>prototype/prototype.js</script></action>
10
- <action method="addJs"><name>dndinxmail/synchronize.js</name></action>
11
- <action method="addJs"><script>mage/translate.js</script></action>
12
- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
13
- <action method="addCss"><stylesheet>dndinxmail/inxmail-synchronization.css</stylesheet></action>
 
 
 
 
 
 
 
 
 
 
14
  </block>
15
 
16
  <block type="core/text_list" name="content" as="content" translate="label">
@@ -25,13 +35,19 @@
25
  <block type="page/html" name="root" output="toHtml" template="dndinxmail/page/messages.phtml">
26
 
27
  <block type="page/html_head" name="head" as="head">
28
- <action method="addJs"><script>mage/translate.js</script></action>
29
- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
30
- <action method="addCss"><stylesheet>dndinxmail/inxmail-synchronization.css</stylesheet></action>
 
 
 
 
 
 
31
  </block>
32
 
33
- <block type="core/messages" name="global_messages" as="global_messages"/>
34
- <block type="core/messages" name="messages" as="messages"/>
35
 
36
  </block>
37
 
6
  <block type="page/html" name="root" output="toHtml" template="dndinxmail/page/synchronize.phtml">
7
 
8
  <block type="page/html_head" name="head" as="head">
9
+ <action method="addJs">
10
+ <script>prototype/prototype.js</script>
11
+ </action>
12
+ <action method="addJs">
13
+ <name>dndinxmail/synchronize.js</name>
14
+ </action>
15
+ <action method="addJs">
16
+ <script>mage/translate.js</script>
17
+ </action>
18
+ <action method="addCss">
19
+ <stylesheet>css/styles.css</stylesheet>
20
+ </action>
21
+ <action method="addCss">
22
+ <stylesheet>dndinxmail/inxmail-synchronization.css</stylesheet>
23
+ </action>
24
  </block>
25
 
26
  <block type="core/text_list" name="content" as="content" translate="label">
35
  <block type="page/html" name="root" output="toHtml" template="dndinxmail/page/messages.phtml">
36
 
37
  <block type="page/html_head" name="head" as="head">
38
+ <action method="addJs">
39
+ <script>mage/translate.js</script>
40
+ </action>
41
+ <action method="addCss">
42
+ <stylesheet>css/styles.css</stylesheet>
43
+ </action>
44
+ <action method="addCss">
45
+ <stylesheet>dndinxmail/inxmail-synchronization.css</stylesheet>
46
+ </action>
47
  </block>
48
 
49
+ <block type="core/messages" name="global_messages" as="global_messages" />
50
+ <block type="core/messages" name="messages" as="messages" />
51
 
52
  </block>
53
 
app/design/frontend/base/default/template/dndinxmail/synchronization/groups.phtml CHANGED
@@ -1,18 +1,18 @@
1
  <script type="text/javascript">
2
- //<![CDATA[
3
- var result = '<?php echo $this->getAllPass(); ?>';
4
- var groups = typeof JSON !='undefined' ? JSON.parse(result) : eval('('+result+')');
5
 
6
- window.onload = function() {
7
- var DndInxmailSynchronize = new DndInxmail.Synchronize();
8
- DndInxmailSynchronize.launchGroups(groups);
9
- };
10
- //]]>
11
  </script>
12
 
13
  <span id="current-group"></span>
14
  <ul id="results">
15
- <li id="percent"></li>
16
  <li id="pass"></li>
17
  </ul>
18
  <ul id="errors"></ul>
1
  <script type="text/javascript">
2
+ //<![CDATA[
3
+ var result = '<?php echo $this->getAllPass(); ?>';
4
+ var groups = typeof JSON != 'undefined' ? JSON.parse(result) : eval('(' + result + ')');
5
 
6
+ window.onload = function() {
7
+ var DndInxmailSynchronize = new DndInxmail.Synchronize();
8
+ DndInxmailSynchronize.launchGroups(groups);
9
+ };
10
+ //]]>
11
  </script>
12
 
13
  <span id="current-group"></span>
14
  <ul id="results">
15
+ <li id="percent"></li>
16
  <li id="pass"></li>
17
  </ul>
18
  <ul id="errors"></ul>
app/design/frontend/base/default/template/dndinxmail/synchronization/subscribers.phtml CHANGED
@@ -1,16 +1,16 @@
1
  <script type="text/javascript">
2
- //<![CDATA[
3
- var result = '<?php echo $this->getAllPass(); ?>';
4
- var subscribers = typeof JSON !='undefined' ? JSON.parse(result) : eval('('+result+')');
5
 
6
- window.onload = function() {
7
- var DndInxmailSynchronize = new DndInxmail.Synchronize();
8
- DndInxmailSynchronize.launchSubscribers(subscribers, <?php echo $this->getStoreToSynchronize(); ?>);
9
- };
10
- //]]>
11
  </script>
12
  <ul id="results">
13
  <li id="percent"></li>
14
- <li id="pass"></li>
15
  </ul>
16
  <ul id="errors"></ul>
1
  <script type="text/javascript">
2
+ //<![CDATA[
3
+ var result = '<?php echo $this->getAllPass(); ?>';
4
+ var subscribers = typeof JSON != 'undefined' ? JSON.parse(result) : eval('(' + result + ')');
5
 
6
+ window.onload = function() {
7
+ var DndInxmailSynchronize = new DndInxmail.Synchronize();
8
+ DndInxmailSynchronize.launchSubscribers(subscribers, <?php echo $this->getStoreToSynchronize(); ?>);
9
+ };
10
+ //]]>
11
  </script>
12
  <ul id="results">
13
  <li id="percent"></li>
14
+ <li id="pass"></li>
15
  </ul>
16
  <ul id="errors"></ul>
app/etc/modules/DndInxmail_Subscriber.xml CHANGED
@@ -1,5 +1,4 @@
1
- <?xml version="1.0"?>
2
- <!--
3
  /**
4
  * @category Module Declaration
5
  * @package DndInxmail_Subscriber
@@ -16,7 +15,7 @@
16
  <active>true</active>
17
  <codePool>community</codePool>
18
  <depends>
19
- <Mage_Newsletter/>
20
  </depends>
21
  </DndInxmail_Subscriber>
22
  </modules>
1
+ <?xml version="1.0"?><!--
 
2
  /**
3
  * @category Module Declaration
4
  * @package DndInxmail_Subscriber
15
  <active>true</active>
16
  <codePool>community</codePool>
17
  <depends>
18
+ <Mage_Newsletter />
19
  </depends>
20
  </DndInxmail_Subscriber>
21
  </modules>
app/locale/en_US/DndInxmail_Subscriber.csv CHANGED
@@ -107,4 +107,6 @@
107
  "Get orders of specific date range (to)","Get orders of specific date range (to)"
108
  "Last X Days","Last X Days"
109
  "Date Range","Date Range"
110
- "Orders (specific)","Orders (specific)"
 
 
107
  "Get orders of specific date range (to)","Get orders of specific date range (to)"
108
  "Last X Days","Last X Days"
109
  "Date Range","Date Range"
110
+ "Orders (specific)","Orders (specific)"
111
+ "Gender","Gender"
112
+ "Date Of Birth","Date Of Birth"
app/locale/fr_FR/DndInxmail_Subscriber.csv CHANGED
@@ -108,4 +108,6 @@
108
  "Get orders of specific date range (to)","Récupérer les commandes spécifiques à la plage de dates (fin)"
109
  "Last X Days","X derniers jours"
110
  "Date Range","Plage de dates"
111
- "Orders (specific)","Commandes (spécifique)"
 
 
108
  "Get orders of specific date range (to)","Récupérer les commandes spécifiques à la plage de dates (fin)"
109
  "Last X Days","X derniers jours"
110
  "Date Range","Plage de dates"
111
+ "Orders (specific)","Commandes (spécifique)"
112
+ "Gender","Genre"
113
+ "Date Of Birth","Date de naissance"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DndInxmail_Subscriber</name>
4
- <version>3.1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-v3.0</license>
7
  <channel>community</channel>
@@ -34,11 +34,11 @@ Transfer data to Inxmail Professional.&#xD;
34
  Time-controlled dispatch via the Inxmail mail servers.&#xD;
35
  Return transfer of unsubscriptions to Magento. &#xD;
36
  Comprehensive success measurement directly after the mailing has been dispatched.</description>
37
- <notes>None</notes>
38
  <authors><author><name>Agence</name><user>DnD</user><email>magento@dnd.fr</email></author></authors>
39
- <date>2014-11-07</date>
40
- <time>14:44:19</time>
41
- <contents><target name="magecommunity"><dir name="DndInxmail"><dir name="Subscriber"><dir name="Block"><dir name="Adminhtml"><dir name="Newsletter"><dir name="Subscriber"><file name="Grid.php" hash="b5ed28e9108912c8294875f425594f81"/></dir></dir><dir name="System"><dir name="Config"><file name="Date.php" hash="0f3d67458ba58968986ff12ef96dc480"/><dir name="Form"><dir name="Button"><file name="Groups.php" hash="359bd306f3c97f118de05f4be88667a5"/><file name="Subscribers.php" hash="69fa5ef916dd6f82ee3c99ab3872aaef"/></dir></dir></dir></dir></dir><dir name="Synchronization"><file name="Groups.php" hash="8d22edbccf9aac2c70dabf56237fb3e7"/><file name="Subscribers.php" hash="96bf55110cb916277558db85c2cdfa1c"/></dir></dir><dir name="Helper"><file name="Abstract.php" hash="93353e85d33b533a041977fd7ba81e08"/><file name="Data.php" hash="2c235dc3b03828b35e66d0c8141059d9"/><file name="Error.php" hash="da28f79336d5d79fffd31f64fd7ffb21"/><file name="Group.php" hash="034edc49e8d4e4d693a20c021eb35c49"/><file name="Log.php" hash="94b10c3ef3659559a5ef375015130cb7"/><file name="Mapping.php" hash="5483af6468f26c9f24f8d936858506c0"/><dir name="Synchronize"><file name="Groups.php" hash="c7073643e2cf16917cac866fbb4453c1"/><file name="Subscribers.php" hash="4f4d8b139fcec947b5c68d060b323620"/></dir><file name="Synchronize.php" hash="3c24bf86552d8546957a58e8ce3a34ca"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="c78af2705f2b887c54cf8db300d13b40"/><dir name="Customer"><file name="Group.php" hash="9cd0afe7f4b87380567fa1b581ace215"/></dir><file name="Date.php" hash="c4775672c4284f2cc4f177a5870c9aaf"/></dir><dir name="Source"><file name="Attributes.php" hash="98fb1ab62fc648c84b003f79ab80079b"/><dir name="Cron"><file name="Frequency.php" hash="946bf5bf660416942182d012c6d09f09"/></dir><dir name="Group"><file name="Specific.php" hash="f9f5c1e8a41c920e023b2d5da14a267d"/></dir><file name="Group.php" hash="3418152cb9104c1ff81840cfd3b87bb5"/><dir name="Inxmail"><dir name="Columns"><dir name="Type"><file name="Dateonly.php" hash="06bc2908da0209c46f4a27473ace9d69"/><file name="Float.php" hash="a341c6bcd62a64501afb66ac83ae4445"/><file name="Int.php" hash="11b51fcc463e7af3d99211183d5d396c"/><file name="Text.php" hash="04cb76cd1790b61f4e84513f1ae6fa8b"/><file name="Yesno.php" hash="c1074e453fc4daf0d4a9c6ebfb669710"/></dir></dir><file name="Columns.php" hash="4ba3ce4198c446c0678b508ceb3a9843"/><file name="Lists.php" hash="f3653a1b08623dae3baac743d3221b20"/></dir><file name="Orders.php" hash="c56f2ad158f46ee77ca0466e96d1b92c"/></dir></dir></dir></dir><file name="Observer.php" hash="45b619e3e231824dce88063c68283842"/><file name="Xml.php" hash="40b247885575c368c672e51e36ac2d49"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="InxmailcolumnsController.php" hash="c2b66cbe614105ae07deaef02943cc5f"/><file name="SynchronizeController.php" hash="a0555a88522681c7ac7eb617b199f53d"/></dir><file name="LogController.php" hash="fb38eeac648f7095127069c1266622d5"/><file name="MessagesController.php" hash="f514ea6603e3c19507d7e58893ac9278"/><file name="SourceController.php" hash="e2577c35ac67bdf93601c76c2eccf5ab"/><file name="SynchronizeController.php" hash="712c1c05f8fa5a188692b56efe28f4b9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5c5e02879e09544611d527e9b4d70d6b"/><file name="config.xml" hash="f01ffb92edfbae6e402a7f9eb9803243"/><file name="system.xml" hash="cd69489006f9d2e36d5ba45df1d729b1"/></dir><dir name="sql"><dir name="dndinxmail_subscriber_setup"><file name="mysql4-install-1.0.0.0.php" hash="f76dbd90576888fd82713ee3f77c0225"/><file name="mysql4-upgrade-1.0.0.0-3.1.0.0.php" hash="75f86e046783d9551af69601462ddd6c"/></dir></dir><file name=".DS_Store" hash="43572f0bc4d22c23da3b68bbfd7983d5"/></dir><file name=".DS_Store" hash="a7bb5f04e7571d7504538f28cb46ff44"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="dndinxmail.xml" hash="a5bef55ae4a09e3eade8cf51c3dbf924"/></dir><dir name="template"><dir name="dndinxmail"><dir name="subscriber"><dir name="system"><dir name="config"><dir name="form"><dir name="button"><file name="groups.phtml" hash="3518010bfad9268e6d5f8a1c822215e1"/><file name="subscribers.phtml" hash="52971eb90b80ff1b8d75423d7bd13949"/></dir></dir></dir><dir name="inxmail"><file name="columns.phtml" hash="9ed3d5cee08a6dae8dd6ce7af548b1c2"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="dndinxmail.xml" hash="bcf182c3c06d1afe83c4261a29215e75"/></dir><dir name="template"><dir name="dndinxmail"><dir name="page"><file name="messages.phtml" hash="b0155c06befe67c4c21c5d2132fda89e"/><file name="synchronize.phtml" hash="b75ff3207b177a717000a608d0d4ff9c"/></dir><dir name="synchronization"><file name="groups.phtml" hash="08bab57207b4d0a5471d03fa0327d064"/><file name="subscribers.phtml" hash="1c3eb9981611e475944f29eaec7139a3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DndInxmail_Subscriber.xml" hash="87b482d6a16641e818648e615163bee3"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="DndInxmail_Subscriber.csv" hash="0cd54b302198adaeb6986ce4a7da698f"/></dir><dir name="fr_FR"><file name="DndInxmail_Subscriber.csv" hash="4819a65a90799bd0fce59b50abe8a495"/></dir></dir></target><target name="mage"><dir name="js"><dir name="dndinxmail"><file name="synchronize.js" hash="c00f2c2002dafa6eb39da796642c1836"/></dir></dir></target><target name="magelib"><dir name="Inx"><dir name="Api"><file name="APIException.php" hash="cd54a0750901485e9e8690de5ad5246a"/><dir name="Action"><file name="Action.php" hash="23cc64b7041d4c4cb8876a688eba717c"/><file name="ActionManager.php" hash="0d8cb6ed17517521d7b4887524f78cd6"/><file name="Command.php" hash="e43628257e4e70d8368c72c4bab0dd08"/><file name="CommandFactory.php" hash="07e7a034db4e787bd6e4008c2f77a4e2"/><file name="DeleteRecipientCommand.php" hash="e16c5082c0f8b891935d19e7bf5bac37"/><file name="SendActionMailCommand.php" hash="d4d89666620ebed59abc821037f7fba0"/><file name="SendMailCommand.php" hash="ea2965978e83d551f78f1b899c2575aa"/><file name="SetValueCommand.php" hash="daa643eb5e324c30d27ba562553ccd19"/><file name="SubUnsubscriptionCommand.php" hash="639cf2bc611b0aae9de59648a987fa6f"/><file name="SubscriptionCommand.php" hash="d1b95af63560ad49ba8aa82b2301684b"/><file name="UnsubscriptionCommand.php" hash="bf342168d8664f1bab148a7c585b120f"/></dir><dir name="Approval"><file name="Approver.php" hash="398c2baf6a7e16aed03d116a98f0574d"/><file name="ApproverManager.php" hash="b86d3f424e9fc4ada85f019d9d6409d3"/></dir><file name="BOManager.php" hash="6bb31e5f0dca4d04a7ec68a9599f2890"/><file name="BOResultSet.php" hash="e17bfdd0707f65398a0869285ef52f1f"/><dir name="Blacklist"><file name="BlacklistEntry.php" hash="271260e423d8ab8bb68d3055a82ff3df"/><file name="BlacklistManager.php" hash="01c653c0f335409c7f92d18999abfcf1"/></dir><dir name="Bounce"><file name="Bounce.php" hash="71003bfc1527e6577990f608b047c1c8"/><file name="BounceManager.php" hash="4597ee77483225e46936e9a8953cf915"/></dir><file name="BusinessObject.php" hash="dde00faedf1b976feac319b77ed31fbc"/><file name="ConnectException.php" hash="9f169bb2be254fac472324e543b95346"/><dir name="DataAccess"><file name="ClickData.php" hash="c4480f959e7bb258c8971e067b25fd31"/><file name="ClickDataRowSet.php" hash="0ba81ac549741b99cb25e7fe3a471741"/><file name="DataAccess.php" hash="558312518d83567bab8afa08be34a155"/><file name="DataRowSet.php" hash="b4c1b1c6cd54b94c507918e1585f4eee"/><file name="LinkData.php" hash="d76aaa1d4a682ccba89c4a03bffb57ca"/><file name="LinkDataRowSet.php" hash="b1f6b1015172c08ea9e913b74bb9a3a3"/></dir><file name="DataException.php" hash="ec356035ac146b8aa9abbbc86f0ec9b6"/><dir name="DesignTemplate"><file name="DesignCollection.php" hash="8f359298cfa099a9b21820948e5bb375"/><file name="DesignCollectionManager.php" hash="259d40303f757e3de4c61be78a9a6ea4"/><file name="ImportException.php" hash="707077dc9a6b772614484702049e4116"/><file name="Style.php" hash="7429cad366a613b77a6abc1af08a07e5"/><file name="Template.php" hash="223f216d718685d1ac0ee188d49d40e8"/></dir><file name="FeatureNotAvailableException.php" hash="aac4c80f2bcf5aa8afb82133bec65080"/><file name="Features.php" hash="4b8264a9b46f730d1b60868ff3652b5c"/><dir name="Filter"><file name="Filter.php" hash="8c6e719b971ea97b77e4dcfa982e37c6"/><file name="FilterManager.php" hash="ab13a6505d2d104b558cbd782b404013"/></dir><file name="FilterStmtException.php" hash="bb0647ba81e91e2a828008176ec4e31e"/><file name="IOException.php" hash="6529a0521cba31d7cd21e2480b7cf539"/><file name="IllegalArgumentException.php" hash="97dd2b482dc3f3432e210ee8de7537a1"/><file name="IllegalStateException.php" hash="554021016305c9f925f7a5b9a916b7f1"/><dir name="Inbox"><file name="InboxManager.php" hash="eacdb6f94329afcc7c30022429d127dd"/><file name="InboxMessage.php" hash="2f15d1a04656cf3a168b272955ca78a1"/></dir><file name="IndexOutOfBoundsException.php" hash="b6540c77abfe67a4babd3d1d81ebb07d"/><file name="IndexSelection.php" hash="d945202618cf627deba0c10f689eaaff"/><file name="InputStream.php" hash="ea8f19a4cb5abe7f2dc7f8abee3f81d5"/><dir name="List"><file name="AdminListContext.php" hash="baa67ed7444f9193c93d924103a9e5ba"/><file name="FilterListContext.php" hash="778e53fbd218fc7dc41c652b7becae9e"/><file name="ListContext.php" hash="7e497880ce83f2d6e5e929f70ca2035b"/><file name="ListContextManager.php" hash="7d1a13a02e0a2b9d060a18d16ae28f4c"/><file name="ListSize.php" hash="23c93e1d8135e8c065cc2e97bdc315e0"/><file name="StandardListContext.php" hash="31003ba4eb787850f5f7193568da34a7"/><file name="SystemListContext.php" hash="abd62b603790f0a9f74808fed8494b37"/></dir><file name="LockException.php" hash="1bfb472512c9afc6cffecef9ed3a7139"/><file name="LockTicket.php" hash="895d6dda37856b22ad966aecc343205c"/><file name="LoginException.php" hash="b2dd030c5b9138be4eb54034c16c65a2"/><dir name="Mail"><file name="Attachment.php" hash="1b51017705f23a73c0595b9e77526424"/><file name="BuildException.php" hash="6131f755acbe53ef30ab1f7ee598a1cc"/><file name="HeaderField.php" hash="41064f0a57c96ddfb45f6261ff6a47a4"/><file name="MailContent.php" hash="f00f4eb2796b0cbcfbedcd13c42a28e5"/><file name="MailingRenderer.php" hash="db148e8e3be09298c02164c2081bef77"/><file name="ParseException.php" hash="3dbcfd375240d124f6212c97f2270f89"/><file name="RenderError.php" hash="8c394c5e1e4ccf436b48a890a6069e19"/></dir><dir name="Mailing"><file name="ContentHandler.php" hash="cfa856aff7def9d8cac5274b45754084"/><file name="HtmlTextContentHandler.php" hash="687074edc0da205eb0db697f22b9d64a"/><file name="Mailing.php" hash="55917ad43a5edfc9af645cd6ba2bbba0"/><file name="MailingConstants.php" hash="0a55df985533e0b1a9ba5166ad55db31"/><file name="MailingManager.php" hash="e374e0df727e4fdf6250ebab3ff7ef87"/><file name="MailingStateException.php" hash="7451ae5d08df03b4f72bdf92eb3580f0"/><file name="MultiPartContentHandler.php" hash="125509bfc68c52f34edd204c8dae19b0"/><file name="PlainTextContentHandler.php" hash="3b3604686f849b44ea34920e9526b017"/><file name="SendException.php" hash="4dd20378fabed595ea2f2824d421e74d"/><file name="SendingInfo.php" hash="eab51cf10fdfafcd5a5e905bd560c84c"/><file name="SinglePartContentHandler.php" hash="ecc3d8494628332f2f9cafce326acc96"/><file name="XsltContentHandler.php" hash="d294b4d09ede46479b51f5f00f0bdc86"/><file name="XsltHtmlTextContentHandler.php" hash="880545751bd4bbe08a3aec9851ff0c4d"/><file name="XsltMultiPartContentHandler.php" hash="58de83e1979120d77da8b7fb968dcbc8"/><file name="XsltPlainTextContentHandler.php" hash="7fdc485ccf55e74053306451b00eb143"/></dir><dir name="MailingTemplate"><file name="MailingTemplate.php" hash="57fdee4dcbe65ccf5a11c251fff402d3"/><file name="MailingTemplateManager.php" hash="582c7e37c56e2841ca3975e2432e9a50"/></dir><file name="NameException.php" hash="e4881c80503e2da8f7714d1e21ebe5cc"/><file name="NullPointerException.php" hash="efd39dcce2a3a8b8c457e3c60db42b30"/><file name="Order.php" hash="5a24339bdb8f501764e03532fb69fa21"/><dir name="Plugin"><file name="PluginStore.php" hash="a54c99a07a7353c2af66df1e83fd8d22"/></dir><file name="PluginStatusService.php" hash="2dcf3e299611d85e92b6c24b62ca0caf"/><dir name="Property"><file name="ApprovalPropertyValue.php" hash="12c56a0d34b6c77cc658b7f5adf882fe"/><file name="FormatChoicePropertyFormatter.php" hash="7bf1d3b42e63ec4e0593c1be9c39c3fa"/><file name="Property.php" hash="0e3b5236bee293b3b5f7f5e3d929de8a"/><file name="PropertyFormatter.php" hash="891ee029bc1f5889cf54661f02a008a1"/><file name="PropertyNames.php" hash="06d58e88d7aa417973677d4de02c1bd4"/></dir><dir name="Recipient"><file name="Attribute.php" hash="b491e14fb0675abe19e21ba9ec47511c"/><file name="AttributeManager.php" hash="c0b207d530795ade9eaeb329c2329531"/><file name="AttributeNotFoundException.php" hash="9df716b4504b2e7426696e9b48cff313"/><file name="BatchChannel.php" hash="7ff4ac60008aa69b362f71835833a051"/><file name="BlackListException.php" hash="2beb8ddb0bcfbbdfcfcb479185223ba2"/><file name="DuplicateKeyException.php" hash="1e7b3b0acd7ee6a5ec32aaf3b9dcf440"/><file name="IllegalValueException.php" hash="f2f93510caca40ef35dbfe8f93f107c4"/><file name="RecipientContext.php" hash="7337890f2d5ab48982f67f4b38fe67ce"/><file name="RecipientMetaData.php" hash="2ad66ae6de6d12618d2ca8896f4a06d4"/><file name="RecipientRowSet.php" hash="e3deb362047bc78ca25c8045ffcbe94a"/><file name="SelectException.php" hash="63315e8cd92fc6b1f6f881b1b5e6a8e5"/><file name="UnsubscriptionRecipientRowSet.php" hash="21527e9ebc00848cc4727f6e1172e044"/></dir><file name="RemoteException.php" hash="832a732fa39c1855c45cf65bf7f6877b"/><dir name="Reporting"><file name="ConfigDescriptor.php" hash="9e8438d540d70870824cdc863d803747"/><file name="Control.php" hash="899fc95b97943e3a8370004f753af3d8"/><file name="ControlUnit.php" hash="9f891fe50ee8879b07f0873a5766b1ae"/><file name="DownloadableResult.php" hash="afb8dd810d04f542a34f7a6c5b4cc25f"/><file name="ReportEngine.php" hash="32e1e94b3903cdde162c6999afa3a047"/><file name="ReportException.php" hash="e8d640d1cc1a5a9ce19160ef3626a9e7"/><file name="ReportRequest.php" hash="b90af6e5b42164818d5b5b9d5e6006f5"/><file name="ReportTicket.php" hash="5e14228ee6fbd9fb4ef9c178bf2a52a4"/></dir><dir name="Resource"><file name="Resource.php" hash="e525ef57620f36d1725600ae128fe794"/><file name="ResourceManager.php" hash="fd156e44f0ab6be2b93d8d27ff3f39da"/></dir><file name="SecurityException.php" hash="48c790e529ad4d7ebccabed4c06491bc"/><file name="ServerTime.php" hash="7bee61012b85de2a4aba0816e2245aac"/><file name="Session.php" hash="fbba675b7383308bf9ca4714f4609d4e"/><dir name="Subscription"><file name="SubscriptionLogEntryRowSet.php" hash="d42de23ebab0352d51ec0015f68e24de"/><file name="SubscriptionManager.php" hash="9adff6dd81646f381b2970e4dac5b878"/></dir><dir name="Testprofiles"><file name="TestRecipientContext.php" hash="c2627ed5e66f6c36246c42c23f0e63a8"/><file name="TestRecipientRowSet.php" hash="b6f7edfedd1d89baab00863873387d11"/></dir><dir name="TextModule"><file name="TextModule.php" hash="029f4c493a70a5f51039f0f9f0238358"/><file name="TextModuleManager.php" hash="460a750d470dcc78dbf68bbb65cc50bc"/></dir><dir name="TriggerMail"><file name="Attachment.php" hash="63edd19c4d47bc547ea2d803b7952b50"/><file name="BuildException.php" hash="c5a44bc006a4e8ebf005b0225aa8c342"/><file name="BuildMode.php" hash="6e0db4163aa68e6720938fc99bc70335"/><file name="ParseException.php" hash="20e0dc188e8f87c24eb1b9a2ce9e62e0"/><file name="RenderError.php" hash="851bc0adfc3192b00f9863fdf5a941e8"/><file name="TriggerMailContent.php" hash="daf234dffb5f626412045d3547d609a5"/><file name="TriggerMailingConstants.php" hash="0bd74dbf4611cd6f000b76befbb61ed3"/><file name="TriggerMailingContentType.php" hash="91797f2b347ec364ca2a0b5fb9dba895"/><file name="TriggerMailingExceptionType.php" hash="5ff9d8155a345acd7afbda1b670fc59e"/><file name="TriggerMailingRenderer.php" hash="b87b05fbab7487134ded4a9c81b9f95d"/></dir><dir name="TriggerMailing"><dir name="Descriptor"><file name="ActionTriggerDescriptorBuilder.php" hash="590b5d243ba865babad54d579485ffab"/><file name="AnniversaryTriggerDescriptorBuilder.php" hash="a3a3521e9ef2ca65b2973553c398cf11"/><file name="AttributeTriggerDescriptorBuilder.php" hash="d308ce93f7b061529cd3a282511ce32a"/><file name="DailyTriggerIntervalBuilder.php" hash="00cf93764b8f0e94050399c490df4579"/><file name="HourlyTriggerIntervalBuilder.php" hash="fc4e8c62c6145ddbdae88421a2160411"/><file name="IntervalTriggerDescriptorBuilder.php" hash="9885d3d7511badadb20c6ca42005a4ec"/><file name="MonthlyTriggerIntervalBuilder.php" hash="cb70203959b2d4f4046e5e323d68fb79"/><file name="TimeTriggerDescriptorBuilder.php" hash="d73eba7a83dc3e28052e9785518fefb8"/><file name="TimeTriggerDispatchInterval.php" hash="7f10a01e10efa1aaf1ec7d9e31f09757"/><file name="TimeTriggerOffset.php" hash="dad792f6bfb445de6e4ea8450fa3b377"/><file name="TimeTriggerOffsetType.php" hash="68cd3c7119fb148325cf4d4ba6360f63"/><file name="TimeTriggerUnit.php" hash="a48e5c4ee6e0550bc8021d9d2697d37a"/><file name="TriggerDescriptor.php" hash="c8e82bf5239a5c0d66452f9e72b317e8"/><file name="TriggerDescriptorBuilder.php" hash="4affc3a11cb57854b457c6dfc590f211"/><file name="TriggerDescriptorBuilderFactory.php" hash="29eafd239dbee70106ebc618168ab9ea"/><file name="TriggerInterval.php" hash="b48708f6eee52a4a74efb39ae5a24ee9"/><file name="TriggerIntervalBuilder.php" hash="c21d6a4436b946eaed754b3fc104e0a7"/><file name="TriggerIntervalBuilderFactory.php" hash="5c0f27c68d110f5077fbb4d9f6a0982e"/><file name="TriggerType.php" hash="6eaaeb5325dabea3a1673148a69e9229"/><file name="WeeklyTriggerIntervalBuilder.php" hash="17d3a0f06eee2f5b12d6f7573d7a6c1c"/></dir><file name="FilterConcatenationType.php" hash="486ea82e75c32dd449c52644f7d77f68"/><file name="SendException.php" hash="f03297f29bd7b3ad34b0d56dda67d78e"/><file name="StateFilter.php" hash="b93c0ce8146775effb56f4616f85175f"/><file name="TriggerMailing.php" hash="2ecdedd81fc3efc5c61665f1aab308a0"/><file name="TriggerMailingAttribute.php" hash="c888b38755e78e9385fe61ec70c40e8c"/><file name="TriggerMailingManager.php" hash="bf4da5a5c5f62ab9bb6f9a90c4ede829"/><file name="TriggerMailingState.php" hash="a6bc00ab248f58cb24edeac772018c67"/><file name="TriggerMailingStateException.php" hash="1cad16b7478d16b1b7a89477879b40f4"/><file name="TriggerState.php" hash="9e4c573fc11d95991f495d99e3d8b25a"/></dir><file name="UnknownRecipientException.php" hash="fd60fbb2a862018902446c22acae3e39"/><file name="UpdateException.php" hash="5eab1ab678e906461ca4e3ba521c6303"/><file name="User.php" hash="2f5ffca72a24971bccd0195ba0716f96"/><file name="UserContext.php" hash="0b3a302e4fe70e44750a50980afd82ad"/><file name="UserRights.php" hash="2fb507c14e8b68075b37ec44a7291743"/><dir name="Util"><file name="TellAFriendException.php" hash="7af24d87796588d0ba7039dcba78feb8"/><file name="TemporaryMail.php" hash="c3c16bd04fa21483f3d4e4394081cd56"/><file name="TemporaryMailSender.php" hash="6257ca5b5e5c50010a2126fb3cef6db5"/><file name="Utilities.php" hash="10e7d85f3b184a036b6ce95998c262bf"/></dir><dir name="Webpage"><file name="Webpage.php" hash="d98a3894eb2bfab82a8bae10bf5aaba9"/><file name="WebpageManager.php" hash="f6e9405179c2f446eab8aec1243aa482"/></dir></dir><dir name="Apiimpl"><file name="AbstractSession.php" hash="366356783cb67b94499c793421367ed3"/><dir name="Action"><file name="ActionConstants.php" hash="74a1aeb6dd6d8c26d3e3261b8f3ecf85"/><file name="ActionImpl.php" hash="ced12b8990fdddf5dec76ca33cc3e12e"/><file name="ActionManagerImpl.php" hash="5709583e18ee4639849691287a7d95c9"/><file name="CommandFactoryImpl.php" hash="c2801cba3e569a08497be0a4add29e2e"/><dir name="CommandImpl"><file name="RemoveRecipientCmd.php" hash="e93a7dfa8e73123f7f92557f5e660826"/><file name="SendActionMailCmd.php" hash="f29e9df8e314c6f0dfb3d00ffd43217c"/><file name="SendMailCmd.php" hash="06635dc1b6a6a5d1707ac71985e1cb99"/><file name="SetValueCmd.php" hash="306741c4895fc7c6a95d4cea8c7b3297"/><file name="SubUnsubscriptionCmd.php" hash="697dfc43dba052f25aa5e3153266e710"/><file name="SubscriptionCmd.php" hash="49ec5d0ebea09f7d511b0c91f3a03dea"/><file name="UnknownCmd.php" hash="85771d39dcb89ca92d00b15c2408105e"/><file name="UnsubscriptionCmd.php" hash="9c15f0764ff5c03498800f3fe5282ea6"/></dir><file name="CommandImpl.php" hash="e7d80d2d2415f8f9a908aaec9c57161e"/></dir><dir name="Approval"><file name="ApproverImpl.php" hash="32bbc6581959b5ff793aa484a2369451"/><file name="ApproverManagerImpl.php" hash="76db65517b94044bfedc8ff31e0d9e7f"/></dir><file name="AxisPluginStatusService.php" hash="603ea9d715bdc026061fe75a2ad6d748"/><dir name="Blacklist"><file name="BlacklistConstants.php" hash="d9c866914eccb44f58c413c81afcf529"/><file name="BlacklistEntryImpl.php" hash="debc3c7e2b6c4e1efdf65f2a07d14937"/><file name="BlacklistManagerImpl.php" hash="223b2f3d17c8c90000ac2edcd16236f2"/></dir><dir name="Bounce"><dir name="BounceDelegateResultSet"><file name="AttrGetter.php" hash="8b73e66a19560bf4b567f1aac3d2ca50"/><file name="BooleanGetter.php" hash="60b49a6a4aa967b762b12bf7ffafc585"/><file name="DateGetter.php" hash="89aaecf9603070a8ea128b96a5a3a7c0"/><file name="DateTimeGetter.php" hash="c6fa4b1487a2bea04b288f8cea610f11"/><file name="DoubleGetter.php" hash="5a8a9a23bc69368d04db85941dc8bd3b"/><file name="IntegerGetter.php" hash="d72cb5d5ad480f3e3aea2cbf661dfa9e"/><file name="StringGetter.php" hash="8f0b26bc051973eca763d3c4e951de2b"/><file name="TimeGetter.php" hash="d33ce9e6156a8f525999b070335d9fa5"/></dir><file name="BounceDelegateResultSet.php" hash="39f62cc6a18b6c47e62f549399e724fc"/><file name="BounceImpl.php" hash="61c3014494fa5a271f46254160a4d06c"/><file name="BounceManagerImpl.php" hash="cee52bb74330be832e3846124f860406"/></dir><file name="Constants.php" hash="87f4b4f239aeabb0cc26d277de41d0af"/><dir name="Core"><file name="AbstractBOResultSet.php" hash="1b22b1a5af50855d65be0926d4d9008d"/><file name="BOResultSetDelegate.php" hash="08aae66cb0774e3d5ae2413ac99eada0"/><file name="DelegateBOResultSet.php" hash="e37acd15f3d15c72661efa2265673eac"/><file name="RemoteInputStream.php" hash="fe5e1f5928d764d0e651cb0172698cdd"/><dir name="SubscriptionLogEntryRowSetImpl"><file name="AttrGetter.php" hash="58bb75f9a98bed790eaa685bccf9eb1e"/><file name="BooleanGetter.php" hash="63c2763d28807231f54b8c4d40535b3b"/><file name="DateGetter.php" hash="c8e88abc79f49050bcfdf63d157c9040"/><file name="DateTimeGetter.php" hash="ae8403a6cbb9240eb3e019f2d9ebcc5e"/><file name="DoubleGetter.php" hash="27672e785d1014d2f9b3fda018851dfc"/><file name="IntegerGetter.php" hash="ade0248e8c338d26aa56fc5e8e15ed0c"/><file name="StringGetter.php" hash="33a479437ff798fa58371e2876b250f9"/><file name="TimeGetter.php" hash="9d6083a04aa80f6158a48970610ead0d"/></dir><file name="SubscriptionLogEntryRowSetImpl.php" hash="002abe10cb728b486201dd46095edba0"/><file name="SubscriptionManagerImpl.php" hash="63c6e5ac06ab3142793f582fcd5fcadb"/><file name="Uploader.php" hash="2271e891897c304df0623cd66eb58d76"/><file name="UserContextImpl.php" hash="d8f9432a80443d133b3b7c79496a687b"/></dir><dir name="DataAccess"><file name="ClickDataImpl.php" hash="25777a8b89ba20899d53a3cadb89e36c"/><dir name="ClickDataRowSetImpl"><file name="AttrGetter.php" hash="2a7b36951f6065e4aff60d1a57a04c56"/><file name="BooleanGetter.php" hash="c61543b88d05f5f6f9aa18795b33bd07"/><file name="DateGetter.php" hash="c8e88abc79f49050bcfdf63d157c9040"/><file name="DateTimeGetter.php" hash="ae8403a6cbb9240eb3e019f2d9ebcc5e"/><file name="DoubleGetter.php" hash="27672e785d1014d2f9b3fda018851dfc"/><file name="IntegerGetter.php" hash="ade0248e8c338d26aa56fc5e8e15ed0c"/><file name="StringGetter.php" hash="33a479437ff798fa58371e2876b250f9"/><file name="TimeGetter.php" hash="9d6083a04aa80f6158a48970610ead0d"/></dir><file name="ClickDataRowSetImpl.php" hash="1f537a23d4fdde838afa3b9d01f1a209"/><file name="DataAccessImpl.php" hash="a54e73e74a8d6259f4c76ee60f3dc390"/><file name="LinkDataImpl.php" hash="a167a01f54e6a60f6362b2ce15ee3e1f"/><file name="LinkDataRowSetImpl.php" hash="70ba51962968972525d18acfd9043815"/></dir><dir name="DesignTemplate"><file name="DesignCollectionImpl.php" hash="7cadf4102f290eac0d72e6b5f9efd1b1"/><file name="DesignCollectionManagerImpl.php" hash="3dfbfbcee75272e54824f07263f756db"/><file name="StyleImpl.php" hash="92597b11655c9d88a0e11af75a89fa65"/><file name="TemplateImpl.php" hash="ea5e87fe355d762ef205d8453598cfd4"/></dir><dir name="Filter"><file name="FilterConstants.php" hash="247f2f9de64e30069e2daa9937bd0e50"/><file name="FilterImpl.php" hash="c0dfe42dfc79f7eeb3a84bf9757e852c"/><file name="FilterManagerImpl.php" hash="0164491a48e5cf358dd7a50811b7b618"/></dir><dir name="Inbox"><file name="InboxManagerImpl.php" hash="2feea5f2de6275d9022219cc494bd818"/><dir name="InboxMessageDelegateResultSet"><file name="AttrGetter.php" hash="82502b8cefdbec6b430258e997e4b1cc"/><file name="BooleanGetter.php" hash="6818d23b7d7dabe8b2e6eebee9b4137a"/><file name="DateGetter.php" hash="524790444c7c622ae8f443c797a805ee"/><file name="DateTimeGetter.php" hash="1622651e10e6afa88790100f9cca20e1"/><file name="DoubleGetter.php" hash="365b9e043d150bcb4ee2fc91ea882773"/><file name="IntegerGetter.php" hash="e0c692483087d923cb73c6379afb1388"/><file name="StringGetter.php" hash="628ca239a954b14ae4cb7e2d4e0b3755"/><file name="TimeGetter.php" hash="8195d1dc4e65a9ae837917d16471ac4a"/></dir><file name="InboxMessageDelegateResultSet.php" hash="ecd44b7e22451bf1a835859bb28b6062"/><file name="InboxMessageImpl.php" hash="d9db75483d161b9533c4b3d27c83f70d"/></dir><dir name="List"><file name="AdminListImpl.php" hash="afd81aafa65e79865c09002890ef65c8"/><file name="FilterListImpl.php" hash="c40b6123238e2d5d7f6de58de12b1990"/><file name="ListImpl.php" hash="306508d309e35b82b1f7e225c6e8bd02"/><file name="ListManagerImpl.php" hash="0c839addd7516061a7b3ad3e7781dfae"/><file name="ListSizeImpl.php" hash="7ea8bade241c4fb42f956c14a12e0524"/><file name="StandardListImpl.php" hash="dfd14c838f2e6eec058e62bb071826a6"/><file name="SystemListImpl.php" hash="f0e1a9c57a4835a1c437e1678e8f99df"/></dir><file name="Loader.php" hash="06c03170fbacc4ad85829f6573336fc1"/><dir name="Mailing"><file name="AttachmentImpl.php" hash="df430eef73df1f53a5ccdb0c08e844df"/><file name="MailContentImpl.php" hash="7b81da013dab665caee1f833523e2794"/><dir name="MailingContentHandler"><file name="HtmlTextImpl.php" hash="7087dfaed8228eca6882fdfe57cbef02"/><file name="MultiPartImpl.php" hash="4c2cb5a94a61a379fea7ace4f8217dfa"/><file name="PlainTextImpl.php" hash="e33648a7b317f51ecb6525eda81347ae"/><file name="XsltHtmlTextImpl.php" hash="5e93ac256aeb80b9f2a7c7492926c679"/><file name="XsltImpl.php" hash="3d8f5a55878fce4342bface3bfda3f7e"/><file name="XsltMultiPartImpl.php" hash="e46e58c66051c2b38f33e30b63c0c3dd"/><file name="XsltPlainTextImpl.php" hash="3958c721b9a17f85a8879e5afabca80b"/></dir><file name="MailingContentHandler.php" hash="fa6ea25815af13c4656af774f54d8889"/><file name="MailingImpl.php" hash="e424d34ee50e06fc2887c1ea6bd62f4c"/><file name="MailingManagerImpl.php" hash="5920edd03e47b0a28edc76ad92204709"/><file name="MailingRendererImpl.php" hash="4d09f47dd637f5855db2746412c7f75b"/><file name="MailingRendererTestRecipientImpl.php" hash="9e8ebf01574d6a75fd77edaae256d2cf"/><file name="MailingResultSet.php" hash="bf36e35f23dbf47bf61d532a414d9b72"/><file name="SendingInfoImpl.php" hash="fd8b6c08b3231e19a74363997d43b905"/></dir><dir name="MailingTemplate"><file name="MailingTemplateImpl.php" hash="53df0ce9521f8b69c117a29c3b2227f1"/><file name="MailingTemplateManagerImpl.php" hash="22ee020c705efec9bdc839d93d8a1e8f"/></dir><dir name="Plugin"><file name="PluginStoreImpl.php" hash="558472c2a8a1c6806f03be4f62a58ab1"/></dir><dir name="Property"><file name="PropertyConstants.php" hash="40d084ab962b5956dd8a78a309c263e5"/><file name="PropertyContext.php" hash="625bad971dde275ae6ce7ac332aa4b81"/><file name="PropertyFormatterImpl.php" hash="261a66755cb02d4879f2133c375989ea"/><file name="PropertyImpl.php" hash="36a52eea4c348604c64ac39cf81bbbdd"/><file name="PropertyResultSet.php" hash="b56075efd98e833c528948e4c00b93ad"/></dir><file name="PropertyConstants.php" hash="458851dbc66df3d4da374142a5e8e69e"/><dir name="Recipient"><file name="AttributeManagerImpl.php" hash="694f265c4ed1123cde65fbbe08e3f511"/><file name="BatchChannelImpl.php" hash="69cdb8e281c0d3b2bbe2a464ba6d36d8"/><file name="Constants.php" hash="5e046f745599ff85e4ac1ce215115825"/><dir name="ContextAttribute"><file name="Boolean.php" hash="247d8891d8f4807bd98499a92eeeb051"/><file name="Date.php" hash="ced2272afc797857c6de053dbd4eda26"/><file name="Datetime.php" hash="b007ce13ceab79a750f1fb20b2ca9100"/><file name="Double.php" hash="0f2873be6232da1736eacfd5d20d4657"/><file name="Hardbounce.php" hash="216e37c076ffb70c31670078c8d5d382"/><file name="Id.php" hash="6cc74d2d3d5cbfbae5ecc9c15e186e2c"/><file name="Integer.php" hash="c68e8ae314a37cb321e87b96f13b833e"/><file name="LastModification.php" hash="34d04005261bdea969ad12127ec43b3c"/><file name="String.php" hash="a6f6c8b0c3a0ec283c5bf9ffdcf1ed9f"/><file name="Time.php" hash="ddfdd18d1dcffdb147f8e27d732b3550"/></dir><file name="ContextAttribute.php" hash="de003d91940ff1e4f1cded41cae2f5aa"/><dir name="RecipientContextImpl"><file name="AttributeIterator.php" hash="24cc0dfeca1ce2ed454aae1577ccc4ce"/></dir><file name="RecipientContextImpl.php" hash="739c663bf370e4cb6ea866376b30604f"/><file name="RecipientRowSetImpl.php" hash="60698d565344f0874fa6daf0a9f30d3b"/><file name="UnsubscriptionRecipientRowSetImpl.php" hash="e6f71e2ca9b6119d54724a2b76f35631"/></dir><file name="RemoteObject.php" hash="52f1193e8d9c7e8c2b7ad0fa7c3b7721"/><file name="RemoteRef.php" hash="213124297bba53fe084229e03e705cc5"/><file name="RemoteRefImpl.php" hash="da4e211ac03eb96b7929b748fc40d1af"/><file name="RemoteSession.php" hash="bd21442d873951d915c34768e60ace7e"/><dir name="Reporting"><file name="ConfigDescriptorImpl.php" hash="e150c21c38adeaa16a9094771c664e4f"/><file name="ControlImpl.php" hash="41eb512af20e38f8c7ed71c2ec5c012e"/><file name="ControlUnitImpl.php" hash="81685a0630edcba2c2d8e11a52506509"/><file name="DownloadableResultImpl.php" hash="c7f58021e8899702bf5dd50e701d4d0c"/><file name="ReportEngineImpl.php" hash="483a7b4def4a1db73c65ef32946b085d"/><file name="ReportTicketImpl.php" hash="ac6ddf705cf29f1268255ca80f38fc5f"/></dir><dir name="Resource"><file name="ResourceImpl.php" hash="43c67ae74d0fc2ee1f35c9fe76298239"/><file name="ResourceManagerImpl.php" hash="2fdb8e086191af66544d5e48d96f128b"/></dir><file name="SecureLogin.php" hash="fc83766437f46880f60071639282608d"/><file name="ServerTimeImpl.php" hash="71a279306057568a33fcff5e2f58a958"/><file name="SessionContext.php" hash="3ea4635546b3623d3ce9e31abfff439a"/><file name="SoapClient.php" hash="50eac81424af6902de2339a31c12338c"/><file name="SoapException.php" hash="84de1d5c15ede940d4c8ee180e2f7ea3"/><file name="SoapSession.php" hash="cf0e319e1e79650ccf774319215d492c"/><file name="TConvert.php" hash="4de4d743739f1383aa8ceaefcb02192f"/><dir name="Testprofiles"><file name="TestRecipientContextImpl.php" hash="97b0ba79a281d6b1edb8b9abb41f6bb1"/><file name="TestRecipientRowSetImpl.php" hash="543eaf464ac94ac515f2fe9d4fb801ea"/></dir><dir name="TextModule"><file name="TextModuleImpl.php" hash="2cf0aff8d065bd133479a61a96e7915a"/><file name="TextModuleManagerImpl.php" hash="79dd597fef46c569cbcf31d28e2b1b4c"/></dir><dir name="TriggerMailing"><file name="AttachmentImpl.php" hash="bd1df9a6da6136dcdcb66edd408b5f4c"/><dir name="Descriptor"><file name="ActionTriggerDescriptorBuilderImpl.php" hash="66aac7a9840714a717b0f2930f650952"/><file name="AnniversaryTriggerDescriptorBuilderImpl.php" hash="fdeb6a31e452260cb76e032891dbcad4"/><file name="AttributeTriggerDescriptorBuilderImpl.php" hash="611ff638c4b9817b6c76f61be7e0e422"/><file name="DailyTriggerIntervalBuilderImpl.php" hash="cd3fe4a4bb066a85e1237ec5bbffdbbc"/><file name="HourlyTriggerIntervalBuilderImpl.php" hash="4280e214d8b893967bc65a259eebbdc3"/><file name="IntervalImpl.php" hash="6787b58ed62ec9b4621f67406663ff30"/><file name="IntervalTriggerDescriptorBuilderImpl.php" hash="cebd6dc93fa823787bb765a5f36b9da6"/><file name="MonthlyTriggerIntervalBuilderImpl.php" hash="6d1a1b34a7405240a63e13e105897bb6"/><file name="TimeTriggerDescriptorBuilderImpl.php" hash="fc98ebac354a04813fce2003e85884e3"/><file name="TriggerDescriptorBuilderFactoryImpl.php" hash="626622f3029813b19e8360457d5d186d"/><file name="TriggerDescriptorImpl.php" hash="bbb9893d1b2fab58ba56c81402a042e4"/><file name="TriggerIntervalBuilderFactoryImpl.php" hash="da016c030c3a5e3b4d39b2b72df86474"/><file name="WeeklyTriggerIntervalBuilderImpl.php" hash="0483f56c4e23bddeaaf76f059cd722c3"/></dir><file name="StateFilterImpl.php" hash="f0cc8550f5d05784d49d4a3f7238e14d"/><file name="TriggerMailContentImpl.php" hash="4638baf41a9cb0af49eefd7c44ad4969"/><file name="TriggerMailingContentHandler.php" hash="d476e9928911d50f3ab4cbd49fcbdd40"/><file name="TriggerMailingImpl.php" hash="37d8510a90056b00587befdf80a901a9"/><file name="TriggerMailingManagerImpl.php" hash="6de8be001a4cc1c51f41456737f4c518"/><file name="TriggerMailingRendererImpl.php" hash="bd725ba3aab577d93f802dbe5b809e23"/><file name="TriggerMailingRendererTestRecipientImpl.php" hash="f139f2484325f67ed4aa12113e947a0a"/><file name="TriggerMailingResultSet.php" hash="9df09d590dd10b483c2e9cdfa33d2c4f"/></dir><dir name="Util"><file name="IndexException.php" hash="480c87ff5460fcf0157a9729e3ead51f"/><file name="IndexedBuffer.php" hash="497f1014582403bdbb2bff2d8c8eb383"/><file name="SelectionUtils.php" hash="64c5d73ab278f67bac773489dafafb3b"/><file name="UtilitiesImpl.php" hash="0609d0dce8a15f7f53165bb06a2c5b4d"/><file name="Utils.php" hash="ef57aca9e50dc7db5002580a24d42432"/></dir><dir name="Webpage"><file name="WebpageImpl.php" hash="eba8e6e7de90d5c39f7fa413c17c8cf3"/><file name="WebpageManagerImpl.php" hash="4ea70aba2e449f8c683e3628492ec875"/></dir><dir name="wsdl"><file name="ActionService.wsdl" hash="03ffe3b53e0e9bbaeff20151b7d711f9"/><file name="ApproverService.wsdl" hash="5aebaac503eb355609866c8268051b9c"/><file name="BlacklistService.wsdl" hash="6784a2074e19a6bcc326b6a8faf55a78"/><file name="Bounce2Service.wsdl" hash="b9ff658fc78c0a124c5f06cdac68d69f"/><file name="BounceService.wsdl" hash="573f8b0b462a779a12a58e0e33e3c95a"/><file name="CoreService.wsdl" hash="dbc8f7e565c40d8d4f78822060f1055d"/><file name="DataAccessService.wsdl" hash="003e64c10810fbaeacf037b687eaab03"/><file name="DesignTemplate2Service.wsdl" hash="e40633cf326e85b6a2e5c2916745d712"/><file name="DesignTemplateService.wsdl" hash="760ecee7729556c5f5acd61e57c06c7e"/><file name="FilterService.wsdl" hash="a0e5170978f082e73652305310e227c6"/><file name="InboxService.wsdl" hash="dfb06d8896895c93fc6e25678cd3fbaf"/><file name="ListService.wsdl" hash="14c650229911a7a713d2d44cbd4bfa97"/><file name="Mailing2Service.wsdl" hash="79a58ab9fe54cd7c729d76736a40f672"/><file name="Mailing3Service.wsdl" hash="846b220ef8f771e82c0eff2aee5d7edc"/><file name="Mailing4Service.wsdl" hash="f48c5bb37dc0e23e78a64be58d4ec576"/><file name="Mailing5Service.wsdl" hash="f6306b889609b6eb6165b057bc6f163e"/><file name="Mailing6Service.wsdl" hash="bc30c36e23b80309ad23ddcebd9200e0"/><file name="MailingService.wsdl" hash="89fb9f5cb3e4ad662ef3cb91fb5f55a7"/><file name="MailingTemplateService.wsdl" hash="364a418da074c02b72c109a8423c7107"/><file name="PluginService.wsdl" hash="024d045daa3151e9366231d206717dbe"/><file name="PropertyService.wsdl" hash="c9d4dd7ca1dc552bdca45c523424987e"/><file name="RecipientService.wsdl" hash="4cfa582fffa4046ca0105e2c3ed9d086"/><file name="ReportingService.wsdl" hash="f0165460f37387724875fb940555b7d5"/><file name="ResourceService.wsdl" hash="9ff6f3b0769d946e1e5cac9230f65291"/><file name="TestrecipientService.wsdl" hash="79964cffe88138008c13a6a887cb33d3"/><file name="TextmoduleService.wsdl" hash="1144a7e8d82d500340a808524618dc30"/><file name="TriggerMailingService.wsdl" hash="e956b03275783f07bc14aa33eced0502"/><file name="UnsubscriberService.wsdl" hash="7bdb5f68d56ea3de62c85c449fbab890"/><file name="WebpageService.wsdl" hash="be874f919835b630efc6dc2a1ae7e554"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="dndinxmail"><dir name="images"><file name="ajax-loader.gif" hash="a51c5608d01acf32df728f299767f82b"/><file name="bkg-inxmail-sync-bar.png" hash="7f07f66c431d62a772fa0e806b16c9be"/><file name="inxmail-logo.png" hash="efd5c9ee6f517cfd873ddcdcb11ad85d"/></dir><file name="inxmail-synchronization.css" hash="4515e5b1c99ede764d2a2c7d88c50e35"/></dir></dir></dir></dir></target></contents>
42
  <compatible/>
43
  <dependencies><required><php><min>5.2.13</min><max>5.3.24</max></php><package><name>Mage_Newsletter</name><channel>core</channel><min>1.6.0.0</min><max>1.6.0.0</max></package></required></dependencies>
44
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DndInxmail_Subscriber</name>
4
+ <version>3.1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-v3.0</license>
7
  <channel>community</channel>
34
  Time-controlled dispatch via the Inxmail mail servers.&#xD;
35
  Return transfer of unsubscriptions to Magento. &#xD;
36
  Comprehensive success measurement directly after the mailing has been dispatched.</description>
37
+ <notes>Version 3.1.0.2</notes>
38
  <authors><author><name>Agence</name><user>DnD</user><email>magento@dnd.fr</email></author></authors>
39
+ <date>2015-05-06</date>
40
+ <time>09:57:23</time>
41
+ <contents><target name="magecommunity"><dir name="DndInxmail"><dir name="Subscriber"><dir name="Block"><dir name="Adminhtml"><dir name="Newsletter"><dir name="Subscriber"><file name="Grid.php" hash="f832c456879ba7b26074b072d71dce66"/></dir></dir><dir name="System"><dir name="Config"><file name="Date.php" hash="0f3d67458ba58968986ff12ef96dc480"/><dir name="Form"><dir name="Button"><file name="Groups.php" hash="359bd306f3c97f118de05f4be88667a5"/><file name="Subscribers.php" hash="69fa5ef916dd6f82ee3c99ab3872aaef"/></dir></dir></dir></dir></dir><dir name="Synchronization"><file name="Groups.php" hash="8d22edbccf9aac2c70dabf56237fb3e7"/><file name="Subscribers.php" hash="96bf55110cb916277558db85c2cdfa1c"/></dir></dir><dir name="Helper"><file name="Abstract.php" hash="f9e8ad0206a8f35a3d6814d797066129"/><file name="Data.php" hash="6980077e903569cf3c9328acfefc5938"/><file name="Error.php" hash="da28f79336d5d79fffd31f64fd7ffb21"/><file name="Group.php" hash="7264bb2eab0405bfda542b1ce2152e52"/><file name="Log.php" hash="94b10c3ef3659559a5ef375015130cb7"/><file name="Mapping.php" hash="4b0d5bf6c9ec45b6b8c3d50be8363297"/><dir name="Synchronize"><file name="Groups.php" hash="1f4f2eb27525a93dfbb8a9997d9a61fe"/><file name="Subscribers.php" hash="1980fc0ec613e72691342276305322e4"/></dir><file name="Synchronize.php" hash="486c72e7c47d5e8947eb1a8239c79c75"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="714b57d97c3efebf787ad88d05739524"/><dir name="Customer"><file name="Group.php" hash="b050b28c0f55fa6d8e6c2211189e47ad"/></dir><file name="Date.php" hash="cb76a71491ac1dce4ebe8fe4dfc44ac8"/></dir><dir name="Source"><file name="Attributes.php" hash="0e495983167a4b54d03f78ca649c041c"/><dir name="Cron"><file name="Frequency.php" hash="9867ea6d15c9be63df4c1996df13cd78"/></dir><dir name="Group"><file name="Specific.php" hash="3e11b70db81f9b945d35a7a5365c2411"/></dir><file name="Group.php" hash="783366b624bbf78ded0804590b63d969"/><dir name="Inxmail"><dir name="Columns"><dir name="Type"><file name="Dateonly.php" hash="e3468e40ee5e8ef3161d9f927a7316e7"/><file name="Float.php" hash="950606f09cf5555f2e595a6bc991b6eb"/><file name="Int.php" hash="f3a9ce7a26f194b17ec45542b658143f"/><file name="Text.php" hash="02fcee7160f294e3a09bc8c5006395c9"/><file name="Yesno.php" hash="1a94f0a25636390e1ca90478b2bb1f4b"/></dir></dir><file name="Columns.php" hash="2153e1a8059e2a549d4abb1ec506f7a0"/><file name="Lists.php" hash="afbde25881cd20c6643db41cd5a9b75f"/></dir><file name="Orders.php" hash="946356acce5c013ab3ff5e8142280049"/></dir></dir></dir></dir><file name="Observer.php" hash="5ec01349e05d1555a16a772611f7a214"/><file name="Xml.php" hash="e9318b41e147fe67c3c8f8fd588faf3b"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="InxmailcolumnsController.php" hash="f4e890129fd561a0cd9291f29d2fd5bb"/><file name="SynchronizeController.php" hash="8560252fc77b69429eb9d5ac69dc9ba6"/></dir><file name="LogController.php" hash="fb38eeac648f7095127069c1266622d5"/><file name="MessagesController.php" hash="f514ea6603e3c19507d7e58893ac9278"/><file name="SourceController.php" hash="124508b530542a01134ab57cec5adb26"/><file name="SynchronizeController.php" hash="2b063ee7eeb4af24295c41d8b29d6856"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1eec32d5166648c27a31b5273e66b419"/><file name="config.xml" hash="f872eca3fe3919f5eda14db7523da432"/><file name="system.xml" hash="74c84168e8125da2dd39f570ecd85400"/></dir><dir name="sql"><dir name="dndinxmail_subscriber_setup"><file name="mysql4-install-1.0.0.0.php" hash="f76dbd90576888fd82713ee3f77c0225"/><file name="mysql4-upgrade-1.0.0.0-3.1.0.0.php" hash="75f86e046783d9551af69601462ddd6c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="dndinxmail.xml" hash="907f8e29855ea20ed0862c97b759bbf7"/></dir><dir name="template"><dir name="dndinxmail"><dir name="subscriber"><dir name="system"><dir name="config"><dir name="form"><dir name="button"><file name="groups.phtml" hash="3518010bfad9268e6d5f8a1c822215e1"/><file name="subscribers.phtml" hash="52971eb90b80ff1b8d75423d7bd13949"/></dir></dir></dir><dir name="inxmail"><file name="columns.phtml" hash="9ed3d5cee08a6dae8dd6ce7af548b1c2"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="dndinxmail.xml" hash="7024e2dc71cb882c8302e7446c147216"/></dir><dir name="template"><dir name="dndinxmail"><dir name="page"><file name="messages.phtml" hash="b0155c06befe67c4c21c5d2132fda89e"/><file name="synchronize.phtml" hash="b75ff3207b177a717000a608d0d4ff9c"/></dir><dir name="synchronization"><file name="groups.phtml" hash="9364bb13013d288b882343ab32fe7c0c"/><file name="subscribers.phtml" hash="140ae60226f60ed122a97f91f13a2fbf"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DndInxmail_Subscriber.xml" hash="14b1afbc1cc53f1b75a97acbe07f0833"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="DndInxmail_Subscriber.csv" hash="b02bfa2f25f206343ee6c6eaf567e94c"/></dir><dir name="fr_FR"><file name="DndInxmail_Subscriber.csv" hash="579409bba6113f651243c8ce41b4c689"/></dir></dir></target><target name="mage"><dir name="js"><dir name="dndinxmail"><file name="synchronize.js" hash="c00f2c2002dafa6eb39da796642c1836"/></dir></dir></target><target name="magelib"><dir name="Inx"><dir name="Api"><file name="APIException.php" hash="cd54a0750901485e9e8690de5ad5246a"/><dir name="Action"><file name="Action.php" hash="23cc64b7041d4c4cb8876a688eba717c"/><file name="ActionManager.php" hash="0d8cb6ed17517521d7b4887524f78cd6"/><file name="Command.php" hash="e43628257e4e70d8368c72c4bab0dd08"/><file name="CommandFactory.php" hash="07e7a034db4e787bd6e4008c2f77a4e2"/><file name="DeleteRecipientCommand.php" hash="e16c5082c0f8b891935d19e7bf5bac37"/><file name="SendActionMailCommand.php" hash="d4d89666620ebed59abc821037f7fba0"/><file name="SendMailCommand.php" hash="ea2965978e83d551f78f1b899c2575aa"/><file name="SetValueCommand.php" hash="daa643eb5e324c30d27ba562553ccd19"/><file name="SubUnsubscriptionCommand.php" hash="639cf2bc611b0aae9de59648a987fa6f"/><file name="SubscriptionCommand.php" hash="d1b95af63560ad49ba8aa82b2301684b"/><file name="UnsubscriptionCommand.php" hash="bf342168d8664f1bab148a7c585b120f"/></dir><dir name="Approval"><file name="Approver.php" hash="398c2baf6a7e16aed03d116a98f0574d"/><file name="ApproverManager.php" hash="b86d3f424e9fc4ada85f019d9d6409d3"/></dir><file name="BOManager.php" hash="6bb31e5f0dca4d04a7ec68a9599f2890"/><file name="BOResultSet.php" hash="e17bfdd0707f65398a0869285ef52f1f"/><dir name="Blacklist"><file name="BlacklistEntry.php" hash="271260e423d8ab8bb68d3055a82ff3df"/><file name="BlacklistManager.php" hash="01c653c0f335409c7f92d18999abfcf1"/></dir><dir name="Bounce"><file name="Bounce.php" hash="71003bfc1527e6577990f608b047c1c8"/><file name="BounceManager.php" hash="4597ee77483225e46936e9a8953cf915"/></dir><file name="BusinessObject.php" hash="dde00faedf1b976feac319b77ed31fbc"/><file name="ConnectException.php" hash="9f169bb2be254fac472324e543b95346"/><dir name="DataAccess"><file name="ClickData.php" hash="c4480f959e7bb258c8971e067b25fd31"/><file name="ClickDataRowSet.php" hash="0ba81ac549741b99cb25e7fe3a471741"/><file name="DataAccess.php" hash="558312518d83567bab8afa08be34a155"/><file name="DataRowSet.php" hash="b4c1b1c6cd54b94c507918e1585f4eee"/><file name="LinkData.php" hash="d76aaa1d4a682ccba89c4a03bffb57ca"/><file name="LinkDataRowSet.php" hash="b1f6b1015172c08ea9e913b74bb9a3a3"/></dir><file name="DataException.php" hash="ec356035ac146b8aa9abbbc86f0ec9b6"/><dir name="DesignTemplate"><file name="DesignCollection.php" hash="8f359298cfa099a9b21820948e5bb375"/><file name="DesignCollectionManager.php" hash="259d40303f757e3de4c61be78a9a6ea4"/><file name="ImportException.php" hash="707077dc9a6b772614484702049e4116"/><file name="Style.php" hash="7429cad366a613b77a6abc1af08a07e5"/><file name="Template.php" hash="223f216d718685d1ac0ee188d49d40e8"/></dir><file name="FeatureNotAvailableException.php" hash="aac4c80f2bcf5aa8afb82133bec65080"/><file name="Features.php" hash="4b8264a9b46f730d1b60868ff3652b5c"/><dir name="Filter"><file name="Filter.php" hash="8c6e719b971ea97b77e4dcfa982e37c6"/><file name="FilterManager.php" hash="ab13a6505d2d104b558cbd782b404013"/></dir><file name="FilterStmtException.php" hash="bb0647ba81e91e2a828008176ec4e31e"/><file name="IOException.php" hash="6529a0521cba31d7cd21e2480b7cf539"/><file name="IllegalArgumentException.php" hash="97dd2b482dc3f3432e210ee8de7537a1"/><file name="IllegalStateException.php" hash="554021016305c9f925f7a5b9a916b7f1"/><dir name="Inbox"><file name="InboxManager.php" hash="eacdb6f94329afcc7c30022429d127dd"/><file name="InboxMessage.php" hash="2f15d1a04656cf3a168b272955ca78a1"/></dir><file name="IndexOutOfBoundsException.php" hash="b6540c77abfe67a4babd3d1d81ebb07d"/><file name="IndexSelection.php" hash="d945202618cf627deba0c10f689eaaff"/><file name="InputStream.php" hash="ea8f19a4cb5abe7f2dc7f8abee3f81d5"/><dir name="List"><file name="AdminListContext.php" hash="baa67ed7444f9193c93d924103a9e5ba"/><file name="FilterListContext.php" hash="778e53fbd218fc7dc41c652b7becae9e"/><file name="ListContext.php" hash="7e497880ce83f2d6e5e929f70ca2035b"/><file name="ListContextManager.php" hash="7d1a13a02e0a2b9d060a18d16ae28f4c"/><file name="ListSize.php" hash="23c93e1d8135e8c065cc2e97bdc315e0"/><file name="StandardListContext.php" hash="31003ba4eb787850f5f7193568da34a7"/><file name="SystemListContext.php" hash="abd62b603790f0a9f74808fed8494b37"/></dir><file name="LockException.php" hash="1bfb472512c9afc6cffecef9ed3a7139"/><file name="LockTicket.php" hash="895d6dda37856b22ad966aecc343205c"/><file name="LoginException.php" hash="b2dd030c5b9138be4eb54034c16c65a2"/><dir name="Mail"><file name="Attachment.php" hash="1b51017705f23a73c0595b9e77526424"/><file name="BuildException.php" hash="6131f755acbe53ef30ab1f7ee598a1cc"/><file name="HeaderField.php" hash="41064f0a57c96ddfb45f6261ff6a47a4"/><file name="MailContent.php" hash="f00f4eb2796b0cbcfbedcd13c42a28e5"/><file name="MailingRenderer.php" hash="db148e8e3be09298c02164c2081bef77"/><file name="ParseException.php" hash="3dbcfd375240d124f6212c97f2270f89"/><file name="RenderError.php" hash="8c394c5e1e4ccf436b48a890a6069e19"/></dir><dir name="Mailing"><file name="ContentHandler.php" hash="cfa856aff7def9d8cac5274b45754084"/><file name="HtmlTextContentHandler.php" hash="687074edc0da205eb0db697f22b9d64a"/><file name="Mailing.php" hash="55917ad43a5edfc9af645cd6ba2bbba0"/><file name="MailingConstants.php" hash="0a55df985533e0b1a9ba5166ad55db31"/><file name="MailingManager.php" hash="e374e0df727e4fdf6250ebab3ff7ef87"/><file name="MailingStateException.php" hash="7451ae5d08df03b4f72bdf92eb3580f0"/><file name="MultiPartContentHandler.php" hash="125509bfc68c52f34edd204c8dae19b0"/><file name="PlainTextContentHandler.php" hash="3b3604686f849b44ea34920e9526b017"/><file name="SendException.php" hash="4dd20378fabed595ea2f2824d421e74d"/><file name="SendingInfo.php" hash="eab51cf10fdfafcd5a5e905bd560c84c"/><file name="SinglePartContentHandler.php" hash="ecc3d8494628332f2f9cafce326acc96"/><file name="XsltContentHandler.php" hash="d294b4d09ede46479b51f5f00f0bdc86"/><file name="XsltHtmlTextContentHandler.php" hash="880545751bd4bbe08a3aec9851ff0c4d"/><file name="XsltMultiPartContentHandler.php" hash="58de83e1979120d77da8b7fb968dcbc8"/><file name="XsltPlainTextContentHandler.php" hash="7fdc485ccf55e74053306451b00eb143"/></dir><dir name="MailingTemplate"><file name="MailingTemplate.php" hash="57fdee4dcbe65ccf5a11c251fff402d3"/><file name="MailingTemplateManager.php" hash="582c7e37c56e2841ca3975e2432e9a50"/></dir><file name="NameException.php" hash="e4881c80503e2da8f7714d1e21ebe5cc"/><file name="NullPointerException.php" hash="efd39dcce2a3a8b8c457e3c60db42b30"/><file name="Order.php" hash="5a24339bdb8f501764e03532fb69fa21"/><dir name="Plugin"><file name="PluginStore.php" hash="a54c99a07a7353c2af66df1e83fd8d22"/></dir><file name="PluginStatusService.php" hash="2dcf3e299611d85e92b6c24b62ca0caf"/><dir name="Property"><file name="ApprovalPropertyValue.php" hash="12c56a0d34b6c77cc658b7f5adf882fe"/><file name="FormatChoicePropertyFormatter.php" hash="7bf1d3b42e63ec4e0593c1be9c39c3fa"/><file name="Property.php" hash="0e3b5236bee293b3b5f7f5e3d929de8a"/><file name="PropertyFormatter.php" hash="891ee029bc1f5889cf54661f02a008a1"/><file name="PropertyNames.php" hash="06d58e88d7aa417973677d4de02c1bd4"/></dir><dir name="Recipient"><file name="Attribute.php" hash="b491e14fb0675abe19e21ba9ec47511c"/><file name="AttributeManager.php" hash="c0b207d530795ade9eaeb329c2329531"/><file name="AttributeNotFoundException.php" hash="9df716b4504b2e7426696e9b48cff313"/><file name="BatchChannel.php" hash="7ff4ac60008aa69b362f71835833a051"/><file name="BlackListException.php" hash="2beb8ddb0bcfbbdfcfcb479185223ba2"/><file name="DuplicateKeyException.php" hash="1e7b3b0acd7ee6a5ec32aaf3b9dcf440"/><file name="IllegalValueException.php" hash="f2f93510caca40ef35dbfe8f93f107c4"/><file name="RecipientContext.php" hash="7337890f2d5ab48982f67f4b38fe67ce"/><file name="RecipientMetaData.php" hash="2ad66ae6de6d12618d2ca8896f4a06d4"/><file name="RecipientRowSet.php" hash="e3deb362047bc78ca25c8045ffcbe94a"/><file name="SelectException.php" hash="63315e8cd92fc6b1f6f881b1b5e6a8e5"/><file name="UnsubscriptionRecipientRowSet.php" hash="21527e9ebc00848cc4727f6e1172e044"/></dir><file name="RemoteException.php" hash="832a732fa39c1855c45cf65bf7f6877b"/><dir name="Reporting"><file name="ConfigDescriptor.php" hash="9e8438d540d70870824cdc863d803747"/><file name="Control.php" hash="899fc95b97943e3a8370004f753af3d8"/><file name="ControlUnit.php" hash="9f891fe50ee8879b07f0873a5766b1ae"/><file name="DownloadableResult.php" hash="afb8dd810d04f542a34f7a6c5b4cc25f"/><file name="ReportEngine.php" hash="32e1e94b3903cdde162c6999afa3a047"/><file name="ReportException.php" hash="e8d640d1cc1a5a9ce19160ef3626a9e7"/><file name="ReportRequest.php" hash="b90af6e5b42164818d5b5b9d5e6006f5"/><file name="ReportTicket.php" hash="5e14228ee6fbd9fb4ef9c178bf2a52a4"/></dir><dir name="Resource"><file name="Resource.php" hash="e525ef57620f36d1725600ae128fe794"/><file name="ResourceManager.php" hash="fd156e44f0ab6be2b93d8d27ff3f39da"/></dir><file name="SecurityException.php" hash="48c790e529ad4d7ebccabed4c06491bc"/><file name="ServerTime.php" hash="7bee61012b85de2a4aba0816e2245aac"/><file name="Session.php" hash="fbba675b7383308bf9ca4714f4609d4e"/><dir name="Subscription"><file name="SubscriptionLogEntryRowSet.php" hash="d42de23ebab0352d51ec0015f68e24de"/><file name="SubscriptionManager.php" hash="9adff6dd81646f381b2970e4dac5b878"/></dir><dir name="Testprofiles"><file name="TestRecipientContext.php" hash="c2627ed5e66f6c36246c42c23f0e63a8"/><file name="TestRecipientRowSet.php" hash="b6f7edfedd1d89baab00863873387d11"/></dir><dir name="TextModule"><file name="TextModule.php" hash="029f4c493a70a5f51039f0f9f0238358"/><file name="TextModuleManager.php" hash="460a750d470dcc78dbf68bbb65cc50bc"/></dir><dir name="TriggerMail"><file name="Attachment.php" hash="63edd19c4d47bc547ea2d803b7952b50"/><file name="BuildException.php" hash="c5a44bc006a4e8ebf005b0225aa8c342"/><file name="BuildMode.php" hash="6e0db4163aa68e6720938fc99bc70335"/><file name="ParseException.php" hash="20e0dc188e8f87c24eb1b9a2ce9e62e0"/><file name="RenderError.php" hash="851bc0adfc3192b00f9863fdf5a941e8"/><file name="TriggerMailContent.php" hash="daf234dffb5f626412045d3547d609a5"/><file name="TriggerMailingConstants.php" hash="0bd74dbf4611cd6f000b76befbb61ed3"/><file name="TriggerMailingContentType.php" hash="91797f2b347ec364ca2a0b5fb9dba895"/><file name="TriggerMailingExceptionType.php" hash="5ff9d8155a345acd7afbda1b670fc59e"/><file name="TriggerMailingRenderer.php" hash="b87b05fbab7487134ded4a9c81b9f95d"/></dir><dir name="TriggerMailing"><dir name="Descriptor"><file name="ActionTriggerDescriptorBuilder.php" hash="590b5d243ba865babad54d579485ffab"/><file name="AnniversaryTriggerDescriptorBuilder.php" hash="a3a3521e9ef2ca65b2973553c398cf11"/><file name="AttributeTriggerDescriptorBuilder.php" hash="d308ce93f7b061529cd3a282511ce32a"/><file name="DailyTriggerIntervalBuilder.php" hash="00cf93764b8f0e94050399c490df4579"/><file name="HourlyTriggerIntervalBuilder.php" hash="fc4e8c62c6145ddbdae88421a2160411"/><file name="IntervalTriggerDescriptorBuilder.php" hash="9885d3d7511badadb20c6ca42005a4ec"/><file name="MonthlyTriggerIntervalBuilder.php" hash="cb70203959b2d4f4046e5e323d68fb79"/><file name="TimeTriggerDescriptorBuilder.php" hash="d73eba7a83dc3e28052e9785518fefb8"/><file name="TimeTriggerDispatchInterval.php" hash="7f10a01e10efa1aaf1ec7d9e31f09757"/><file name="TimeTriggerOffset.php" hash="dad792f6bfb445de6e4ea8450fa3b377"/><file name="TimeTriggerOffsetType.php" hash="68cd3c7119fb148325cf4d4ba6360f63"/><file name="TimeTriggerUnit.php" hash="a48e5c4ee6e0550bc8021d9d2697d37a"/><file name="TriggerDescriptor.php" hash="c8e82bf5239a5c0d66452f9e72b317e8"/><file name="TriggerDescriptorBuilder.php" hash="4affc3a11cb57854b457c6dfc590f211"/><file name="TriggerDescriptorBuilderFactory.php" hash="29eafd239dbee70106ebc618168ab9ea"/><file name="TriggerInterval.php" hash="b48708f6eee52a4a74efb39ae5a24ee9"/><file name="TriggerIntervalBuilder.php" hash="c21d6a4436b946eaed754b3fc104e0a7"/><file name="TriggerIntervalBuilderFactory.php" hash="5c0f27c68d110f5077fbb4d9f6a0982e"/><file name="TriggerType.php" hash="6eaaeb5325dabea3a1673148a69e9229"/><file name="WeeklyTriggerIntervalBuilder.php" hash="17d3a0f06eee2f5b12d6f7573d7a6c1c"/></dir><file name="FilterConcatenationType.php" hash="486ea82e75c32dd449c52644f7d77f68"/><file name="SendException.php" hash="f03297f29bd7b3ad34b0d56dda67d78e"/><file name="StateFilter.php" hash="b93c0ce8146775effb56f4616f85175f"/><file name="TriggerMailing.php" hash="2ecdedd81fc3efc5c61665f1aab308a0"/><file name="TriggerMailingAttribute.php" hash="c888b38755e78e9385fe61ec70c40e8c"/><file name="TriggerMailingManager.php" hash="bf4da5a5c5f62ab9bb6f9a90c4ede829"/><file name="TriggerMailingState.php" hash="a6bc00ab248f58cb24edeac772018c67"/><file name="TriggerMailingStateException.php" hash="1cad16b7478d16b1b7a89477879b40f4"/><file name="TriggerState.php" hash="9e4c573fc11d95991f495d99e3d8b25a"/></dir><file name="UnknownRecipientException.php" hash="fd60fbb2a862018902446c22acae3e39"/><file name="UpdateException.php" hash="5eab1ab678e906461ca4e3ba521c6303"/><file name="User.php" hash="2f5ffca72a24971bccd0195ba0716f96"/><file name="UserContext.php" hash="0b3a302e4fe70e44750a50980afd82ad"/><file name="UserRights.php" hash="2fb507c14e8b68075b37ec44a7291743"/><dir name="Util"><file name="TellAFriendException.php" hash="7af24d87796588d0ba7039dcba78feb8"/><file name="TemporaryMail.php" hash="c3c16bd04fa21483f3d4e4394081cd56"/><file name="TemporaryMailSender.php" hash="6257ca5b5e5c50010a2126fb3cef6db5"/><file name="Utilities.php" hash="10e7d85f3b184a036b6ce95998c262bf"/></dir><dir name="Webpage"><file name="Webpage.php" hash="d98a3894eb2bfab82a8bae10bf5aaba9"/><file name="WebpageManager.php" hash="f6e9405179c2f446eab8aec1243aa482"/></dir></dir><dir name="Apiimpl"><file name="AbstractSession.php" hash="366356783cb67b94499c793421367ed3"/><dir name="Action"><file name="ActionConstants.php" hash="74a1aeb6dd6d8c26d3e3261b8f3ecf85"/><file name="ActionImpl.php" hash="ced12b8990fdddf5dec76ca33cc3e12e"/><file name="ActionManagerImpl.php" hash="5709583e18ee4639849691287a7d95c9"/><file name="CommandFactoryImpl.php" hash="c2801cba3e569a08497be0a4add29e2e"/><dir name="CommandImpl"><file name="RemoveRecipientCmd.php" hash="e93a7dfa8e73123f7f92557f5e660826"/><file name="SendActionMailCmd.php" hash="f29e9df8e314c6f0dfb3d00ffd43217c"/><file name="SendMailCmd.php" hash="06635dc1b6a6a5d1707ac71985e1cb99"/><file name="SetValueCmd.php" hash="306741c4895fc7c6a95d4cea8c7b3297"/><file name="SubUnsubscriptionCmd.php" hash="697dfc43dba052f25aa5e3153266e710"/><file name="SubscriptionCmd.php" hash="49ec5d0ebea09f7d511b0c91f3a03dea"/><file name="UnknownCmd.php" hash="85771d39dcb89ca92d00b15c2408105e"/><file name="UnsubscriptionCmd.php" hash="9c15f0764ff5c03498800f3fe5282ea6"/></dir><file name="CommandImpl.php" hash="e7d80d2d2415f8f9a908aaec9c57161e"/></dir><dir name="Approval"><file name="ApproverImpl.php" hash="32bbc6581959b5ff793aa484a2369451"/><file name="ApproverManagerImpl.php" hash="76db65517b94044bfedc8ff31e0d9e7f"/></dir><file name="AxisPluginStatusService.php" hash="603ea9d715bdc026061fe75a2ad6d748"/><dir name="Blacklist"><file name="BlacklistConstants.php" hash="d9c866914eccb44f58c413c81afcf529"/><file name="BlacklistEntryImpl.php" hash="debc3c7e2b6c4e1efdf65f2a07d14937"/><file name="BlacklistManagerImpl.php" hash="223b2f3d17c8c90000ac2edcd16236f2"/></dir><dir name="Bounce"><dir name="BounceDelegateResultSet"><file name="AttrGetter.php" hash="8b73e66a19560bf4b567f1aac3d2ca50"/><file name="BooleanGetter.php" hash="60b49a6a4aa967b762b12bf7ffafc585"/><file name="DateGetter.php" hash="89aaecf9603070a8ea128b96a5a3a7c0"/><file name="DateTimeGetter.php" hash="c6fa4b1487a2bea04b288f8cea610f11"/><file name="DoubleGetter.php" hash="5a8a9a23bc69368d04db85941dc8bd3b"/><file name="IntegerGetter.php" hash="d72cb5d5ad480f3e3aea2cbf661dfa9e"/><file name="StringGetter.php" hash="8f0b26bc051973eca763d3c4e951de2b"/><file name="TimeGetter.php" hash="d33ce9e6156a8f525999b070335d9fa5"/></dir><file name="BounceDelegateResultSet.php" hash="39f62cc6a18b6c47e62f549399e724fc"/><file name="BounceImpl.php" hash="61c3014494fa5a271f46254160a4d06c"/><file name="BounceManagerImpl.php" hash="cee52bb74330be832e3846124f860406"/></dir><file name="Constants.php" hash="87f4b4f239aeabb0cc26d277de41d0af"/><dir name="Core"><file name="AbstractBOResultSet.php" hash="1b22b1a5af50855d65be0926d4d9008d"/><file name="BOResultSetDelegate.php" hash="08aae66cb0774e3d5ae2413ac99eada0"/><file name="DelegateBOResultSet.php" hash="e37acd15f3d15c72661efa2265673eac"/><file name="RemoteInputStream.php" hash="fe5e1f5928d764d0e651cb0172698cdd"/><dir name="SubscriptionLogEntryRowSetImpl"><file name="AttrGetter.php" hash="58bb75f9a98bed790eaa685bccf9eb1e"/><file name="BooleanGetter.php" hash="63c2763d28807231f54b8c4d40535b3b"/><file name="DateGetter.php" hash="c8e88abc79f49050bcfdf63d157c9040"/><file name="DateTimeGetter.php" hash="ae8403a6cbb9240eb3e019f2d9ebcc5e"/><file name="DoubleGetter.php" hash="27672e785d1014d2f9b3fda018851dfc"/><file name="IntegerGetter.php" hash="ade0248e8c338d26aa56fc5e8e15ed0c"/><file name="StringGetter.php" hash="33a479437ff798fa58371e2876b250f9"/><file name="TimeGetter.php" hash="9d6083a04aa80f6158a48970610ead0d"/></dir><file name="SubscriptionLogEntryRowSetImpl.php" hash="002abe10cb728b486201dd46095edba0"/><file name="SubscriptionManagerImpl.php" hash="63c6e5ac06ab3142793f582fcd5fcadb"/><file name="Uploader.php" hash="2271e891897c304df0623cd66eb58d76"/><file name="UserContextImpl.php" hash="d8f9432a80443d133b3b7c79496a687b"/></dir><dir name="DataAccess"><file name="ClickDataImpl.php" hash="25777a8b89ba20899d53a3cadb89e36c"/><dir name="ClickDataRowSetImpl"><file name="AttrGetter.php" hash="2a7b36951f6065e4aff60d1a57a04c56"/><file name="BooleanGetter.php" hash="c61543b88d05f5f6f9aa18795b33bd07"/><file name="DateGetter.php" hash="c8e88abc79f49050bcfdf63d157c9040"/><file name="DateTimeGetter.php" hash="ae8403a6cbb9240eb3e019f2d9ebcc5e"/><file name="DoubleGetter.php" hash="27672e785d1014d2f9b3fda018851dfc"/><file name="IntegerGetter.php" hash="ade0248e8c338d26aa56fc5e8e15ed0c"/><file name="StringGetter.php" hash="33a479437ff798fa58371e2876b250f9"/><file name="TimeGetter.php" hash="9d6083a04aa80f6158a48970610ead0d"/></dir><file name="ClickDataRowSetImpl.php" hash="1f537a23d4fdde838afa3b9d01f1a209"/><file name="DataAccessImpl.php" hash="a54e73e74a8d6259f4c76ee60f3dc390"/><file name="LinkDataImpl.php" hash="a167a01f54e6a60f6362b2ce15ee3e1f"/><file name="LinkDataRowSetImpl.php" hash="70ba51962968972525d18acfd9043815"/></dir><dir name="DesignTemplate"><file name="DesignCollectionImpl.php" hash="7cadf4102f290eac0d72e6b5f9efd1b1"/><file name="DesignCollectionManagerImpl.php" hash="3dfbfbcee75272e54824f07263f756db"/><file name="StyleImpl.php" hash="92597b11655c9d88a0e11af75a89fa65"/><file name="TemplateImpl.php" hash="ea5e87fe355d762ef205d8453598cfd4"/></dir><dir name="Filter"><file name="FilterConstants.php" hash="247f2f9de64e30069e2daa9937bd0e50"/><file name="FilterImpl.php" hash="c0dfe42dfc79f7eeb3a84bf9757e852c"/><file name="FilterManagerImpl.php" hash="0164491a48e5cf358dd7a50811b7b618"/></dir><dir name="Inbox"><file name="InboxManagerImpl.php" hash="2feea5f2de6275d9022219cc494bd818"/><dir name="InboxMessageDelegateResultSet"><file name="AttrGetter.php" hash="82502b8cefdbec6b430258e997e4b1cc"/><file name="BooleanGetter.php" hash="6818d23b7d7dabe8b2e6eebee9b4137a"/><file name="DateGetter.php" hash="524790444c7c622ae8f443c797a805ee"/><file name="DateTimeGetter.php" hash="1622651e10e6afa88790100f9cca20e1"/><file name="DoubleGetter.php" hash="365b9e043d150bcb4ee2fc91ea882773"/><file name="IntegerGetter.php" hash="e0c692483087d923cb73c6379afb1388"/><file name="StringGetter.php" hash="628ca239a954b14ae4cb7e2d4e0b3755"/><file name="TimeGetter.php" hash="8195d1dc4e65a9ae837917d16471ac4a"/></dir><file name="InboxMessageDelegateResultSet.php" hash="ecd44b7e22451bf1a835859bb28b6062"/><file name="InboxMessageImpl.php" hash="d9db75483d161b9533c4b3d27c83f70d"/></dir><dir name="List"><file name="AdminListImpl.php" hash="afd81aafa65e79865c09002890ef65c8"/><file name="FilterListImpl.php" hash="c40b6123238e2d5d7f6de58de12b1990"/><file name="ListImpl.php" hash="306508d309e35b82b1f7e225c6e8bd02"/><file name="ListManagerImpl.php" hash="0c839addd7516061a7b3ad3e7781dfae"/><file name="ListSizeImpl.php" hash="7ea8bade241c4fb42f956c14a12e0524"/><file name="StandardListImpl.php" hash="dfd14c838f2e6eec058e62bb071826a6"/><file name="SystemListImpl.php" hash="f0e1a9c57a4835a1c437e1678e8f99df"/></dir><file name="Loader.php" hash="06c03170fbacc4ad85829f6573336fc1"/><dir name="Mailing"><file name="AttachmentImpl.php" hash="df430eef73df1f53a5ccdb0c08e844df"/><file name="MailContentImpl.php" hash="7b81da013dab665caee1f833523e2794"/><dir name="MailingContentHandler"><file name="HtmlTextImpl.php" hash="7087dfaed8228eca6882fdfe57cbef02"/><file name="MultiPartImpl.php" hash="4c2cb5a94a61a379fea7ace4f8217dfa"/><file name="PlainTextImpl.php" hash="e33648a7b317f51ecb6525eda81347ae"/><file name="XsltHtmlTextImpl.php" hash="5e93ac256aeb80b9f2a7c7492926c679"/><file name="XsltImpl.php" hash="3d8f5a55878fce4342bface3bfda3f7e"/><file name="XsltMultiPartImpl.php" hash="e46e58c66051c2b38f33e30b63c0c3dd"/><file name="XsltPlainTextImpl.php" hash="3958c721b9a17f85a8879e5afabca80b"/></dir><file name="MailingContentHandler.php" hash="fa6ea25815af13c4656af774f54d8889"/><file name="MailingImpl.php" hash="e424d34ee50e06fc2887c1ea6bd62f4c"/><file name="MailingManagerImpl.php" hash="5920edd03e47b0a28edc76ad92204709"/><file name="MailingRendererImpl.php" hash="4d09f47dd637f5855db2746412c7f75b"/><file name="MailingRendererTestRecipientImpl.php" hash="9e8ebf01574d6a75fd77edaae256d2cf"/><file name="MailingResultSet.php" hash="bf36e35f23dbf47bf61d532a414d9b72"/><file name="SendingInfoImpl.php" hash="fd8b6c08b3231e19a74363997d43b905"/></dir><dir name="MailingTemplate"><file name="MailingTemplateImpl.php" hash="53df0ce9521f8b69c117a29c3b2227f1"/><file name="MailingTemplateManagerImpl.php" hash="22ee020c705efec9bdc839d93d8a1e8f"/></dir><dir name="Plugin"><file name="PluginStoreImpl.php" hash="558472c2a8a1c6806f03be4f62a58ab1"/></dir><dir name="Property"><file name="PropertyConstants.php" hash="40d084ab962b5956dd8a78a309c263e5"/><file name="PropertyContext.php" hash="625bad971dde275ae6ce7ac332aa4b81"/><file name="PropertyFormatterImpl.php" hash="261a66755cb02d4879f2133c375989ea"/><file name="PropertyImpl.php" hash="36a52eea4c348604c64ac39cf81bbbdd"/><file name="PropertyResultSet.php" hash="b56075efd98e833c528948e4c00b93ad"/></dir><file name="PropertyConstants.php" hash="458851dbc66df3d4da374142a5e8e69e"/><dir name="Recipient"><file name="AttributeManagerImpl.php" hash="694f265c4ed1123cde65fbbe08e3f511"/><file name="BatchChannelImpl.php" hash="69cdb8e281c0d3b2bbe2a464ba6d36d8"/><file name="Constants.php" hash="5e046f745599ff85e4ac1ce215115825"/><dir name="ContextAttribute"><file name="Boolean.php" hash="247d8891d8f4807bd98499a92eeeb051"/><file name="Date.php" hash="ced2272afc797857c6de053dbd4eda26"/><file name="Datetime.php" hash="b007ce13ceab79a750f1fb20b2ca9100"/><file name="Double.php" hash="0f2873be6232da1736eacfd5d20d4657"/><file name="Hardbounce.php" hash="216e37c076ffb70c31670078c8d5d382"/><file name="Id.php" hash="6cc74d2d3d5cbfbae5ecc9c15e186e2c"/><file name="Integer.php" hash="c68e8ae314a37cb321e87b96f13b833e"/><file name="LastModification.php" hash="34d04005261bdea969ad12127ec43b3c"/><file name="String.php" hash="a6f6c8b0c3a0ec283c5bf9ffdcf1ed9f"/><file name="Time.php" hash="ddfdd18d1dcffdb147f8e27d732b3550"/></dir><file name="ContextAttribute.php" hash="de003d91940ff1e4f1cded41cae2f5aa"/><dir name="RecipientContextImpl"><file name="AttributeIterator.php" hash="24cc0dfeca1ce2ed454aae1577ccc4ce"/></dir><file name="RecipientContextImpl.php" hash="739c663bf370e4cb6ea866376b30604f"/><file name="RecipientRowSetImpl.php" hash="60698d565344f0874fa6daf0a9f30d3b"/><file name="UnsubscriptionRecipientRowSetImpl.php" hash="e6f71e2ca9b6119d54724a2b76f35631"/></dir><file name="RemoteObject.php" hash="52f1193e8d9c7e8c2b7ad0fa7c3b7721"/><file name="RemoteRef.php" hash="213124297bba53fe084229e03e705cc5"/><file name="RemoteRefImpl.php" hash="da4e211ac03eb96b7929b748fc40d1af"/><file name="RemoteSession.php" hash="bd21442d873951d915c34768e60ace7e"/><dir name="Reporting"><file name="ConfigDescriptorImpl.php" hash="e150c21c38adeaa16a9094771c664e4f"/><file name="ControlImpl.php" hash="41eb512af20e38f8c7ed71c2ec5c012e"/><file name="ControlUnitImpl.php" hash="81685a0630edcba2c2d8e11a52506509"/><file name="DownloadableResultImpl.php" hash="c7f58021e8899702bf5dd50e701d4d0c"/><file name="ReportEngineImpl.php" hash="483a7b4def4a1db73c65ef32946b085d"/><file name="ReportTicketImpl.php" hash="ac6ddf705cf29f1268255ca80f38fc5f"/></dir><dir name="Resource"><file name="ResourceImpl.php" hash="43c67ae74d0fc2ee1f35c9fe76298239"/><file name="ResourceManagerImpl.php" hash="2fdb8e086191af66544d5e48d96f128b"/></dir><file name="SecureLogin.php" hash="fc83766437f46880f60071639282608d"/><file name="ServerTimeImpl.php" hash="71a279306057568a33fcff5e2f58a958"/><file name="SessionContext.php" hash="3ea4635546b3623d3ce9e31abfff439a"/><file name="SoapClient.php" hash="50eac81424af6902de2339a31c12338c"/><file name="SoapException.php" hash="84de1d5c15ede940d4c8ee180e2f7ea3"/><file name="SoapSession.php" hash="cf0e319e1e79650ccf774319215d492c"/><file name="TConvert.php" hash="4de4d743739f1383aa8ceaefcb02192f"/><dir name="Testprofiles"><file name="TestRecipientContextImpl.php" hash="97b0ba79a281d6b1edb8b9abb41f6bb1"/><file name="TestRecipientRowSetImpl.php" hash="543eaf464ac94ac515f2fe9d4fb801ea"/></dir><dir name="TextModule"><file name="TextModuleImpl.php" hash="2cf0aff8d065bd133479a61a96e7915a"/><file name="TextModuleManagerImpl.php" hash="79dd597fef46c569cbcf31d28e2b1b4c"/></dir><dir name="TriggerMailing"><file name="AttachmentImpl.php" hash="bd1df9a6da6136dcdcb66edd408b5f4c"/><dir name="Descriptor"><file name="ActionTriggerDescriptorBuilderImpl.php" hash="66aac7a9840714a717b0f2930f650952"/><file name="AnniversaryTriggerDescriptorBuilderImpl.php" hash="fdeb6a31e452260cb76e032891dbcad4"/><file name="AttributeTriggerDescriptorBuilderImpl.php" hash="611ff638c4b9817b6c76f61be7e0e422"/><file name="DailyTriggerIntervalBuilderImpl.php" hash="cd3fe4a4bb066a85e1237ec5bbffdbbc"/><file name="HourlyTriggerIntervalBuilderImpl.php" hash="4280e214d8b893967bc65a259eebbdc3"/><file name="IntervalImpl.php" hash="6787b58ed62ec9b4621f67406663ff30"/><file name="IntervalTriggerDescriptorBuilderImpl.php" hash="cebd6dc93fa823787bb765a5f36b9da6"/><file name="MonthlyTriggerIntervalBuilderImpl.php" hash="6d1a1b34a7405240a63e13e105897bb6"/><file name="TimeTriggerDescriptorBuilderImpl.php" hash="fc98ebac354a04813fce2003e85884e3"/><file name="TriggerDescriptorBuilderFactoryImpl.php" hash="626622f3029813b19e8360457d5d186d"/><file name="TriggerDescriptorImpl.php" hash="bbb9893d1b2fab58ba56c81402a042e4"/><file name="TriggerIntervalBuilderFactoryImpl.php" hash="da016c030c3a5e3b4d39b2b72df86474"/><file name="WeeklyTriggerIntervalBuilderImpl.php" hash="0483f56c4e23bddeaaf76f059cd722c3"/></dir><file name="StateFilterImpl.php" hash="f0cc8550f5d05784d49d4a3f7238e14d"/><file name="TriggerMailContentImpl.php" hash="4638baf41a9cb0af49eefd7c44ad4969"/><file name="TriggerMailingContentHandler.php" hash="d476e9928911d50f3ab4cbd49fcbdd40"/><file name="TriggerMailingImpl.php" hash="37d8510a90056b00587befdf80a901a9"/><file name="TriggerMailingManagerImpl.php" hash="6de8be001a4cc1c51f41456737f4c518"/><file name="TriggerMailingRendererImpl.php" hash="bd725ba3aab577d93f802dbe5b809e23"/><file name="TriggerMailingRendererTestRecipientImpl.php" hash="f139f2484325f67ed4aa12113e947a0a"/><file name="TriggerMailingResultSet.php" hash="9df09d590dd10b483c2e9cdfa33d2c4f"/></dir><dir name="Util"><file name="IndexException.php" hash="480c87ff5460fcf0157a9729e3ead51f"/><file name="IndexedBuffer.php" hash="497f1014582403bdbb2bff2d8c8eb383"/><file name="SelectionUtils.php" hash="64c5d73ab278f67bac773489dafafb3b"/><file name="UtilitiesImpl.php" hash="0609d0dce8a15f7f53165bb06a2c5b4d"/><file name="Utils.php" hash="ef57aca9e50dc7db5002580a24d42432"/></dir><dir name="Webpage"><file name="WebpageImpl.php" hash="eba8e6e7de90d5c39f7fa413c17c8cf3"/><file name="WebpageManagerImpl.php" hash="4ea70aba2e449f8c683e3628492ec875"/></dir><dir name="wsdl"><file name="ActionService.wsdl" hash="03ffe3b53e0e9bbaeff20151b7d711f9"/><file name="ApproverService.wsdl" hash="5aebaac503eb355609866c8268051b9c"/><file name="BlacklistService.wsdl" hash="6784a2074e19a6bcc326b6a8faf55a78"/><file name="Bounce2Service.wsdl" hash="b9ff658fc78c0a124c5f06cdac68d69f"/><file name="BounceService.wsdl" hash="573f8b0b462a779a12a58e0e33e3c95a"/><file name="CoreService.wsdl" hash="dbc8f7e565c40d8d4f78822060f1055d"/><file name="DataAccessService.wsdl" hash="003e64c10810fbaeacf037b687eaab03"/><file name="DesignTemplate2Service.wsdl" hash="e40633cf326e85b6a2e5c2916745d712"/><file name="DesignTemplateService.wsdl" hash="760ecee7729556c5f5acd61e57c06c7e"/><file name="FilterService.wsdl" hash="a0e5170978f082e73652305310e227c6"/><file name="InboxService.wsdl" hash="dfb06d8896895c93fc6e25678cd3fbaf"/><file name="ListService.wsdl" hash="14c650229911a7a713d2d44cbd4bfa97"/><file name="Mailing2Service.wsdl" hash="79a58ab9fe54cd7c729d76736a40f672"/><file name="Mailing3Service.wsdl" hash="846b220ef8f771e82c0eff2aee5d7edc"/><file name="Mailing4Service.wsdl" hash="f48c5bb37dc0e23e78a64be58d4ec576"/><file name="Mailing5Service.wsdl" hash="f6306b889609b6eb6165b057bc6f163e"/><file name="Mailing6Service.wsdl" hash="bc30c36e23b80309ad23ddcebd9200e0"/><file name="MailingService.wsdl" hash="89fb9f5cb3e4ad662ef3cb91fb5f55a7"/><file name="MailingTemplateService.wsdl" hash="364a418da074c02b72c109a8423c7107"/><file name="PluginService.wsdl" hash="024d045daa3151e9366231d206717dbe"/><file name="PropertyService.wsdl" hash="c9d4dd7ca1dc552bdca45c523424987e"/><file name="RecipientService.wsdl" hash="4cfa582fffa4046ca0105e2c3ed9d086"/><file name="ReportingService.wsdl" hash="f0165460f37387724875fb940555b7d5"/><file name="ResourceService.wsdl" hash="9ff6f3b0769d946e1e5cac9230f65291"/><file name="TestrecipientService.wsdl" hash="79964cffe88138008c13a6a887cb33d3"/><file name="TextmoduleService.wsdl" hash="1144a7e8d82d500340a808524618dc30"/><file name="TriggerMailingService.wsdl" hash="e956b03275783f07bc14aa33eced0502"/><file name="UnsubscriberService.wsdl" hash="7bdb5f68d56ea3de62c85c449fbab890"/><file name="WebpageService.wsdl" hash="be874f919835b630efc6dc2a1ae7e554"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="dndinxmail"><dir name="images"><file name="ajax-loader.gif" hash="a51c5608d01acf32df728f299767f82b"/><file name="bkg-inxmail-sync-bar.png" hash="7f07f66c431d62a772fa0e806b16c9be"/><file name="inxmail-logo.png" hash="efd5c9ee6f517cfd873ddcdcb11ad85d"/></dir><file name="inxmail-synchronization.css" hash="4515e5b1c99ede764d2a2c7d88c50e35"/></dir></dir></dir></dir></target></contents>
42
  <compatible/>
43
  <dependencies><required><php><min>5.2.13</min><max>5.3.24</max></php><package><name>Mage_Newsletter</name><channel>core</channel><min>1.6.0.0</min><max>1.6.0.0</max></package></required></dependencies>
44
  </package>