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 DrydockLeaseWaitingForReclamationLogType extends DrydockLogType { co..
Decoded Output download
<?php
final class DrydockLeaseWaitingForReclamationLogType extends DrydockLogType {
const LOGCONST = 'core.lease.waiting-for-reclamation';
public function getLogTypeName() {
return pht('Waiting For Reclamation');
}
public function getLogTypeIcon(array $data) {
return 'fa-clock-o yellow';
}
public function renderLog(array $data) {
$resource_phids = idx($data, 'resourcePHIDs', array());
return pht(
'Waiting for reclamation of resources: %s.',
$this->renderHandleList($resource_phids));
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DrydockLeaseWaitingForReclamationLogType extends DrydockLogType {
const LOGCONST = 'core.lease.waiting-for-reclamation';
public function getLogTypeName() {
return pht('Waiting For Reclamation');
}
public function getLogTypeIcon(array $data) {
return 'fa-clock-o yellow';
}
public function renderLog(array $data) {
$resource_phids = idx($data, 'resourcePHIDs', array());
return pht(
'Waiting for reclamation of resources: %s.',
$this->renderHandleList($resource_phids));
}
}
Function Calls
None |
Stats
MD5 | 3bacee22739db97777b9e2b0752178ae |
Eval Count | 0 |
Decode Time | 90 ms |