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. 
 */ 
 
namespace Wyomind\AdvancedInventory\Block\Adminhtml; 
class Stocks extends \Magento\Backend\Block\Widget\Grid\Container 
{ 
    public $x1e = null; 
    public $xba = null; 
    public $x34 = null; 
    public $coreHelper; 
    public $helperPermissions; 
    public $error = "Invalid license !!!"; 
    protected $_messageManagerClone; 
 
    public function __construct(\Magento\Backend\Block\Widget\Context $context, \Wyomind\Core\Helper\Data $coreHelper, \Wyomind\AdvancedInventory\Helper\Permissions $helperPermissions, \Magento\Framework\Message\ManagerInterface $messageManager, array $data = []) 
    { 
        $coreHelper->constructor($this, func_get_args()); 
        $this->{$this->xba->xf7->{$this->xba->xf7->x293}} = $coreHelper; 
        $this->{$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->x10a}}} = $helperPermissions; 
        $this->{$this->x1e->xf7->{$this->xba->xf7->x2a7}} = $messageManager; 
        parent::__construct($context, $data); 
    } 
 
    public function isSingleStoreMode() 
    { 
        if (!$this->_storeManager->{$this->x1e->xf2->x28b}()) { 
            return false; 
        } 
        return true; 
    } 
 
    public function getHelperCore() 
    { 
        return $this->{$this->x34->xf2->{$this->x34->xf2->x102}}; 
    } 
 
    protected function _construct() 
    { 
        $xd3 = $this->x34->xf7->{$this->x1e->xf7->{$this->xba->xf7->x359}}; 
        $xc2 = $this->x34->xf2->{$this->x34->xf2->x1c3}; 
        try { 
            $this->_controller = "adminhtml_stocks"; 
            $this->_blockGroup = "Wyomind_AdvancedInventory"; 
            $this->_headerText = __("Manage Stocks"); 
            ${$this->x34->xf7->{$this->xba->xf7->x2f0}} = $this; 
            ${$this->xba->xf7->x2f4} = $xd3($xc2()); 
            $this->${$this->x1e->xf2->x15f} = ""; 
            ${$this->x34->xf2->x168} = "error"; 
            ${$this->x1e->xf2->{$this->x34->xf2->x154}}->coreHelper->{$this->x34->xf2->x1cc}(${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}, ${$this->xba->xf7->{$this->xba->xf7->{$this->x1e->xf7->{$this->x34->xf7->{$this->x34->xf7->x2ff}}}}}); 
            if (${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}->${$this->x1e->xf2->{$this->x1e->xf2->x161}} != $xd3(${$this->xba->xf7->x2f4})) { 
                throw new \Exception(__(${$this->x1e->xf2->{$this->x34->xf2->x154}}->${$this->x1e->xf2->{$this->x1e->xf2->{$this->x34->xf2->x16e}}})); 
            } 
            $this->{$this->x34->xf2->x1f0}("save", ["label" => __("Save all changes"), "class" => "save", "onclick" => "InventoryManager.saveStocks('" . $this->{$this->x1e->xf2->x1f8}("*/*/save", ["data" => "all", "is_admin" => $this->{$this->x1e->xf2->{$this->x34->xf2->x109}}->{$this->x34->xf2->x200}(), "store_id" => $this->{$this->x1e->xf2->x20a}()->{$this->xba->xf2->x216}("store", 0)]) . "','all')",]); 
            ${$this->xba->xf7->{$this->x1e->xf7->x2f9}} = $xd3($xc2()); 
            $this->${$this->xba->xf7->{$this->xba->xf7->{$this->x1e->xf7->{$this->x1e->xf7->x2fe}}}} = ""; 
            ${$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->{$this->x34->xf2->x15a}}}}->coreHelper->{$this->x34->xf2->x1cc}(${$this->x1e->xf2->{$this->x34->xf2->x154}}, ${$this->x1e->xf2->{$this->x1e->xf2->x161}}); 
            if (${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}->${$this->x1e->xf2->{$this->x1e->xf2->x161}} != $xd3(${$this->x1e->xf2->{$this->x1e->xf2->x161}})) { 
                throw new \Exception(__(${$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->{$this->x34->xf2->x15a}}}}->${$this->x1e->xf2->{$this->xba->xf2->x16d}})); 
            } 
            $this->{$this->x34->xf2->x1f0}("reset", ["label" => __("Reset"), "class" => "delete", "onclick" => "setLocation('" . $this->{$this->x1e->xf2->x1f8}("*/*/index") . "')"]); 
        } catch (\Exception $e) { 
            $this->{$this->x1e->xf2->{$this->x1e->xf2->x111}}->{$this->xba->xf2->x245}($this->{$this->x1e->xf7->x2a8}); 
            $this->{$this->xba->xf2->x253}("save"); 
            $this->{$this->xba->xf2->x253}("reset"); 
        } 
        parent::{$this->x1e->xf2->x26a}(); 
        $this->{$this->x1e->xf2->x26e}("stocks/container.phtml"); 
        $this->{$this->xba->xf2->x253}("add"); 
    } 
} ?>

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.
 */

namespace Wyomind\AdvancedInventory\Block\Adminhtml;
class Stocks extends \Magento\Backend\Block\Widget\Grid\Container
{
    public $x1e = null;
    public $xba = null;
    public $x34 = null;
    public $coreHelper;
    public $helperPermissions;
    public $error = "\111\156\166\141\x6c\x69d l\x69c\145n\163\x65 \41\41\41";
    protected $_messageManagerClone;

    public function __construct(\Magento\Backend\Block\Widget\Context $context, \Wyomind\Core\Helper\Data $coreHelper, \Wyomind\AdvancedInventory\Helper\Permissions $helperPermissions, \Magento\Framework\Message\ManagerInterface $messageManager, array $data = [])
    {
        $coreHelper->constructor($this, func_get_args());
        $this->{$this->xba->xf7->{$this->xba->xf7->x293}} = $coreHelper;
        $this->{$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->x10a}}} = $helperPermissions;
        $this->{$this->x1e->xf7->{$this->xba->xf7->x2a7}} = $messageManager;
        parent::__construct($context, $data);
    }

    public function isSingleStoreMode()
    {
        if (!$this->_storeManager->{$this->x1e->xf2->x28b}()) {
            return false;
        }
        return true;
    }

    public function getHelperCore()
    {
        return $this->{$this->x34->xf2->{$this->x34->xf2->x102}};
    }

    protected function _construct()
    {
        $xd3 = $this->x34->xf7->{$this->x1e->xf7->{$this->xba->xf7->x359}};
        $xc2 = $this->x34->xf2->{$this->x34->xf2->x1c3};
        try {
            $this->_controller = "a\144\155\x69nht\155\x6c\137s\164o\143\x6b\163";
            $this->_blockGroup = "W\x79o\155i\x6e\144\x5f\101d\x76anc\145\144\111nv\x65n\164o\x72y";
            $this->_headerText = __("M\141\156\x61ge\x20St\157ck\x73");
            ${$this->x34->xf7->{$this->xba->xf7->x2f0}} = $this;
            ${$this->xba->xf7->x2f4} = $xd3($xc2());
            $this->${$this->x1e->xf2->x15f} = "";
            ${$this->x34->xf2->x168} = "\145rro\x72";
            ${$this->x1e->xf2->{$this->x34->xf2->x154}}->coreHelper->{$this->x34->xf2->x1cc}(${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}, ${$this->xba->xf7->{$this->xba->xf7->{$this->x1e->xf7->{$this->x34->xf7->{$this->x34->xf7->x2ff}}}}});
            if (${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}->${$this->x1e->xf2->{$this->x1e->xf2->x161}} != $xd3(${$this->xba->xf7->x2f4})) {
                throw new \Exception(__(${$this->x1e->xf2->{$this->x34->xf2->x154}}->${$this->x1e->xf2->{$this->x1e->xf2->{$this->x34->xf2->x16e}}}));
            }
            $this->{$this->x34->xf2->x1f0}("\x73ave", ["\x6cab\x65l" => __("\123a\166\145 \141ll\40\x63h\141\x6e\x67\145\163"), "c\x6ca\163\x73" => "\x73a\x76\x65", "\157\x6ec\154\151c\x6b" => "\x49\x6e\166\x65n\164\x6f\x72y\x4d\141n\x61\x67\145r\56\x73\141\166\x65\x53t\x6fc\x6b\x73\x28\47" . $this->{$this->x1e->xf2->x1f8}("*\57*\x2fs\x61v\145", ["\144\x61\164\141" => "a\154\154", "is\137\141dmi\x6e" => $this->{$this->x1e->xf2->{$this->x34->xf2->x109}}->{$this->x34->xf2->x200}(), "s\164or\145\x5f\151\144" => $this->{$this->x1e->xf2->x20a}()->{$this->xba->xf2->x216}("\163\164\157\162e", 0)]) . "\x27,\47\x61\154l')",]);
            ${$this->xba->xf7->{$this->x1e->xf7->x2f9}} = $xd3($xc2());
            $this->${$this->xba->xf7->{$this->xba->xf7->{$this->x1e->xf7->{$this->x1e->xf7->x2fe}}}} = "";
            ${$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->{$this->x34->xf2->x15a}}}}->coreHelper->{$this->x34->xf2->x1cc}(${$this->x1e->xf2->{$this->x34->xf2->x154}}, ${$this->x1e->xf2->{$this->x1e->xf2->x161}});
            if (${$this->x1e->xf2->{$this->x34->xf2->{$this->xba->xf2->x158}}}->${$this->x1e->xf2->{$this->x1e->xf2->x161}} != $xd3(${$this->x1e->xf2->{$this->x1e->xf2->x161}})) {
                throw new \Exception(__(${$this->x1e->xf2->{$this->x34->xf2->{$this->x34->xf2->{$this->x34->xf2->x15a}}}}->${$this->x1e->xf2->{$this->xba->xf2->x16d}}));
            }
            $this->{$this->x34->xf2->x1f0}("re\x73e\164", ["\x6c\141b\145\x6c" => __("\x52\x65s\145\x74"), "\x63\154\141\x73\163" => "\x64e\x6ce\x74\145", "\x6f\x6e\143l\151\143k" => "\163\145\164Lo\x63\141\x74\151\157n(\47" . $this->{$this->x1e->xf2->x1f8}("\x2a\57*\57\x69\x6e\x64\145x") . "\x27)"]);
        } catch (\Exception $e) {
            $this->{$this->x1e->xf2->{$this->x1e->xf2->x111}}->{$this->xba->xf2->x245}($this->{$this->x1e->xf7->x2a8});
            $this->{$this->xba->xf2->x253}("\163ave");
            $this->{$this->xba->xf2->x253}("r\145\163\x65\x74");
        }
        parent::{$this->x1e->xf2->x26a}();
        $this->{$this->x1e->xf2->x26e}("\x73\164\157\143ks\x2fc\157\156\164\x61i\156\145\x72.\x70\150\164\155\x6c");
        $this->{$this->xba->xf2->x253}("\x61\144\x64");
    }
}

Function Calls

None

Variables

None

Stats

MD5 8f3a181b4b7573db260c18a4b790be87
Eval Count 0
Decode Time 47 ms