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 AlmanacPropertiesSearchEngineAttachment extends AlmanacSearchEngineAt..

Decoded Output download

<?php

final class AlmanacPropertiesSearchEngineAttachment
  extends AlmanacSearchEngineAttachment {

  public function getAttachmentName() {
    return pht('Almanac Properties');
  }

  public function getAttachmentDescription() {
    return pht('Get Almanac properties for the object.');
  }

  public function willLoadAttachmentData($query, $spec) {
    $query->needProperties(true);
  }

  public function getAttachmentForObject($object, $data, $spec) {
    $properties = $this->getAlmanacPropertyList($object);

    return array(
      'properties' => $properties,
    );
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class AlmanacPropertiesSearchEngineAttachment
  extends AlmanacSearchEngineAttachment {

  public function getAttachmentName() {
    return pht('Almanac Properties');
  }

  public function getAttachmentDescription() {
    return pht('Get Almanac properties for the object.');
  }

  public function willLoadAttachmentData($query, $spec) {
    $query->needProperties(true);
  }

  public function getAttachmentForObject($object, $data, $spec) {
    $properties = $this->getAlmanacPropertyList($object);

    return array(
      'properties' => $properties,
    );
  }

}

Function Calls

None

Variables

None

Stats

MD5 23766ef0c8d9d9b2457f4fc71172b4d7
Eval Count 0
Decode Time 94 ms