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 PhabricatorCalendarImportFetchLogType extends PhabricatorCalendarImpo..

Decoded Output download

<?php

final class PhabricatorCalendarImportFetchLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'fetch';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Fetched Calendar');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {

    return $viewer->renderHandle($log->getParameter('file.phid'));
  }

  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-download';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'green';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportFetchLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'fetch';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Fetched Calendar');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {

    return $viewer->renderHandle($log->getParameter('file.phid'));
  }

  public function getDisplayIcon(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'fa-download';
  }

  public function getDisplayColor(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return 'green';
  }

}

Function Calls

None

Variables

None

Stats

MD5 f8d85d005d63018bcb1371e0845c8a51
Eval Count 0
Decode Time 79 ms