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 abstract class PhabricatorApplicationsController extends PhabricatorController { ..

Decoded Output download

<?php

abstract class PhabricatorApplicationsController extends PhabricatorController {

  public function buildSideNavView($for_app = false) {
    $user = $this->getRequest()->getUser();

    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    id(new PhabricatorAppSearchEngine())
      ->setViewer($user)
      ->addNavigationItems($nav->getMenu());

    $nav->selectFilter(null);

    return $nav;
  }

  public function buildApplicationMenu() {
    return $this->buildSideNavView(true)->getMenu();
  }

  protected function addApplicationCrumb(
    PHUICrumbsView $crumbs,
    PhabricatorApplication $application) {

    $crumbs->addTextCrumb(
      $application->getName(),
      '/applications/view/'.get_class($application).'/');
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

abstract class PhabricatorApplicationsController extends PhabricatorController {

  public function buildSideNavView($for_app = false) {
    $user = $this->getRequest()->getUser();

    $nav = new AphrontSideNavFilterView();
    $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));

    id(new PhabricatorAppSearchEngine())
      ->setViewer($user)
      ->addNavigationItems($nav->getMenu());

    $nav->selectFilter(null);

    return $nav;
  }

  public function buildApplicationMenu() {
    return $this->buildSideNavView(true)->getMenu();
  }

  protected function addApplicationCrumb(
    PHUICrumbsView $crumbs,
    PhabricatorApplication $application) {

    $crumbs->addTextCrumb(
      $application->getName(),
      '/applications/view/'.get_class($application).'/');
  }

}

Function Calls

None

Variables

None

Stats

MD5 45532619f331b2831d2d5b721821a08f
Eval Count 0
Decode Time 94 ms