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 PhameBlogProfileImageTransaction extends PhameBlogTransactionType { ..

Decoded Output download

<?php

final class PhameBlogProfileImageTransaction
  extends PhameBlogTransactionType {

  // TODO: Migrate these transactions ha ha .... ha
  const TRANSACTIONTYPE = 'phame.blog.header.image';

  public function generateOldValue($object) {
    return $object->getProfileImagePHID();
  }

  public function applyInternalEffects($object, $value) {
    $object->setProfileImagePHID($value);
  }

  public function getTitle() {
    return pht(
      '%s changed the profile image for this blog.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s changed the profile image for blog %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-file-image-o';
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhameBlogProfileImageTransaction
  extends PhameBlogTransactionType {

  // TODO: Migrate these transactions ha ha .... ha
  const TRANSACTIONTYPE = 'phame.blog.header.image';

  public function generateOldValue($object) {
    return $object->getProfileImagePHID();
  }

  public function applyInternalEffects($object, $value) {
    $object->setProfileImagePHID($value);
  }

  public function getTitle() {
    return pht(
      '%s changed the profile image for this blog.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s changed the profile image for blog %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

  public function getIcon() {
    return 'fa-file-image-o';
  }

}

Function Calls

None

Variables

None

Stats

MD5 1d56e839c31ddd1ad74568d44edb5485
Eval Count 0
Decode Time 90 ms