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 DifferentialRevisionHasParentRelationship extends DifferentialRevisio..
Decoded Output download
<?php
final class DifferentialRevisionHasParentRelationship
extends DifferentialRevisionRelationship {
const RELATIONSHIPKEY = 'revision.has-parent';
public function getEdgeConstant() {
return DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST;
}
protected function getActionName() {
return pht('Edit Parent Revisions');
}
protected function getActionIcon() {
return 'fa-chevron-circle-up';
}
public function canRelateObjects($src, $dst) {
return ($dst instanceof DifferentialRevision);
}
public function shouldAppearInActionMenu() {
return false;
}
public function getDialogTitleText() {
return pht('Edit Parent Revisions');
}
public function getDialogHeaderText() {
return pht('Current Parent Revisions');
}
public function getDialogButtonText() {
return pht('Save Parent Revisions');
}
protected function newRelationshipSource() {
return new DifferentialRevisionRelationshipSource();
}
}
?>
Did this file decode correctly?
Original Code
<?php
final class DifferentialRevisionHasParentRelationship
extends DifferentialRevisionRelationship {
const RELATIONSHIPKEY = 'revision.has-parent';
public function getEdgeConstant() {
return DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST;
}
protected function getActionName() {
return pht('Edit Parent Revisions');
}
protected function getActionIcon() {
return 'fa-chevron-circle-up';
}
public function canRelateObjects($src, $dst) {
return ($dst instanceof DifferentialRevision);
}
public function shouldAppearInActionMenu() {
return false;
}
public function getDialogTitleText() {
return pht('Edit Parent Revisions');
}
public function getDialogHeaderText() {
return pht('Current Parent Revisions');
}
public function getDialogButtonText() {
return pht('Save Parent Revisions');
}
protected function newRelationshipSource() {
return new DifferentialRevisionRelationshipSource();
}
}
Function Calls
None |
Stats
MD5 | 8d9d3cfd290cb25194d0c048ebe6fcc1 |
Eval Count | 0 |
Decode Time | 71 ms |