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 /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset;
/**
* Adminhtml block for fieldset of product custom options
*
* @api
* @since 100.0.2
*/
class Options extends \Magento\Catalog\Block\Product\View\Options
{
/**
* Get option html block
*
* @param \Magento\Catalog\Model\Product\Option $option
*
* @return string
*/
public function getOptionHtml(\Magento\Catalog\Model\Product\Option $option)
{
$type = $this->getGroupOfOption($option->getType());
$renderer = $this->getChildBlock($type);
$renderer->setSkipJsReloadPrice(1)->setProduct($this->getProduct())->setOption($option);
return $this->getChildHtml($type, false);
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Composite\Fieldset;
/**
* Adminhtml block for fieldset of product custom options
*
* @api
* @since 100.0.2
*/
class Options extends \Magento\Catalog\Block\Product\View\Options
{
/**
* Get option html block
*
* @param \Magento\Catalog\Model\Product\Option $option
*
* @return string
*/
public function getOptionHtml(\Magento\Catalog\Model\Product\Option $option)
{
$type = $this->getGroupOfOption($option->getType());
$renderer = $this->getChildBlock($type);
$renderer->setSkipJsReloadPrice(1)->setProduct($this->getProduct())->setOption($option);
return $this->getChildHtml($type, false);
}
}
Function Calls
None |
Stats
MD5 | 804201af7839caf7fbb3160ee751bd57 |
Eval Count | 0 |
Decode Time | 86 ms |