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 PhabricatorProjectTagsAddedField extends PhabricatorProjectTagsField ..
Decoded Output download
<?php
final class PhabricatorProjectTagsAddedField
extends PhabricatorProjectTagsField {
const FIELDCONST = 'projects.added';
public function getHeraldFieldName() {
return pht('Project tags added');
}
public function getHeraldFieldValue($object) {
$xaction = $this->getProjectTagsTransaction();
if (!$xaction) {
return array();
}
$record = PhabricatorEdgeChangeRecord::newFromTransaction($xaction);
return $record->getAddedPHIDs();
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class PhabricatorProjectTagsAddedField
extends PhabricatorProjectTagsField {
const FIELDCONST = 'projects.added';
public function getHeraldFieldName() {
return pht('Project tags added');
}
public function getHeraldFieldValue($object) {
$xaction = $this->getProjectTagsTransaction();
if (!$xaction) {
return array();
}
$record = PhabricatorEdgeChangeRecord::newFromTransaction($xaction);
return $record->getAddedPHIDs();
}
}
Function Calls
None |
Stats
MD5 | 0feb2d34199f3d3fcf3dcb3665fb6814 |
Eval Count | 0 |
Decode Time | 104 ms |