Xrely_Autocomplete - Version 1.0.2.2

Version Notes

Support for PHP 5.4

Download this release

Release Info

Developer Jugal
Extension Xrely_Autocomplete
Version 1.0.2.2
Comparing to
See all releases


Code changes from version 1.0.2.1 to 1.0.2.2

app/code/community/Xrely/Autocomplete/controllers/Adminhtml/PublishController.php CHANGED
@@ -71,7 +71,7 @@ class Xrely_Autocomplete_Adminhtml_PublishController extends Mage_Adminhtml_Cont
71
  $readConnection = $resource->getConnection('core_read');
72
  $query = 'SELECT eid FROM ' . $resource->getTableName('xrely_autocomplete/settings') ." where type != '1' LIMIT ".self::BATCH_SIZE.";";
73
  $results = $readConnection->fetchAll($query);
74
- $products = array_column($results,'eid');
75
  $helper = Mage::helper('xrely_autocomplete');
76
  $i = 0;
77
  $pData = array();
@@ -203,4 +203,13 @@ class Xrely_Autocomplete_Adminhtml_PublishController extends Mage_Adminhtml_Cont
203
  );
204
  die;
205
  }
 
 
 
 
 
 
 
 
 
206
  }
71
  $readConnection = $resource->getConnection('core_read');
72
  $query = 'SELECT eid FROM ' . $resource->getTableName('xrely_autocomplete/settings') ." where type != '1' LIMIT ".self::BATCH_SIZE.";";
73
  $results = $readConnection->fetchAll($query);
74
+ $products = $this->arrayColumnSelect($results,'eid');
75
  $helper = Mage::helper('xrely_autocomplete');
76
  $i = 0;
77
  $pData = array();
203
  );
204
  die;
205
  }
206
+ public function arrayColumnSelect($results,$col) {
207
+ $return = array();
208
+ foreach ($results as $key => $value) {
209
+ if(isset($value[$col])){
210
+ $return[] = $value[$col];
211
+ }
212
+ }
213
+ return $return;
214
+ }
215
  }
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Xrely_Autocomplete</name>
4
- <version>1.0.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MITL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Xrely Autocomplete</summary>
10
  <description>Xrely Autocomplete</description>
11
- <notes>API URL update.&#xD;
12
- Image URL fix</notes>
13
  <authors><author><name>Jugal</name><user>jugal4343</user><email>jugal@xrely.com</email></author></authors>
14
- <date>2016-05-03</date>
15
- <time>17:58:47</time>
16
- <contents><target name="magecommunity"><dir name="Xrely"><dir name="Autocomplete"><dir name="Block"><dir name="Adminhtml"><file name="Design.php" hash="958be5829c6267e5132921a304c41cfa"/><file name="Notifications.php" hash="1dcbbd1610b3c510806a56f4d2c771f4"/><file name="Progress.php" hash="17f43ab2159894b64c192ca44b8ee749"/><file name="Redirect.php" hash="14bbb1d6d6fabed9758e22ee0b3eb498"/><file name="Syncbtn.php" hash="e02efc91a9e5d6e4fa688c3cbf19d991"/><file name="Thumb.php" hash="9fb6939e7299ed56253836c63054d0f7"/><file name="Upgrade.php" hash="cdc090fb56dc0a77776bfefad641b785"/></dir><file name="Js.php" hash="34eef2d142a53c3719ec4d04f7fd2fc6"/><file name="Sync.php" hash="63fef0ebe3312a69525d2908b48f70b9"/></dir><dir name="Helper"><file name="Data.php" hash="dda83388b6543b60214d830799ec00b6"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Thumb.php" hash="fe325ff721c9138d4afbe6d231d9347e"/></dir><file name="Observer.php" hash="c051fe823adcdc45cf0d4d39cf20f4ac"/><dir name="Resource"><dir name="Settings"><file name="Collection.php" hash="08356fd322c09e673bde0efcbb8ca9af"/></dir><file name="Settings.php" hash="03e4e14935ba8d81c324a4c2fbe9fc77"/></dir><file name="Settings.php" hash="382c8bfeabad9600c98e042cbfb722dc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PublishController.php" hash="ce8e5b840f0b1d6010d191a4ec79b98d"/><file name="RedirectController.php" hash="e2cfebffb4e1d776886b2dd165778c67"/></dir><file name="ListenController.php" hash="569e4420bd9f83cacdeb60ddbe8e4666"/></dir><dir name="data"><dir name="xrely_autocomplete_setup"><file name="data-install-1.0.0.0.php" hash="5b7152cfaca84e5f6d61f16340a8953a"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6ede1531da8ecaf2be33fa2a56e3d1d4"/><file name="config.xml" hash="16a19107d044feade470ea55c4fbbb02"/><file name="system.xml" hash="0ab99a205e49e1ad0844d67a9c03b4e7"/></dir><dir name="sql"><dir name="xrely_autocomplete_setup"><file name="install-1.0.0.0.php" hash="f73139cbdd14add1264db405425fe841"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="."><dir name="js"><dir name="xrely_autocomplete"><file name="admin.js" hash="635f3d1a915a6a5521db2992a20ac7ce"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Xrely_Autocomplete.xml" hash="c114c9109d18628e9afb8c04c1776ee1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="xrely_autocomplete.xml" hash="9a34dc0c48f6d3e39888aebd72ab573c"/></dir><dir name="template"><dir name="xrely_autocomplete"><file name="notification.phtml" hash="849b047815142a22b5254467188a7462"/><file name="progress.phtml" hash="f16f659d571da65e6770620a2fa25351"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="xrely_autocomplete.xml" hash="95dd91d0e1f3a624e2cd00db890c1a8a"/></dir><dir name="template"><dir name="autocomplete"><file name="js.phtml" hash="9f45aa72565bfbaa0b48e6bceddba71d"/><file name="post_redirect.phtml" hash="da2a203dca5e777d2b2c2fc3553c3d2f"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Xrely_Autocomplete</name>
4
+ <version>1.0.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MITL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Xrely Autocomplete</summary>
10
  <description>Xrely Autocomplete</description>
11
+ <notes>Support for PHP 5.4</notes>
 
12
  <authors><author><name>Jugal</name><user>jugal4343</user><email>jugal@xrely.com</email></author></authors>
13
+ <date>2016-09-24</date>
14
+ <time>12:17:15</time>
15
+ <contents><target name="magecommunity"><dir name="Xrely"><dir name="Autocomplete"><dir name="Block"><dir name="Adminhtml"><file name="Design.php" hash="958be5829c6267e5132921a304c41cfa"/><file name="Notifications.php" hash="1dcbbd1610b3c510806a56f4d2c771f4"/><file name="Progress.php" hash="17f43ab2159894b64c192ca44b8ee749"/><file name="Redirect.php" hash="14bbb1d6d6fabed9758e22ee0b3eb498"/><file name="Syncbtn.php" hash="e02efc91a9e5d6e4fa688c3cbf19d991"/><file name="Thumb.php" hash="9fb6939e7299ed56253836c63054d0f7"/><file name="Upgrade.php" hash="cdc090fb56dc0a77776bfefad641b785"/></dir><file name="Js.php" hash="34eef2d142a53c3719ec4d04f7fd2fc6"/><file name="Sync.php" hash="63fef0ebe3312a69525d2908b48f70b9"/></dir><dir name="Helper"><file name="Data.php" hash="dda83388b6543b60214d830799ec00b6"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Thumb.php" hash="fe325ff721c9138d4afbe6d231d9347e"/></dir><file name="Observer.php" hash="c051fe823adcdc45cf0d4d39cf20f4ac"/><dir name="Resource"><dir name="Settings"><file name="Collection.php" hash="08356fd322c09e673bde0efcbb8ca9af"/></dir><file name="Settings.php" hash="03e4e14935ba8d81c324a4c2fbe9fc77"/></dir><file name="Settings.php" hash="382c8bfeabad9600c98e042cbfb722dc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PublishController.php" hash="c8bedf001b29639d1ebc83d7716c5778"/><file name="RedirectController.php" hash="e2cfebffb4e1d776886b2dd165778c67"/></dir><file name="ListenController.php" hash="569e4420bd9f83cacdeb60ddbe8e4666"/></dir><dir name="data"><dir name="xrely_autocomplete_setup"><file name="data-install-1.0.0.0.php" hash="5b7152cfaca84e5f6d61f16340a8953a"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="6ede1531da8ecaf2be33fa2a56e3d1d4"/><file name="config.xml" hash="16a19107d044feade470ea55c4fbbb02"/><file name="system.xml" hash="0ab99a205e49e1ad0844d67a9c03b4e7"/></dir><dir name="sql"><dir name="xrely_autocomplete_setup"><file name="install-1.0.0.0.php" hash="f73139cbdd14add1264db405425fe841"/></dir></dir></dir></dir></target><target name="mageweb"><dir name="."><dir name="js"><dir name="xrely_autocomplete"><file name="admin.js" hash="635f3d1a915a6a5521db2992a20ac7ce"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Xrely_Autocomplete.xml" hash="c114c9109d18628e9afb8c04c1776ee1"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="xrely_autocomplete.xml" hash="9a34dc0c48f6d3e39888aebd72ab573c"/></dir><dir name="template"><dir name="xrely_autocomplete"><file name="notification.phtml" hash="849b047815142a22b5254467188a7462"/><file name="progress.phtml" hash="f16f659d571da65e6770620a2fa25351"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="xrely_autocomplete.xml" hash="95dd91d0e1f3a624e2cd00db890c1a8a"/></dir><dir name="template"><dir name="autocomplete"><file name="js.phtml" hash="9f45aa72565bfbaa0b48e6bceddba71d"/><file name="post_redirect.phtml" hash="da2a203dca5e777d2b2c2fc3553c3d2f"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.4.7</min><max>6.0.0</max></php></required></dependencies>
18
  </package>