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 PhamePostEditEngineLock extends PhabricatorEditEngineLock { public..

Decoded Output download

<?php

final class PhamePostEditEngineLock
  extends PhabricatorEditEngineLock {

  public function willPromptUserForLockOverrideWithDialog(
    AphrontDialogView $dialog) {

    return $dialog
      ->setTitle(pht('Edit Locked Post'))
      ->appendParagraph(
          pht('Comments are disabled for this post. Edit it anyway?'))
      ->addSubmitButton(pht('Edit Post'));
  }

  public function willBlockUserInteractionWithDialog(
    AphrontDialogView $dialog) {

    return $dialog
      ->setTitle(pht('Post Locked'))
      ->appendParagraph(
        pht('You can not interact with this post because it is locked.'));
  }

  public function getLockedObjectDisplayText() {
    return pht('Comments have been disabled for this post.');
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhamePostEditEngineLock
  extends PhabricatorEditEngineLock {

  public function willPromptUserForLockOverrideWithDialog(
    AphrontDialogView $dialog) {

    return $dialog
      ->setTitle(pht('Edit Locked Post'))
      ->appendParagraph(
          pht('Comments are disabled for this post. Edit it anyway?'))
      ->addSubmitButton(pht('Edit Post'));
  }

  public function willBlockUserInteractionWithDialog(
    AphrontDialogView $dialog) {

    return $dialog
      ->setTitle(pht('Post Locked'))
      ->appendParagraph(
        pht('You can not interact with this post because it is locked.'));
  }

  public function getLockedObjectDisplayText() {
    return pht('Comments have been disabled for this post.');
  }

}

Function Calls

None

Variables

None

Stats

MD5 859380e90050d8c91aaa372f1458f1fe
Eval Count 0
Decode Time 102 ms