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\Backend\Block\Widget\Grid\Column\Filter;
/**
* Massaction grid column filter
*
* @author Magento Core Team <[email protected]>
*/
class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Checkbox
{
/**
* {@inheritdoc}
*/
public function getCondition()
{
if ($this->getValue()) {
return ['in' => $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : [0]];
} else {
return ['nin' => $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : [0]];
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Block\Widget\Grid\Column\Filter;
/**
* Massaction grid column filter
*
* @author Magento Core Team <[email protected]>
*/
class Massaction extends \Magento\Backend\Block\Widget\Grid\Column\Filter\Checkbox
{
/**
* {@inheritdoc}
*/
public function getCondition()
{
if ($this->getValue()) {
return ['in' => $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : [0]];
} else {
return ['nin' => $this->getColumn()->getSelected() ? $this->getColumn()->getSelected() : [0]];
}
}
}
Function Calls
| None |
Stats
| MD5 | 43e8565b2f7fafc73e2dbc917e0c0308 |
| Eval Count | 0 |
| Decode Time | 84 ms |