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 final class HeraldDoNothingAction extends HeraldAction { const ACTIONCONST = 'no..
Decoded Output download
<?php
final class HeraldDoNothingAction extends HeraldAction {
const ACTIONCONST = 'nothing';
const DO_NOTHING = 'do.nothing';
public function getHeraldActionName() {
return pht('Do nothing');
}
public function getActionGroupKey() {
return HeraldUtilityActionGroup::ACTIONGROUPKEY;
}
public function supportsObject($object) {
return true;
}
public function supportsRuleType($rule_type) {
return true;
}
public function applyEffect($object, HeraldEffect $effect) {
$this->logEffect(self::DO_NOTHING);
}
public function getHeraldActionStandardType() {
return self::STANDARD_NONE;
}
protected function getActionEffectMap() {
return array(
self::DO_NOTHING => array(
'icon' => 'fa-check',
'color' => 'grey',
'name' => pht('Did Nothing'),
),
);
}
public function renderActionDescription($value) {
return pht('Do nothing.');
}
protected function renderActionEffectDescription($type, $data) {
return pht('Did nothing.');
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class HeraldDoNothingAction extends HeraldAction {
const ACTIONCONST = 'nothing';
const DO_NOTHING = 'do.nothing';
public function getHeraldActionName() {
return pht('Do nothing');
}
public function getActionGroupKey() {
return HeraldUtilityActionGroup::ACTIONGROUPKEY;
}
public function supportsObject($object) {
return true;
}
public function supportsRuleType($rule_type) {
return true;
}
public function applyEffect($object, HeraldEffect $effect) {
$this->logEffect(self::DO_NOTHING);
}
public function getHeraldActionStandardType() {
return self::STANDARD_NONE;
}
protected function getActionEffectMap() {
return array(
self::DO_NOTHING => array(
'icon' => 'fa-check',
'color' => 'grey',
'name' => pht('Did Nothing'),
),
);
}
public function renderActionDescription($value) {
return pht('Do nothing.');
}
protected function renderActionEffectDescription($type, $data) {
return pht('Did nothing.');
}
}
Function Calls
None |
Stats
MD5 | 48cf2ad27d32f0a63c4fed69d2b46ac4 |
Eval Count | 0 |
Decode Time | 92 ms |