Version Notes
v.1.1.6: Sep 8, 2016
- Improved performance for downloading order data.
Download this release
Release Info
Developer | EYEMAGINE |
Extension | Eyemagine_HubSpot |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
app/code/community/Eyemagine/HubSpot/Helper/Data.php
CHANGED
@@ -89,21 +89,22 @@ class Eyemagine_HubSpot_Helper_Data extends Mage_Core_Helper_Abstract
|
|
89 |
* @param Varien_Object|array $input
|
90 |
* @return array
|
91 |
*/
|
92 |
-
|
93 |
-
|
94 |
$result = array();
|
|
|
95 |
|
96 |
if (is_object($input) && $input instanceof Varien_Object) {
|
97 |
foreach ($input->getData() as $attribute => $value) {
|
98 |
-
if (is_object($value) || is_array($value)) {
|
99 |
-
$result[$attribute] = $this->convertAttributeData($value);
|
100 |
} else {
|
101 |
$result[$attribute] = $value;
|
102 |
}
|
103 |
}
|
104 |
} elseif (is_array($input)) {
|
105 |
foreach ($input as $k => $v) {
|
106 |
-
$result[$k] = $this->convertAttributeData($v);
|
107 |
}
|
108 |
} else {
|
109 |
return $input;
|
89 |
* @param Varien_Object|array $input
|
90 |
* @return array
|
91 |
*/
|
92 |
+
public function convertAttributeData($input, $level=0)
|
93 |
+
{
|
94 |
$result = array();
|
95 |
+
$level++;
|
96 |
|
97 |
if (is_object($input) && $input instanceof Varien_Object) {
|
98 |
foreach ($input->getData() as $attribute => $value) {
|
99 |
+
if ((is_object($value) && $level <2) || is_array($value)) {
|
100 |
+
$result[$attribute] = $this->convertAttributeData($value, $level);
|
101 |
} else {
|
102 |
$result[$attribute] = $value;
|
103 |
}
|
104 |
}
|
105 |
} elseif (is_array($input)) {
|
106 |
foreach ($input as $k => $v) {
|
107 |
+
$result[$k] = $this->convertAttributeData($v, $level);
|
108 |
}
|
109 |
} else {
|
110 |
return $input;
|
app/code/community/Eyemagine/HubSpot/etc/config.xml
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Eyemagine_HubSpot>
|
18 |
-
<version>1.1.
|
19 |
</Eyemagine_HubSpot>
|
20 |
</modules>
|
21 |
<global>
|
15 |
<config>
|
16 |
<modules>
|
17 |
<Eyemagine_HubSpot>
|
18 |
+
<version>1.1.6</version>
|
19 |
</Eyemagine_HubSpot>
|
20 |
</modules>
|
21 |
<global>
|
app/code/community/Eyemagine/HubSpot/readme.txt
CHANGED
@@ -43,6 +43,9 @@ COMPATIBILITY:
|
|
43 |
-------------------------------------------------------------------------------
|
44 |
RELEASE NOTES:
|
45 |
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
46 |
v.1.1.5: Sep 8, 2016
|
47 |
- Fixed product and media url for multistores.
|
48 |
- Optimized performance for order data.
|
43 |
-------------------------------------------------------------------------------
|
44 |
RELEASE NOTES:
|
45 |
-------------------------------------------------------------------------------
|
46 |
+
v.1.1.6: Sep 8, 2016
|
47 |
+
- Improved performance for downloading order data.
|
48 |
+
|
49 |
v.1.1.5: Sep 8, 2016
|
50 |
- Fixed product and media url for multistores.
|
51 |
- Optimized performance for order data.
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eyemagine_HubSpot</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.eyemaginetech.com/license">Custom</license>
|
7 |
<channel>community</channel>
|
@@ -49,14 +49,13 @@ HubSpot's Social Inbox and Smart Content tools help you break out of the inbox a
|
|
49 |
Attribute revenue generated to specific marketing channels and campaigns.
|
50 |

|
51 |
HubSpot's suite of analytics and reporting tools allows you to quickly and easily see which traffic sources or marketing actions turned into revenue for you during any given time period. Generate a report in seconds and email it to anyone in the company--you can even set up recurring reports so everyone can keep track of the company's progress.</description>
|
52 |
-
<notes>v.1.1.
|
53 |

|
54 |
-
-
|
55 |
-
- Optimized performance for order data.</notes>
|
56 |
<authors><author><name>EYEMAGINE</name><user>eyemagine</user><email>andy@eyemaginetech.com</email></author></authors>
|
57 |
<date>2016-09-08</date>
|
58 |
-
<time>
|
59 |
-
<contents><target name="magecommunity"><dir name="Eyemagine"><dir name="HubSpot"><dir name="Block"><dir name="Adminhtml"><dir name="Frontend"><dir name="Button"><file name="Regen.php" hash="da45b06b8577c597efd5d21954da7338"/><file name="._Regen.php" hash="03ec92c7aa4a80b83dab35ae888c547b"/></dir><dir name="Eyemagine"><file name="Info.php" hash="241764d8a2ef0cea19590ed1e278459f"/><file name="Support.php" hash="af9992b0108aa1b45f847cd00dfde88d"/><file name="Version.php" hash="7e587492716799a25b9a9c8a898d872a"/><file name="._Info.php" hash="ce0cf7ed20da8016624555bbb5968191"/><file name="._Support.php" hash="d7af6eacee8bbc688f3be8c5b681b7bb"/><file name="._Version.php" hash="aa0f9e438f113f370a375ec75e45dfdc"/></dir><file name="Utk.php" hash="ae331d527c62a9afc50dabc05dfda90f"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="
|
60 |
<compatible/>
|
61 |
<dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php></required></dependencies>
|
62 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eyemagine_HubSpot</name>
|
4 |
+
<version>1.1.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.eyemaginetech.com/license">Custom</license>
|
7 |
<channel>community</channel>
|
49 |
Attribute revenue generated to specific marketing channels and campaigns.
|
50 |

|
51 |
HubSpot's suite of analytics and reporting tools allows you to quickly and easily see which traffic sources or marketing actions turned into revenue for you during any given time period. Generate a report in seconds and email it to anyone in the company--you can even set up recurring reports so everyone can keep track of the company's progress.</description>
|
52 |
+
<notes>v.1.1.6: Sep 8, 2016
|
53 |

|
54 |
+
- Improved performance for downloading order data.</notes>
|
|
|
55 |
<authors><author><name>EYEMAGINE</name><user>eyemagine</user><email>andy@eyemaginetech.com</email></author></authors>
|
56 |
<date>2016-09-08</date>
|
57 |
+
<time>05:31:10</time>
|
58 |
+
<contents><target name="magecommunity"><dir name="Eyemagine"><dir name="HubSpot"><dir name="Block"><dir name="Adminhtml"><dir name="Frontend"><dir name="Button"><file name="Regen.php" hash="da45b06b8577c597efd5d21954da7338"/><file name="._Regen.php" hash="03ec92c7aa4a80b83dab35ae888c547b"/></dir><dir name="Eyemagine"><file name="Info.php" hash="241764d8a2ef0cea19590ed1e278459f"/><file name="Support.php" hash="af9992b0108aa1b45f847cd00dfde88d"/><file name="Version.php" hash="7e587492716799a25b9a9c8a898d872a"/><file name="._Info.php" hash="ce0cf7ed20da8016624555bbb5968191"/><file name="._Support.php" hash="d7af6eacee8bbc688f3be8c5b681b7bb"/><file name="._Version.php" hash="aa0f9e438f113f370a375ec75e45dfdc"/></dir><file name="Utk.php" hash="ae331d527c62a9afc50dabc05dfda90f"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="dc9a89227ea1a103a272e4811062b51b"/></dir><dir name="Model"><file name="Observer.php" hash="b6324baf056a15b740db37596174c8e6"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Hubspot"><file name="IndexController.php" hash="ce74c1cbb68569a834c55e530884fdf3"/></dir></dir><file name="LinkController.php" hash="ae5c25108f9dd6a72d379e98137c1637"/><file name="SyncController.php" hash="b33a57535bb69c7dad12da033cdd508d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="30c1e3594efb50975820d190c6152122"/><file name="config.xml" hash="c36234ef9199111d61888db748e832b4"/><file name="system.xml" hash="e0d5b580d7094942555662d527c02dbc"/></dir><file name="readme.txt" hash="9e61a2529dcf21d3e45e3e59f44c0d52"/><dir name="sql"><dir name="eyehubspot_setup"><file name="mysql4-install-1.0.0.php" hash="a0f5a0a9fa39c641c70771ba1056be80"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eyemagine_HubSpot.xml" hash="0442e65d79b182a43b1cdb58e95e6e36"/></dir></target></contents>
|
59 |
<compatible/>
|
60 |
<dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php></required></dependencies>
|
61 |
</package>
|