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 PhabricatorProjectAddHeraldAction extends PhabricatorProjectHeraldAct..

Decoded Output download

<?php

final class PhabricatorProjectAddHeraldAction
  extends PhabricatorProjectHeraldAction {

  const ACTIONCONST = 'projects.add';

  public function getHeraldActionName() {
    return pht('Add projects');
  }

  public function applyEffect($object, HeraldEffect $effect) {
    return $this->applyProjects($effect->getTarget(), $is_add = true);
  }

  public function getHeraldActionStandardType() {
    return self::STANDARD_PHID_LIST;
  }

  protected function getDatasource() {
    return new PhabricatorProjectDatasource();
  }

  public function renderActionDescription($value) {
    return pht('Add projects: %s.', $this->renderHandleList($value));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorProjectAddHeraldAction
  extends PhabricatorProjectHeraldAction {

  const ACTIONCONST = 'projects.add';

  public function getHeraldActionName() {
    return pht('Add projects');
  }

  public function applyEffect($object, HeraldEffect $effect) {
    return $this->applyProjects($effect->getTarget(), $is_add = true);
  }

  public function getHeraldActionStandardType() {
    return self::STANDARD_PHID_LIST;
  }

  protected function getDatasource() {
    return new PhabricatorProjectDatasource();
  }

  public function renderActionDescription($value) {
    return pht('Add projects: %s.', $this->renderHandleList($value));
  }

}

Function Calls

None

Variables

None

Stats

MD5 64a60dd09325559f7652de66879399c6
Eval Count 0
Decode Time 83 ms