Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * The technical support is guaranteed for all modules proposed by Wyomind. ..
Decoded Output download
<?php
/**
* The technical support is guaranteed for all modules proposed by Wyomind.
* The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and of the source code.
* The support cannot apply if modifications have been made to the original source code (https://www.wyomind.com/terms-and-conditions.html).
* Nonetheless, Wyomind remains available to answer any question you might have and find the solutions adapted to your needs.
* Feel free to contact our technical team from your Wyomind account in My account > My tickets.
* Copyright 2017 Wyomind. All rights reserved.
* See LICENSE.txt for license details.
*/
class Wyomind_Elasticsearch_Helper_Indexer_Category extends Wyomind_Elasticsearch_Helper_Indexer_Abstract
{
public $xc9 = null;
public $xe4 = null;
public $xdc = null;
protected $_searchableAttributes;
protected $_categoriesWithPathNames = array();
protected $_blockClass = 'Wyomind_Elasticsearch_Block_Autocomplete_Category';
private $x4319 = null;
public $error = "Elasticsearch Category Index : Invalid License!";
public function __construct()
{
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
$this->_construct();
}
public function _construct()
{
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
$this->x4319 = Mage::helper("licensemanager/data");
$this->x4319->constructor($this, func_get_args());
}
public function export($x414a = array())
{
$x410c = $this->xdc->x42e4->x55b4;
$x4100 = $this->xc9->x42fe->{$this->xdc->x42fe->x5db3};
$xa9 = $this->xc9->x42be->{$this->xc9->x42be->x4df3};
$x4139 = $this->xe4->x42e4->x55d7;
$x4144 = $this->xc9->x42be->{$this->xe4->x42be->x4e14};
$x530 = $this->xc9->x42be->{$this->xe4->x42be->{$this->xdc->x42be->x4e25}};
$x152 = $this->xc9->x42e4->x55ff;
$x438 = $this->xdc->x42b7->x45e1;
$x1e6 = $this->xe4->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4601}}};
$x20f = $this->xe4->x42be->x4e5c;
$x2cb = $this->xdc->x42e4->{$this->xc9->x42e4->{$this->xc9->x42e4->x5644}};
$x4194 = $this->xc9->x42e4->{$this->xc9->x42e4->x564d};
$x3ed = $this->xe4->x42e4->x5655;
$x434 = $this->xdc->x42e4->{$this->xc9->x42e4->x5668};
$x49a = $this->xdc->x42e4->{$this->xc9->x42e4->x566f};
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
try {
${$this->xe4->x42be->x4ba2} = $this;
${$this->xe4->x42fe->{$this->xe4->x42fe->x5bae}} = "Mage";
${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->x53c4}}} = "helper";
${$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bbc}}} = "throwException";
${$this->xe4->x42e4->x53d3} = $x410c($x4100());
${$this->xc9->x42b7->{$this->xdc->x42b7->x4371}}->{$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->x431f}}}->{$this->xdc->x42b7->x46c3}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba8}}, ${$this->xc9->x42b7->x4392});
if (${$this->xc9->x42fe->x5ba5}->{$this->xe4->x42b7->x46d9}(${$this->xc9->x42fe->x5bc0}) != $x410c(${$this->xc9->x42e4->{$this->xe4->x42e4->{$this->xc9->x42e4->x53db}}})) {
${$this->xc9->x42b7->{$this->xdc->x42b7->x437e}}::${$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bbc}}}(${$this->xe4->x42e4->x53b3}::${$this->xe4->x42be->{$this->xdc->x42be->x4bb2}}("elasticsearch")->{$this->xdc->x42b7->x46e2}(${$this->xdc->x42be->{$this->xc9->x42be->x4ba3}}->{$this->xdc->x42b7->{$this->xe4->x42b7->x432a}}));
}
${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->x5bd9}}}} = array();
${$this->xdc->x42fe->x5be1} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}();
foreach (Mage::$x622b()->{$this->xc9->x42b7->x470c}() as ${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x5400}}}) {
if (!${$this->xe4->x42e4->x53fa}->{$this->xc9->x42b7->x471a}()) {
continue;
}
Mage::$x622b()->{$this->xe4->x42b7->x4730}(${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x43a8}}}});
${$this->xdc->x42fe->{$this->xe4->x42fe->{$this->xc9->x42fe->{$this->xdc->x42fe->{$this->xe4->x42fe->x5c05}}}}} = (int)${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x43a8}}}}->{$this->xe4->x42b7->x473a}();
if (isset(${$this->xe4->x42be->x4b95}['store_id'])) {
if (!$x4139(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba4}}['store_id'])) {
${$this->xe4->x42b7->{$this->xc9->x42b7->x436b}}['store_id'] = array(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba4}}['store_id']);
}
if (!$x4144(${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x5411}}}, ${$this->xe4->x42be->x4b95}['store_id'])) {
continue;
}
}
$this->{$this->xdc->x42b7->x474d}(' > Exporting categories of store %s', ${$this->xdc->x42be->{$this->xc9->x42be->x4be7}}->{$this->xe4->x42b7->x475a}());
${$this->xdc->x42be->{$this->xc9->x42be->x4bd6}}[${$this->xdc->x42be->{$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bfc}}}}] = array();
${$this->xdc->x42e4->x5415} = $this->{$this->xe4->x42b7->x475f}('category', ${$this->xdc->x42be->{$this->xc9->x42be->x4be7}});
${$this->xc9->x42e4->x541c} = Mage::$x6259('catalog/category')->{$this->xc9->x42b7->x4785}();
${$this->xe4->x42be->x4c0d}->{$this->xe4->x42b7->x479a}(${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xe4->x42e4->x5403}}}}->{$this->xe4->x42b7->x473a}());
${$this->xe4->x42e4->{$this->xe4->x42e4->x542a}} = ${$this->xdc->x42be->{$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4bee}}}}}->{$this->xc9->x42b7->x47b5}();
${$this->xe4->x42fe->x5c11}->{$this->xe4->x42b7->x47bc}()->{$this->xdc->x42b7->x47d8}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5c0d}})->{$this->xc9->x42b7->x47e3}('path', array('like' => "1/{${$this->xdc->x42e4->x5425}}/%"));
${$this->xc9->x42e4->x541c}->{$this->xc9->x42b7->x47f0}();
foreach (${$this->xe4->x42fe->x5c11} as ${$this->xe4->x42fe->{$this->xc9->x42fe->x5c20}}) {
${$this->xe4->x42b7->x43d6}->{$this->xc9->x42b7->x47f9}()->{$this->xe4->x42b7->x480e}(${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x43a6}}});
${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->x5bd9}}}}[${$this->xdc->x42fe->{$this->xdc->x42fe->x5bfd}}][${$this->xe4->x42fe->{$this->xc9->x42fe->x5c20}}->{$this->xe4->x42b7->x473a}()] = $x4194(array('id' => ${$this->xdc->x42be->{$this->xdc->x42be->x4c2d}}->{$this->xe4->x42b7->x473a}(), '_url' => ${$this->xe4->x42b7->x43d6}->{$this->xc9->x42b7->x4833}(), '_path' => $this->{$this->xdc->x42fe->x5d9c}(${$this->xdc->x42e4->{$this->xc9->x42e4->{$this->xc9->x42e4->x5437}}}),), ${$this->xc9->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x43dc}}}->{$this->xc9->x42b7->x4852}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5c0d}}));
}
$this->{$this->xdc->x42b7->x474d}(' > Categories exported');
}
Mage::$x622b()->{$this->xe4->x42b7->x4730}(${$this->xdc->x42fe->{$this->xdc->x42fe->{$this->xdc->x42fe->{$this->xc9->x42fe->x5bec}}}});
return ${$this->xdc->x42be->{$this->xc9->x42be->x4bd6}};
} catch (Exception $e) {
throw $e;
}
}
public function getSearchableAttributes($x41ca = null)
{
$x610 = $this->xc9->x42e4->x567a;
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
if (null === $this->{$this->xc9->x42b7->x4337}) {
$this->{$this->xc9->x42b7->x4337} = array();
${$this->xc9->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4c6f}}} = $this->{$this->xe4->x42b7->x4888}()->{$this->xdc->x42b7->x489b}('catalog_category');
${$this->xe4->x42e4->x547e} = ${$this->xc9->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4c6f}}}->{$this->xc9->x42b7->x48a4}();
${$this->xc9->x42e4->x548b} = Mage::$x60c8('catalog/category_attribute_collection')->{$this->xdc->x42b7->x48ba}(${$this->xc9->x42b7->{$this->xc9->x42b7->x442c}}->{$this->xe4->x42b7->x48c2}())->{$this->xdc->x42b7->x48cf}('attribute_code', array('in' => $this->{$this->xe4->x42b7->x475f}('category', ${$this->xe4->x42e4->x5469})));
${$this->xdc->x42fe->x5c92} = ${$this->xc9->x42e4->{$this->xe4->x42e4->{$this->xdc->x42e4->x5491}}}->{$this->xc9->x42b7->x48eb}();
foreach (${$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4450}}}}} as ${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4455}}}) {
${$this->xc9->x42fe->{$this->xdc->x42fe->x5ca2}}->{$this->xc9->x42b7->x48f8}(${$this->xc9->x42b7->x442d});
$this->{$this->xc9->x42b7->x4337}[${$this->xdc->x42fe->x5ca1}->{$this->xe4->x42b7->x490e}()] = ${$this->xdc->x42fe->x5ca1};
}
}
return $this->{$this->xc9->x42b7->{$this->xc9->x42b7->x4308}};
}
public function getStoreIndexProperties($x4236 = null)
{
$x41fe = $this->xc9->x42e4->{$this->xc9->x42e4->{$this->xdc->x42e4->x5687}};
$x6d7 = $this->xe4->x42be->{$this->xc9->x42be->x4ec5};
$x4246 = $this->xdc->x42e4->x56a0;
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
${$this->xe4->x42be->x4c9c} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}(${$this->xe4->x42be->x4c9c});
${$this->xe4->x42e4->x54b0} = 'elasticsearch_category_index_properties_' . ${$this->xc9->x42e4->{$this->xc9->x42e4->x54ac}}->{$this->xe4->x42b7->x473a}();
if (Mage::$x622b()->{$this->xe4->x42b7->x4948}('config')) {
${$this->xdc->x42e4->{$this->xdc->x42e4->x54ba}} = Mage::$x622b()->{$this->xdc->x42b7->x4960}(${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->x5cbc}}});
if (${$this->xdc->x42b7->x446d}) {
return $x41fe(${$this->xc9->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xe4->x42b7->x4476}}}});
}
}
${$this->xe4->x42be->{$this->xdc->x42be->x4cb0}} = array();
${$this->xdc->x42be->{$this->xdc->x42be->x4cbc}} = $this->{$this->xdc->x42be->{$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4d93}}}}(${$this->xdc->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->{$this->xdc->x42fe->x5cb0}}}});
foreach (${$this->xe4->x42fe->{$this->xc9->x42fe->x5cc8}} as ${$this->xdc->x42be->{$this->xe4->x42be->{$this->xc9->x42be->x4cc9}}}) {
${$this->xc9->x42e4->{$this->xc9->x42e4->x54d8}} = ${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->x54d2}}}->{$this->xe4->x42b7->x490e}();
${$this->xc9->x42e4->x54ca}->{$this->xc9->x42b7->x498b}(true);
${$this->xc9->x42fe->{$this->xc9->x42fe->x5cc1}}[${$this->xdc->x42b7->{$this->xe4->x42b7->x448f}}] = $this->{$this->xe4->x42b7->x499c}(${$this->xe4->x42b7->x4482}, ${$this->xe4->x42b7->x445c});
}
${$this->xe4->x42be->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xe4->x42be->x4cb3}}}}['_url'] = array('type' => 'string', 'store' => true, 'index' => 'no',);
${$this->xdc->x42b7->x446d}['_path'] = array('type' => 'string', 'store' => true, 'index' => 'no',);
${$this->xe4->x42be->{$this->xdc->x42be->x4cb0}} = new Varien_Object(${$this->xe4->x42be->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xe4->x42be->x4cb3}}}});
Mage::$x61c6('wyomind_elasticsearch_index_properties', array('indexer' => $this, 'store' => ${$this->xdc->x42fe->{$this->xe4->x42fe->x5ca9}}, 'properties' => ${$this->xdc->x42b7->x446d},));
${$this->xc9->x42b7->{$this->xc9->x42b7->x446e}} = ${$this->xe4->x42be->x4cac}->{$this->xe4->x42b7->x46d9}();
if (Mage::$x622b()->{$this->xe4->x42b7->x4948}('config')) {
${$this->xdc->x42be->{$this->xe4->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4cdd}}}} = $this->{$this->xdc->x42b7->x49e3}();
Mage::$x622b()->{$this->xdc->x42b7->x49fd}($x4246(${$this->xe4->x42be->x4cac}), ${$this->xc9->x42e4->{$this->xdc->x42e4->x54b1}}, array('config'), ${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x54e6}}});
}
return ${$this->xe4->x42fe->x5cbd};
}
public function getCategoriesWithPathNames($x428b = null)
{
$x426b = $this->xdc->x42b7->{$this->xc9->x42b7->x4693};
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
${$this->xdc->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44bb}}} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}(${$this->xdc->x42b7->x44b4});
if (!isset($this->{$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4344}}}[${$this->xc9->x42be->{$this->xdc->x42be->x4cef}}->{$this->xe4->x42b7->x473a}()])) {
${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xdc->x42be->x4cff}}}} = Mage::$x6259('catalog/category')->{$this->xc9->x42b7->x4785}()->{$this->xdc->x42b7->x47d8}('name')->{$this->xe4->x42b7->x479a}(${$this->xdc->x42fe->x5cee}->{$this->xe4->x42b7->x473a}());
foreach (${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4cfb}}} as ${$this->xe4->x42fe->x5d06}) {
${$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x44d7}}}}}->{$this->xe4->x42b7->x4a82}(new ArrayObject());
${$this->xe4->x42e4->{$this->xe4->x42e4->x5515}} = $x426b(${$this->xe4->x42e4->{$this->xdc->x42e4->x550a}}->{$this->xe4->x42b7->x4a94}(), 2);
if (!empty(${$this->xdc->x42b7->x44d9})) {
foreach (${$this->xdc->x42be->{$this->xdc->x42be->x4d14}} as ${$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44e9}}}) {
if (${$this->xc9->x42e4->{$this->xc9->x42e4->x5525}} = ${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xdc->x42be->x4cff}}}}->{$this->xe4->x42b7->x4a99}(${$this->xdc->x42fe->x5d12})) {
${$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x44d6}}}}->{$this->xc9->x42b7->x4aa5}()->{$this->xc9->x42b7->x4ab2}(${$this->xdc->x42be->{$this->xc9->x42be->x4d29}}->{$this->xe4->x42b7->x4ac4}());
}
}
}
}
$this->{$this->xdc->x42b7->{$this->xc9->x42b7->x4341}}[${$this->xdc->x42b7->{$this->xc9->x42b7->x44b9}}->{$this->xe4->x42b7->x473a}()] = ${$this->xe4->x42fe->{$this->xc9->x42fe->{$this->xc9->x42fe->{$this->xdc->x42fe->{$this->xe4->x42fe->x5d02}}}}};
}
return $this->{$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4344}}}[${$this->xdc->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44bb}}}->{$this->xe4->x42b7->x473a}()];
}
public function getCategoryPathName(Mage_Catalog_Model_Category $x42ad, $x42aa = ' > ')
{
$x42a6 = $this->xc9->x42fe->x5eb1;
$x5ed0 = "helper";
$x622b = "app";
$x6259 = "getModel";
$x60c8 = "getResourceModel";
$x61c6 = "dispatchEvent";
${$this->xc9->x42b7->{$this->xe4->x42b7->x4512}} = $this->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4dc0}}}(${$this->xdc->x42be->x4d32}->{$this->xc9->x42b7->x46fe}())->{$this->xe4->x42b7->x4a99}(${$this->xdc->x42e4->{$this->xe4->x42e4->{$this->xe4->x42e4->x5536}}}->{$this->xe4->x42b7->x473a}());
if (${$this->xc9->x42fe->{$this->xdc->x42fe->x5d36}}) {
return $x42a6(${$this->xc9->x42b7->x4503}, (array)${$this->xdc->x42e4->x5547}->{$this->xc9->x42b7->x4aa5}());
}
return ${$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4d37}}}->{$this->xe4->x42b7->x4ac4}();
}
} ?>
Did this file decode correctly?
Original Code
<?php
/**
* The technical support is guaranteed for all modules proposed by Wyomind.
* The below code is obfuscated in order to protect the module's copyright as well as the integrity of the license and of the source code.
* The support cannot apply if modifications have been made to the original source code (https://www.wyomind.com/terms-and-conditions.html).
* Nonetheless, Wyomind remains available to answer any question you might have and find the solutions adapted to your needs.
* Feel free to contact our technical team from your Wyomind account in My account > My tickets.
* Copyright 2017 Wyomind. All rights reserved.
* See LICENSE.txt for license details.
*/
class Wyomind_Elasticsearch_Helper_Indexer_Category extends Wyomind_Elasticsearch_Helper_Indexer_Abstract
{
public $xc9 = null;
public $xe4 = null;
public $xdc = null;
protected $_searchableAttributes;
protected $_categoriesWithPathNames = array();
protected $_blockClass = 'Wyomind_Elasticsearch_Block_Autocomplete_Category';
private $x4319 = null;
public $error = "E\x6c\x61\163t\151c\163\x65arc\x68\40Ca\164\145go\x72y \111nd\x65\170\40\72 \x49nv\141\154\151\144 L\x69ce\x6e\163\145!";
public function __construct()
{
$x5ed0 = "h\x65\154\160\145\162";
$x622b = "\141\x70\x70";
$x6259 = "\147\145tMode\154";
$x60c8 = "\147\x65\x74\x52e\x73ou\x72ce\115\157\144\x65\154";
$x61c6 = "\x64i\x73\160\x61\x74chE\166\145\156\x74";
$this->_construct();
}
public function _construct()
{
$x5ed0 = "\x68\x65l\160\145\x72";
$x622b = "\x61\160\x70";
$x6259 = "getM\x6f\x64\145\154";
$x60c8 = "g\145\x74R\x65\163\x6fu\x72c\145M\157d\x65l";
$x61c6 = "di\x73pat\x63h\105ve\156\x74";
$this->x4319 = Mage::helper("\x6ci\x63e\x6e\x73em\141n\x61\x67\145r/\144a\164\x61");
$this->x4319->constructor($this, func_get_args());
}
public function export($x414a = array())
{
$x410c = $this->xdc->x42e4->x55b4;
$x4100 = $this->xc9->x42fe->{$this->xdc->x42fe->x5db3};
$xa9 = $this->xc9->x42be->{$this->xc9->x42be->x4df3};
$x4139 = $this->xe4->x42e4->x55d7;
$x4144 = $this->xc9->x42be->{$this->xe4->x42be->x4e14};
$x530 = $this->xc9->x42be->{$this->xe4->x42be->{$this->xdc->x42be->x4e25}};
$x152 = $this->xc9->x42e4->x55ff;
$x438 = $this->xdc->x42b7->x45e1;
$x1e6 = $this->xe4->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4601}}};
$x20f = $this->xe4->x42be->x4e5c;
$x2cb = $this->xdc->x42e4->{$this->xc9->x42e4->{$this->xc9->x42e4->x5644}};
$x4194 = $this->xc9->x42e4->{$this->xc9->x42e4->x564d};
$x3ed = $this->xe4->x42e4->x5655;
$x434 = $this->xdc->x42e4->{$this->xc9->x42e4->x5668};
$x49a = $this->xdc->x42e4->{$this->xc9->x42e4->x566f};
$x5ed0 = "\x68e\154\x70\145r";
$x622b = "ap\x70";
$x6259 = "\147\145\x74M\157d\x65\x6c";
$x60c8 = "\147\145tRe\x73o\x75\162\143eM\x6f\x64\x65\x6c";
$x61c6 = "d\x69sp\x61\164\x63\150\x45\x76\x65nt";
try {
${$this->xe4->x42be->x4ba2} = $this;
${$this->xe4->x42fe->{$this->xe4->x42fe->x5bae}} = "\x4da\147\x65";
${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->x53c4}}} = "h\x65l\160e\162";
${$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bbc}}} = "\x74h\162\x6f\167Ex\143e\x70\164\x69\157n";
${$this->xe4->x42e4->x53d3} = $x410c($x4100());
${$this->xc9->x42b7->{$this->xdc->x42b7->x4371}}->{$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->x431f}}}->{$this->xdc->x42b7->x46c3}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba8}}, ${$this->xc9->x42b7->x4392});
if (${$this->xc9->x42fe->x5ba5}->{$this->xe4->x42b7->x46d9}(${$this->xc9->x42fe->x5bc0}) != $x410c(${$this->xc9->x42e4->{$this->xe4->x42e4->{$this->xc9->x42e4->x53db}}})) {
${$this->xc9->x42b7->{$this->xdc->x42b7->x437e}}::${$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bbc}}}(${$this->xe4->x42e4->x53b3}::${$this->xe4->x42be->{$this->xdc->x42be->x4bb2}}("\x65\x6c\x61\163\164\x69\143\x73\x65arc\150")->{$this->xdc->x42b7->x46e2}(${$this->xdc->x42be->{$this->xc9->x42be->x4ba3}}->{$this->xdc->x42b7->{$this->xe4->x42b7->x432a}}));
}
${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->x5bd9}}}} = array();
${$this->xdc->x42fe->x5be1} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}();
foreach (Mage::$x622b()->{$this->xc9->x42b7->x470c}() as ${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x5400}}}) {
if (!${$this->xe4->x42e4->x53fa}->{$this->xc9->x42b7->x471a}()) {
continue;
}
Mage::$x622b()->{$this->xe4->x42b7->x4730}(${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x43a8}}}});
${$this->xdc->x42fe->{$this->xe4->x42fe->{$this->xc9->x42fe->{$this->xdc->x42fe->{$this->xe4->x42fe->x5c05}}}}} = (int)${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x43a8}}}}->{$this->xe4->x42b7->x473a}();
if (isset(${$this->xe4->x42be->x4b95}['store_id'])) {
if (!$x4139(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba4}}['store_id'])) {
${$this->xe4->x42b7->{$this->xc9->x42b7->x436b}}['store_id'] = array(${$this->xdc->x42fe->{$this->xc9->x42fe->x5ba4}}['store_id']);
}
if (!$x4144(${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x5411}}}, ${$this->xe4->x42be->x4b95}['store_id'])) {
continue;
}
}
$this->{$this->xdc->x42b7->x474d}(' > Exporting categories of store %s', ${$this->xdc->x42be->{$this->xc9->x42be->x4be7}}->{$this->xe4->x42b7->x475a}());
${$this->xdc->x42be->{$this->xc9->x42be->x4bd6}}[${$this->xdc->x42be->{$this->xc9->x42be->{$this->xe4->x42be->{$this->xe4->x42be->x4bfc}}}}] = array();
${$this->xdc->x42e4->x5415} = $this->{$this->xe4->x42b7->x475f}('category', ${$this->xdc->x42be->{$this->xc9->x42be->x4be7}});
${$this->xc9->x42e4->x541c} = Mage::$x6259('catalog/category')->{$this->xc9->x42b7->x4785}();
${$this->xe4->x42be->x4c0d}->{$this->xe4->x42b7->x479a}(${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xe4->x42e4->x5403}}}}->{$this->xe4->x42b7->x473a}());
${$this->xe4->x42e4->{$this->xe4->x42e4->x542a}} = ${$this->xdc->x42be->{$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4bee}}}}}->{$this->xc9->x42b7->x47b5}();
${$this->xe4->x42fe->x5c11}->{$this->xe4->x42b7->x47bc}()->{$this->xdc->x42b7->x47d8}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5c0d}})->{$this->xc9->x42b7->x47e3}('path', array('like' => "1/{${$this->xdc->x42e4->x5425}}/%"));
${$this->xc9->x42e4->x541c}->{$this->xc9->x42b7->x47f0}();
foreach (${$this->xe4->x42fe->x5c11} as ${$this->xe4->x42fe->{$this->xc9->x42fe->x5c20}}) {
${$this->xe4->x42b7->x43d6}->{$this->xc9->x42b7->x47f9}()->{$this->xe4->x42b7->x480e}(${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x43a6}}});
${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->x5bd9}}}}[${$this->xdc->x42fe->{$this->xdc->x42fe->x5bfd}}][${$this->xe4->x42fe->{$this->xc9->x42fe->x5c20}}->{$this->xe4->x42b7->x473a}()] = $x4194(array('id' => ${$this->xdc->x42be->{$this->xdc->x42be->x4c2d}}->{$this->xe4->x42b7->x473a}(), '_url' => ${$this->xe4->x42b7->x43d6}->{$this->xc9->x42b7->x4833}(), '_path' => $this->{$this->xdc->x42fe->x5d9c}(${$this->xdc->x42e4->{$this->xc9->x42e4->{$this->xc9->x42e4->x5437}}}),), ${$this->xc9->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x43dc}}}->{$this->xc9->x42b7->x4852}(${$this->xdc->x42fe->{$this->xc9->x42fe->x5c0d}}));
}
$this->{$this->xdc->x42b7->x474d}(' > Categories exported');
}
Mage::$x622b()->{$this->xe4->x42b7->x4730}(${$this->xdc->x42fe->{$this->xdc->x42fe->{$this->xdc->x42fe->{$this->xc9->x42fe->x5bec}}}});
return ${$this->xdc->x42be->{$this->xc9->x42be->x4bd6}};
} catch (Exception $e) {
throw $e;
}
}
public function getSearchableAttributes($x41ca = null)
{
$x610 = $this->xc9->x42e4->x567a;
$x5ed0 = "\x68\145l\160\x65\x72";
$x622b = "\x61\160p";
$x6259 = "getM\157\144\145\154";
$x60c8 = "\147\145\164\x52\145\x73\x6f\165r\143\145M\157de\x6c";
$x61c6 = "d\151\163patc\150E\166\145\156t";
if (null === $this->{$this->xc9->x42b7->x4337}) {
$this->{$this->xc9->x42b7->x4337} = array();
${$this->xc9->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4c6f}}} = $this->{$this->xe4->x42b7->x4888}()->{$this->xdc->x42b7->x489b}('catalog_category');
${$this->xe4->x42e4->x547e} = ${$this->xc9->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4c6f}}}->{$this->xc9->x42b7->x48a4}();
${$this->xc9->x42e4->x548b} = Mage::$x60c8('catalog/category_attribute_collection')->{$this->xdc->x42b7->x48ba}(${$this->xc9->x42b7->{$this->xc9->x42b7->x442c}}->{$this->xe4->x42b7->x48c2}())->{$this->xdc->x42b7->x48cf}('attribute_code', array('in' => $this->{$this->xe4->x42b7->x475f}('category', ${$this->xe4->x42e4->x5469})));
${$this->xdc->x42fe->x5c92} = ${$this->xc9->x42e4->{$this->xe4->x42e4->{$this->xdc->x42e4->x5491}}}->{$this->xc9->x42b7->x48eb}();
foreach (${$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4450}}}}} as ${$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4455}}}) {
${$this->xc9->x42fe->{$this->xdc->x42fe->x5ca2}}->{$this->xc9->x42b7->x48f8}(${$this->xc9->x42b7->x442d});
$this->{$this->xc9->x42b7->x4337}[${$this->xdc->x42fe->x5ca1}->{$this->xe4->x42b7->x490e}()] = ${$this->xdc->x42fe->x5ca1};
}
}
return $this->{$this->xc9->x42b7->{$this->xc9->x42b7->x4308}};
}
public function getStoreIndexProperties($x4236 = null)
{
$x41fe = $this->xc9->x42e4->{$this->xc9->x42e4->{$this->xdc->x42e4->x5687}};
$x6d7 = $this->xe4->x42be->{$this->xc9->x42be->x4ec5};
$x4246 = $this->xdc->x42e4->x56a0;
$x5ed0 = "\150\x65\154\x70e\x72";
$x622b = "a\x70\160";
$x6259 = "\147\x65\164\x4dod\145l";
$x60c8 = "\x67\x65\164\122\145\163\157\165\162\143\145Mod\x65\x6c";
$x61c6 = "\144\151\x73\160\x61\164\x63\150\105\166e\x6e\x74";
${$this->xe4->x42be->x4c9c} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}(${$this->xe4->x42be->x4c9c});
${$this->xe4->x42e4->x54b0} = 'elasticsearch_category_index_properties_' . ${$this->xc9->x42e4->{$this->xc9->x42e4->x54ac}}->{$this->xe4->x42b7->x473a}();
if (Mage::$x622b()->{$this->xe4->x42b7->x4948}('config')) {
${$this->xdc->x42e4->{$this->xdc->x42e4->x54ba}} = Mage::$x622b()->{$this->xdc->x42b7->x4960}(${$this->xdc->x42fe->{$this->xc9->x42fe->{$this->xe4->x42fe->x5cbc}}});
if (${$this->xdc->x42b7->x446d}) {
return $x41fe(${$this->xc9->x42b7->{$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xe4->x42b7->x4476}}}});
}
}
${$this->xe4->x42be->{$this->xdc->x42be->x4cb0}} = array();
${$this->xdc->x42be->{$this->xdc->x42be->x4cbc}} = $this->{$this->xdc->x42be->{$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4d93}}}}(${$this->xdc->x42fe->{$this->xe4->x42fe->{$this->xdc->x42fe->{$this->xdc->x42fe->x5cb0}}}});
foreach (${$this->xe4->x42fe->{$this->xc9->x42fe->x5cc8}} as ${$this->xdc->x42be->{$this->xe4->x42be->{$this->xc9->x42be->x4cc9}}}) {
${$this->xc9->x42e4->{$this->xc9->x42e4->x54d8}} = ${$this->xc9->x42e4->{$this->xdc->x42e4->{$this->xdc->x42e4->x54d2}}}->{$this->xe4->x42b7->x490e}();
${$this->xc9->x42e4->x54ca}->{$this->xc9->x42b7->x498b}(true);
${$this->xc9->x42fe->{$this->xc9->x42fe->x5cc1}}[${$this->xdc->x42b7->{$this->xe4->x42b7->x448f}}] = $this->{$this->xe4->x42b7->x499c}(${$this->xe4->x42b7->x4482}, ${$this->xe4->x42b7->x445c});
}
${$this->xe4->x42be->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xe4->x42be->x4cb3}}}}['_url'] = array('type' => 'string', 'store' => true, 'index' => 'no',);
${$this->xdc->x42b7->x446d}['_path'] = array('type' => 'string', 'store' => true, 'index' => 'no',);
${$this->xe4->x42be->{$this->xdc->x42be->x4cb0}} = new Varien_Object(${$this->xe4->x42be->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xe4->x42be->x4cb3}}}});
Mage::$x61c6('wyomind_elasticsearch_index_properties', array('indexer' => $this, 'store' => ${$this->xdc->x42fe->{$this->xe4->x42fe->x5ca9}}, 'properties' => ${$this->xdc->x42b7->x446d},));
${$this->xc9->x42b7->{$this->xc9->x42b7->x446e}} = ${$this->xe4->x42be->x4cac}->{$this->xe4->x42b7->x46d9}();
if (Mage::$x622b()->{$this->xe4->x42b7->x4948}('config')) {
${$this->xdc->x42be->{$this->xe4->x42be->{$this->xc9->x42be->{$this->xc9->x42be->x4cdd}}}} = $this->{$this->xdc->x42b7->x49e3}();
Mage::$x622b()->{$this->xdc->x42b7->x49fd}($x4246(${$this->xe4->x42be->x4cac}), ${$this->xc9->x42e4->{$this->xdc->x42e4->x54b1}}, array('config'), ${$this->xdc->x42e4->{$this->xdc->x42e4->{$this->xc9->x42e4->x54e6}}});
}
return ${$this->xe4->x42fe->x5cbd};
}
public function getCategoriesWithPathNames($x428b = null)
{
$x426b = $this->xdc->x42b7->{$this->xc9->x42b7->x4693};
$x5ed0 = "\x68e\x6c\160\145\162";
$x622b = "\x61\x70\x70";
$x6259 = "\147e\x74\x4do\x64\x65l";
$x60c8 = "g\x65\164\x52e\163\157\x75rce\115\157de\154";
$x61c6 = "\x64\x69s\160\141\x74ch\x45v\x65\x6et";
${$this->xdc->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44bb}}} = Mage::$x622b()->{$this->xc9->x42b7->x46fe}(${$this->xdc->x42b7->x44b4});
if (!isset($this->{$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4344}}}[${$this->xc9->x42be->{$this->xdc->x42be->x4cef}}->{$this->xe4->x42b7->x473a}()])) {
${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xdc->x42be->x4cff}}}} = Mage::$x6259('catalog/category')->{$this->xc9->x42b7->x4785}()->{$this->xdc->x42b7->x47d8}('name')->{$this->xe4->x42b7->x479a}(${$this->xdc->x42fe->x5cee}->{$this->xe4->x42b7->x473a}());
foreach (${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4cfb}}} as ${$this->xe4->x42fe->x5d06}) {
${$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x44d7}}}}}->{$this->xe4->x42b7->x4a82}(new ArrayObject());
${$this->xe4->x42e4->{$this->xe4->x42e4->x5515}} = $x426b(${$this->xe4->x42e4->{$this->xdc->x42e4->x550a}}->{$this->xe4->x42b7->x4a94}(), 2);
if (!empty(${$this->xdc->x42b7->x44d9})) {
foreach (${$this->xdc->x42be->{$this->xdc->x42be->x4d14}} as ${$this->xc9->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44e9}}}) {
if (${$this->xc9->x42e4->{$this->xc9->x42e4->x5525}} = ${$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->{$this->xdc->x42be->x4cff}}}}->{$this->xe4->x42b7->x4a99}(${$this->xdc->x42fe->x5d12})) {
${$this->xc9->x42b7->{$this->xdc->x42b7->{$this->xdc->x42b7->{$this->xc9->x42b7->x44d6}}}}->{$this->xc9->x42b7->x4aa5}()->{$this->xc9->x42b7->x4ab2}(${$this->xdc->x42be->{$this->xc9->x42be->x4d29}}->{$this->xe4->x42b7->x4ac4}());
}
}
}
}
$this->{$this->xdc->x42b7->{$this->xc9->x42b7->x4341}}[${$this->xdc->x42b7->{$this->xc9->x42b7->x44b9}}->{$this->xe4->x42b7->x473a}()] = ${$this->xe4->x42fe->{$this->xc9->x42fe->{$this->xc9->x42fe->{$this->xdc->x42fe->{$this->xe4->x42fe->x5d02}}}}};
}
return $this->{$this->xdc->x42b7->{$this->xc9->x42b7->{$this->xe4->x42b7->x4344}}}[${$this->xdc->x42b7->{$this->xe4->x42b7->{$this->xdc->x42b7->x44bb}}}->{$this->xe4->x42b7->x473a}()];
}
public function getCategoryPathName(Mage_Catalog_Model_Category $x42ad, $x42aa = ' > ')
{
$x42a6 = $this->xc9->x42fe->x5eb1;
$x5ed0 = "\150\x65\154\160\145\x72";
$x622b = "\141\160p";
$x6259 = "\x67et\115od\x65\154";
$x60c8 = "\x67\145\164Re\163\x6f\165\162\x63\145\x4d\157\x64\145l";
$x61c6 = "\144i\x73p\141\164\143\150\x45\x76\x65n\x74";
${$this->xc9->x42b7->{$this->xe4->x42b7->x4512}} = $this->{$this->xc9->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4dc0}}}(${$this->xdc->x42be->x4d32}->{$this->xc9->x42b7->x46fe}())->{$this->xe4->x42b7->x4a99}(${$this->xdc->x42e4->{$this->xe4->x42e4->{$this->xe4->x42e4->x5536}}}->{$this->xe4->x42b7->x473a}());
if (${$this->xc9->x42fe->{$this->xdc->x42fe->x5d36}}) {
return $x42a6(${$this->xc9->x42b7->x4503}, (array)${$this->xdc->x42e4->x5547}->{$this->xc9->x42b7->x4aa5}());
}
return ${$this->xe4->x42be->{$this->xdc->x42be->{$this->xc9->x42be->x4d37}}}->{$this->xe4->x42b7->x4ac4}();
}
}
Function Calls
| None |
Stats
| MD5 | 76fd6796320fb659ac1f0e83b00e0ef2 |
| Eval Count | 0 |
| Decode Time | 116 ms |