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 LegalpadDocumentSignatureTypeTransaction extends LegalpadDocumentTran..

Decoded Output download

<?php

final class LegalpadDocumentSignatureTypeTransaction
  extends LegalpadDocumentTransactionType {

  const TRANSACTIONTYPE = 'legalpad:signature-type';

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

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

  public function getTitle() {
    return pht(
      '%s updated the document signature type.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s updated the document signature type for %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class LegalpadDocumentSignatureTypeTransaction
  extends LegalpadDocumentTransactionType {

  const TRANSACTIONTYPE = 'legalpad:signature-type';

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

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

  public function getTitle() {
    return pht(
      '%s updated the document signature type.',
      $this->renderAuthor());
  }

  public function getTitleForFeed() {
    return pht(
      '%s updated the document signature type for %s.',
      $this->renderAuthor(),
      $this->renderObject());
  }

}

Function Calls

None

Variables

None

Stats

MD5 3d4341d28b8095d8505e6bb958a3d5ee
Eval Count 0
Decode Time 95 ms