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 PhabricatorProjectsMembersSearchEngineAttachment extends PhabricatorS..
Decoded Output download
<?php
final class PhabricatorProjectsMembersSearchEngineAttachment
extends PhabricatorSearchEngineAttachment {
public function getAttachmentName() {
return pht('Project Members');
}
public function getAttachmentDescription() {
return pht('Get the member list for the project.');
}
public function willLoadAttachmentData($query, $spec) {
$query->needMembers(true);
}
public function getAttachmentForObject($object, $data, $spec) {
$members = array();
foreach ($object->getMemberPHIDs() as $member_phid) {
$members[] = array(
'phid' => $member_phid,
);
}
return array(
'members' => $members,
);
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorProjectsMembersSearchEngineAttachment
extends PhabricatorSearchEngineAttachment {
public function getAttachmentName() {
return pht('Project Members');
}
public function getAttachmentDescription() {
return pht('Get the member list for the project.');
}
public function willLoadAttachmentData($query, $spec) {
$query->needMembers(true);
}
public function getAttachmentForObject($object, $data, $spec) {
$members = array();
foreach ($object->getMemberPHIDs() as $member_phid) {
$members[] = array(
'phid' => $member_phid,
);
}
return array(
'members' => $members,
);
}
}
Function Calls
None |
Stats
MD5 | dad24dea3544cacb2ed02bd0148f00fb |
Eval Count | 0 |
Decode Time | 107 ms |