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 PhabricatorDashboardIconSet extends PhabricatorIconSet { const ICO..

Decoded Output download

<?php

final class PhabricatorDashboardIconSet
  extends PhabricatorIconSet {

  const ICONSETKEY = 'dashboards';

  public function getSelectIconTitleText() {
    return pht('Choose Dashboard Icon');
  }

  protected function newIcons() {
    $map = array(
      'fa-home' => pht('Home'),
      'fa-dashboard' => pht('Dashboard'),
      'fa-th-large' => pht('Blocks'),
      'fa-columns' => pht('Columns'),
      'fa-bookmark' => pht('Page Saver'),

      'fa-book' => pht('Knowledge'),
      'fa-bomb' => pht('Kaboom'),
      'fa-pie-chart' => pht('Apple Blueberry'),
      'fa-bar-chart' => pht('Serious Business'),
      'fa-briefcase' => pht('Project'),

      'fa-bell' => pht('Ding Ding'),
      'fa-credit-card' => pht('Plastic Debt'),
      'fa-code' => pht('PHP is Life'),
      'fa-sticky-note' => pht('To Self'),
      'fa-newspaper-o' => pht('Stay Woke'),

      'fa-server' => pht('Metallica'),
      'fa-hashtag' => pht('Corned Beef'),
      'fa-anchor' => pht('Tasks'),
      'fa-calendar' => pht('Calendar'),
      'fa-compass' => pht('Wayfinding'),

      'fa-futbol-o' => pht('Sports'),
      'fa-flag' => pht('Flag'),
      'fa-ship' => pht('Water Vessel'),
      'fa-feed' => pht('Wireless'),
      'fa-bullhorn' => pht('Announcement'),

    );

    $icons = array();
    foreach ($map as $key => $label) {
      $icons[] = id(new PhabricatorIconSetIcon())
        ->setKey($key)
        ->setLabel($label);
    }

    return $icons;
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorDashboardIconSet
  extends PhabricatorIconSet {

  const ICONSETKEY = 'dashboards';

  public function getSelectIconTitleText() {
    return pht('Choose Dashboard Icon');
  }

  protected function newIcons() {
    $map = array(
      'fa-home' => pht('Home'),
      'fa-dashboard' => pht('Dashboard'),
      'fa-th-large' => pht('Blocks'),
      'fa-columns' => pht('Columns'),
      'fa-bookmark' => pht('Page Saver'),

      'fa-book' => pht('Knowledge'),
      'fa-bomb' => pht('Kaboom'),
      'fa-pie-chart' => pht('Apple Blueberry'),
      'fa-bar-chart' => pht('Serious Business'),
      'fa-briefcase' => pht('Project'),

      'fa-bell' => pht('Ding Ding'),
      'fa-credit-card' => pht('Plastic Debt'),
      'fa-code' => pht('PHP is Life'),
      'fa-sticky-note' => pht('To Self'),
      'fa-newspaper-o' => pht('Stay Woke'),

      'fa-server' => pht('Metallica'),
      'fa-hashtag' => pht('Corned Beef'),
      'fa-anchor' => pht('Tasks'),
      'fa-calendar' => pht('Calendar'),
      'fa-compass' => pht('Wayfinding'),

      'fa-futbol-o' => pht('Sports'),
      'fa-flag' => pht('Flag'),
      'fa-ship' => pht('Water Vessel'),
      'fa-feed' => pht('Wireless'),
      'fa-bullhorn' => pht('Announcement'),

    );

    $icons = array();
    foreach ($map as $key => $label) {
      $icons[] = id(new PhabricatorIconSetIcon())
        ->setKey($key)
        ->setLabel($label);
    }

    return $icons;
  }

}

Function Calls

None

Variables

None

Stats

MD5 825f42e9d86dc9b660fd16619f8ce1c4
Eval Count 0
Decode Time 94 ms