Version Notes
Initial Release
Download this release
Release Info
Developer | SafeMage |
Extension | SafeMage_Plugin |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/code/community/SafeMage/Plugin/etc/config.xml
CHANGED
@@ -11,7 +11,7 @@ Copyright (c) SafeMage (http://www.safemage.com/)
|
|
11 |
<config>
|
12 |
<modules>
|
13 |
<SafeMage_Plugin>
|
14 |
-
<version>1.0.
|
15 |
</SafeMage_Plugin>
|
16 |
</modules>
|
17 |
<adminhtml>
|
11 |
<config>
|
12 |
<modules>
|
13 |
<SafeMage_Plugin>
|
14 |
+
<version>1.0.3</version>
|
15 |
</SafeMage_Plugin>
|
16 |
</modules>
|
17 |
<adminhtml>
|
lib/SafeMage/Plugin/Renderer.php
CHANGED
@@ -133,6 +133,8 @@ class SafeMage_Plugin_Renderer extends Varien_Object
|
|
133 |
|
134 |
if ($param->isArray()) {
|
135 |
$sParamWithDefaults = 'array ' . $sParamWithDefaults;
|
|
|
|
|
136 |
}
|
137 |
|
138 |
$sParamsWithDefaults[]= $sParamWithDefaults;
|
133 |
|
134 |
if ($param->isArray()) {
|
135 |
$sParamWithDefaults = 'array ' . $sParamWithDefaults;
|
136 |
+
} elseif($paramClass = $param->getClass()) {
|
137 |
+
$sParamWithDefaults = $paramClass->name . ' ' . $sParamWithDefaults;
|
138 |
}
|
139 |
|
140 |
$sParamsWithDefaults[]= $sParamWithDefaults;
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SafeMage_Plugin</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.safemage.com/LICENSE_EULA.txt">SafeMage EULA</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Plugin is a new solution to override Magento Core functionality instead of rewrites and events</description>
|
11 |
<notes>Initial Release</notes>
|
12 |
<authors><author><name>SafeMage</name><user>safemage</user><email>info@safemage.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="SafeMage"><dir name="Plugin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Plugin"><file name="List.php" hash="c7ea878f58809ca5ab267757856d1854"/></dir><file name="Plugin.php" hash="6f886c5502228a0e4e5bab380f3e5296"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="bcff91f9a243b4e98ea0698d1c2c6b64"/></dir><dir name="Model"><file name="Observer.php" hash="3eaaadb0a719de9ebe30caf75d3942a4"/><file name="Plugin.php" hash="961c91da3b4515289b6f1345a79f98ac"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SafeMage_Plugin</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.safemage.com/LICENSE_EULA.txt">SafeMage EULA</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Plugin is a new solution to override Magento Core functionality instead of rewrites and events</description>
|
11 |
<notes>Initial Release</notes>
|
12 |
<authors><author><name>SafeMage</name><user>safemage</user><email>info@safemage.com</email></author></authors>
|
13 |
+
<date>2017-01-03</date>
|
14 |
+
<time>08:43:48</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="SafeMage"><dir name="Plugin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Plugin"><file name="List.php" hash="c7ea878f58809ca5ab267757856d1854"/></dir><file name="Plugin.php" hash="6f886c5502228a0e4e5bab380f3e5296"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="bcff91f9a243b4e98ea0698d1c2c6b64"/></dir><dir name="Model"><file name="Observer.php" hash="3eaaadb0a719de9ebe30caf75d3942a4"/><file name="Plugin.php" hash="961c91da3b4515289b6f1345a79f98ac"/></dir><dir name="etc"><file name="config.xml" hash="99a38d089e43bbcded5ae979920e47fc"/><file name="system.xml" hash="cefd5433e535d792aa5c88d942fa2eb3"/></dir></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Core"><dir name="Model"><file name="Config.php" hash="87b462b811547fe52fba1cce4a4fe175"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SafeMage_Plugin.xml" hash="ce988d049c76d8d0db6a4482356f3677"/></dir></target><target name="mage"><dir name="lib"><dir name="SafeMage"><file name="Plugin.php" hash="6b8d76d1a3e391d921222e2a56fcc0f9"/><dir name="Plugin"><file name="File.php" hash="241a8c978df78cd846141c00a9889769"/><file name="Renderer.php" hash="93731012cb79c76c14ecd358d2987587"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="SafeMage_Plugin.csv" hash="3b3f63e7b038395e4742ef198416c3c7"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|