Buscape_Fcontrol - Version 0.1.8

Version Notes

Buscapé Fcontrol é compatível com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.

Download this release

Release Info

Developer Magento Core Team
Extension Buscape_Fcontrol
Version 0.1.8
Comparing to
See all releases


Code changes from version 0.1.7 to 0.1.8

app/code/community/Buscape/Fcontrol/Block/Adminhtml/Sales/Order/View/Info.php CHANGED
@@ -18,18 +18,37 @@
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
21
- class Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info extends Mage_Adminhtml_Block_Sales_Order_Abstract
22
  {
23
-
24
- /*
25
- * @Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info
26
- *
27
- * Implementação somente para o uso de Frame
28
- */
29
- public function getScore()
30
  {
31
- if ($this->getOrder()) {
32
- Mage::getModel('fcontrol/observer')->frameOrder($this, true);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }
34
  }
35
  }
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
21
+ if (version_compare(Mage::getVersion(), '1.3.3', '<='))
22
  {
23
+ class Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info extends Mage_Adminhtml_Block_Sales_Order_Abstract
 
 
 
 
 
 
24
  {
25
+ /*
26
+ * @Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info
27
+ *
28
+ * Implementação somente para o uso de Frame
29
+ */
30
+ public function getScore()
31
+ {
32
+ if ($this->getOrder()) {
33
+ Mage::getModel('fcontrol/observer')->frameOrder($this, true);
34
+ }
35
+ }
36
+ }
37
+ }
38
+ else
39
+ {
40
+ class Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info extends Mage_Adminhtml_Block_Sales_Order_View_Info
41
+ {
42
+ /*
43
+ * @Buscape_Fcontrol_Block_Adminhtml_Sales_Order_View_Info
44
+ *
45
+ * Implementação somente para o uso de Frame
46
+ */
47
+ public function getScore()
48
+ {
49
+ if ($this->getOrder()) {
50
+ Mage::getModel('fcontrol/observer')->frameOrder($this, true);
51
+ }
52
  }
53
  }
54
  }
app/code/community/Buscape/Fcontrol/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <config>
23
  <modules>
24
  <Buscape_Fcontrol>
25
- <version>0.1.7</version>
26
  </Buscape_Fcontrol>
27
  </modules>
28
  <global>
22
  <config>
23
  <modules>
24
  <Buscape_Fcontrol>
25
+ <version>0.1.8</version>
26
  </Buscape_Fcontrol>
27
  </modules>
28
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Buscape_Fcontrol</name>
4
- <version>0.1.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>O FControl &#xE9; um sofisticado sistema que utiliza redes neurais e intelig&#xEA;ncia artificial para detectar fraudes em tempo real.</description>
11
  <notes>Buscap&#xE9; Fcontrol &#xE9; compat&#xED;vel com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
12
  <authors><author><name>buscapedev</name><user>auto-converted</user><email>suporte.developer@buscapecompany.com</email></author></authors>
13
- <date>2012-06-26</date>
14
- <time>13:29:40</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Buscape_Fcontrol.xml" hash="1883e6e4a5f712adbb28fc48b91b77ed"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Fcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><file name="Info.php" hash="68b7966bd053a03994c88748612e3263"/></dir><file name="Grid.php" hash="8a9cd394c7d05c875353b9a6a9c509f8"/></dir><file name="Order.php" hash="306f634ac46d7dec061fd18e76f11e34"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="533804f2631993dbfd1d2cbb978510a1"/></dir><dir name="Model"><dir name="Adapter"><file name="Payment.php" hash="bb3114c2b7aae84f2c261cc110cc3220"/><file name="Shipping.php" hash="d40c268415ec2a2c50870bf811176b44"/></dir><dir name="Api"><file name="Abstract.php" hash="a383b76906e116fb279c696b40d17e2f"/></dir><dir name="Source"><file name="Service.php" hash="ce9458ee8419c55346ab96ead62915de"/></dir><file name="Api.php" hash="635befcf547671471a8b68401e377d5d"/><file name="Config.php" hash="fab005089945576b2b6cf4ecf076d3af"/><file name="Observer.php" hash="8b68046645290c9f91957fa38a1df290"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="db12a93be59057875d4c488fde37956d"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="dd134662c86d2295e28951e70e3adfee"/><file name="system.xml" hash="0bbf7e2fd0ffc57a30f02fc2211c616d"/></dir></dir></dir></target><target name="magelib"><dir name="nusoap"><file name="nusoap.php" hash="be25f8f414d3bc104fa32fd33d1ca670"/><file name="nusoap_base.php" hash="2b58ef48c2588c9eb1e197e609cf3578"/><file name="nusoap_fault.php" hash="b1e071de96ac6ec4401fc3378985b915"/><file name="nusoapmime.php" hash="385906df53d95e99d44a3ccf826657b0"/><file name="soap_parser.php" hash="5fd16dfe735ba059a2bcd6f13b2e4200"/><file name="soap_server.php" hash="7335a46989fcb2e6a0cb094bea9636f6"/><file name="soap_transport_http.php" hash="47e7e9295559211833aa733259ae4426"/><file name="soap_val.php" hash="bfe395c44feee1833806ffb87f53d301"/><file name="soapclient.php" hash="a386ecd977dcef79dacebd596808773f"/><file name="wsdl.php" hash="848f9fce1e0da0d88584d0e6ca1f242d"/><file name="wsdlcache.php" hash="e06853ca25271b5cb4b8a7016c960a40"/><file name="xmlschema.php" hash="5d5c67fd3e30dd96a186551a7c7221c8"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="fcontrol"><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="d413cbc0c742f78e24e5dfcd1859dc66"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Buscape_Fcontrol</name>
4
+ <version>0.1.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
10
  <description>O FControl &#xE9; um sofisticado sistema que utiliza redes neurais e intelig&#xEA;ncia artificial para detectar fraudes em tempo real.</description>
11
  <notes>Buscap&#xE9; Fcontrol &#xE9; compat&#xED;vel com Magento Enterprise Edition 1.7.0.0 ou superior, Professional Edition 1.9.0.0 ou superior, e Magento Community Edition 1.3.3.0 ou superior.</notes>
12
  <authors><author><name>buscapedev</name><user>auto-converted</user><email>suporte.developer@buscapecompany.com</email></author></authors>
13
+ <date>2012-07-06</date>
14
+ <time>18:04:53</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Buscape_Fcontrol.xml" hash="1883e6e4a5f712adbb28fc48b91b77ed"/></dir></target><target name="magecommunity"><dir name="Buscape"><dir name="Fcontrol"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="View"><file name="Info.php" hash="23565f6e5ff898d0d32993dda14acfe4"/></dir><file name="Grid.php" hash="8a9cd394c7d05c875353b9a6a9c509f8"/></dir><file name="Order.php" hash="306f634ac46d7dec061fd18e76f11e34"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="533804f2631993dbfd1d2cbb978510a1"/></dir><dir name="Model"><dir name="Adapter"><file name="Payment.php" hash="bb3114c2b7aae84f2c261cc110cc3220"/><file name="Shipping.php" hash="d40c268415ec2a2c50870bf811176b44"/></dir><dir name="Api"><file name="Abstract.php" hash="a383b76906e116fb279c696b40d17e2f"/></dir><dir name="Source"><file name="Service.php" hash="ce9458ee8419c55346ab96ead62915de"/></dir><file name="Api.php" hash="635befcf547671471a8b68401e377d5d"/><file name="Config.php" hash="fab005089945576b2b6cf4ecf076d3af"/><file name="Observer.php" hash="8b68046645290c9f91957fa38a1df290"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Sales"><file name="OrderController.php" hash="db12a93be59057875d4c488fde37956d"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="a6ef64905fd9ce16a34ffcd194cc881c"/><file name="system.xml" hash="0bbf7e2fd0ffc57a30f02fc2211c616d"/></dir></dir></dir></target><target name="magelib"><dir name="nusoap"><file name="nusoap.php" hash="be25f8f414d3bc104fa32fd33d1ca670"/><file name="nusoap_base.php" hash="2b58ef48c2588c9eb1e197e609cf3578"/><file name="nusoap_fault.php" hash="b1e071de96ac6ec4401fc3378985b915"/><file name="nusoapmime.php" hash="385906df53d95e99d44a3ccf826657b0"/><file name="soap_parser.php" hash="5fd16dfe735ba059a2bcd6f13b2e4200"/><file name="soap_server.php" hash="7335a46989fcb2e6a0cb094bea9636f6"/><file name="soap_transport_http.php" hash="47e7e9295559211833aa733259ae4426"/><file name="soap_val.php" hash="bfe395c44feee1833806ffb87f53d301"/><file name="soapclient.php" hash="a386ecd977dcef79dacebd596808773f"/><file name="wsdl.php" hash="848f9fce1e0da0d88584d0e6ca1f242d"/><file name="wsdlcache.php" hash="e06853ca25271b5cb4b8a7016c960a40"/><file name="xmlschema.php" hash="5d5c67fd3e30dd96a186551a7c7221c8"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="buscape"><dir name="fcontrol"><dir name="sales"><dir name="order"><dir name="view"><file name="info.phtml" hash="d413cbc0c742f78e24e5dfcd1859dc66"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>