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\Attribute\Button;
class Save extends Generic
{
/**
* Get button data
*
* @return array
*/
public function getButtonData()
{
return [
'label' => __('Save Attribute'),
'class' => 'save primary',
'data_attribute' => [
'mage-init' => ['button' => ['event' => 'save']],
'form-role' => 'save',
]
];
}
}
?>
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\Attribute\Button;
class Save extends Generic
{
/**
* Get button data
*
* @return array
*/
public function getButtonData()
{
return [
'label' => __('Save Attribute'),
'class' => 'save primary',
'data_attribute' => [
'mage-init' => ['button' => ['event' => 'save']],
'form-role' => 'save',
]
];
}
}
Function Calls
None |
Stats
MD5 | fccfcb398976c6db99794c3c3addd64f |
Eval Count | 0 |
Decode Time | 100 ms |