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 PhabricatorCalendarEventDeclineTransaction extends PhabricatorCalenda..

Decoded Output download

<?php

final class PhabricatorCalendarEventDeclineTransaction
  extends PhabricatorCalendarEventReplyTransaction {

  const TRANSACTIONTYPE = 'calendar.decline';

  public function generateNewValue($object, $value) {
    return PhabricatorCalendarEventInvitee::STATUS_DECLINED;
  }

  public function getTitle() {
    return pht(
      '%s declined this event.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s declined %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarEventDeclineTransaction
  extends PhabricatorCalendarEventReplyTransaction {

  const TRANSACTIONTYPE = 'calendar.decline';

  public function generateNewValue($object, $value) {
    return PhabricatorCalendarEventInvitee::STATUS_DECLINED;
  }

  public function getTitle() {
    return pht(
      '%s declined this event.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s declined %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

}

Function Calls

None

Variables

None

Stats

MD5 18e3a4b0fb7d8fac8ee82f5c458a2281
Eval Count 0
Decode Time 75 ms