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 ManiphestTaskHasSubtaskRelationship extends ManiphestTaskRelationship..

Decoded Output download

<?php

final class ManiphestTaskHasSubtaskRelationship
  extends ManiphestTaskRelationship {

  const RELATIONSHIPKEY = 'task.has-subtask';

  public function getEdgeConstant() {
    return ManiphestTaskDependsOnTaskEdgeType::EDGECONST;
  }

  protected function getActionName() {
    return pht('Edit Subtasks');
  }

  protected function getActionIcon() {
    return 'fa-chevron-circle-down';
  }

  public function canRelateObjects($src, $dst) {
    return ($dst instanceof ManiphestTask);
  }

  public function shouldAppearInActionMenu() {
    return false;
  }

  public function getDialogTitleText() {
    return pht('Edit Subtasks');
  }

  public function getDialogHeaderText() {
    return pht('Current Subtasks');
  }

  public function getDialogButtonText() {
    return pht('Save Subtasks');
  }

  protected function newRelationshipSource() {
    return id(new ManiphestTaskRelationshipSource())
      ->setSelectedFilter('open');
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class ManiphestTaskHasSubtaskRelationship
  extends ManiphestTaskRelationship {

  const RELATIONSHIPKEY = 'task.has-subtask';

  public function getEdgeConstant() {
    return ManiphestTaskDependsOnTaskEdgeType::EDGECONST;
  }

  protected function getActionName() {
    return pht('Edit Subtasks');
  }

  protected function getActionIcon() {
    return 'fa-chevron-circle-down';
  }

  public function canRelateObjects($src, $dst) {
    return ($dst instanceof ManiphestTask);
  }

  public function shouldAppearInActionMenu() {
    return false;
  }

  public function getDialogTitleText() {
    return pht('Edit Subtasks');
  }

  public function getDialogHeaderText() {
    return pht('Current Subtasks');
  }

  public function getDialogButtonText() {
    return pht('Save Subtasks');
  }

  protected function newRelationshipSource() {
    return id(new ManiphestTaskRelationshipSource())
      ->setSelectedFilter('open');
  }

}

Function Calls

None

Variables

None

Stats

MD5 5d317bdb64e35c77a4a5dae0c6b2e8a4
Eval Count 0
Decode Time 91 ms