public function renderModuleStatus(AphrontRequest $request)
 {
     $viewer = $request->getViewer();
     $extensions = PhabricatorIndexEngineExtension::getAllExtensions();
     $rows = array();
     foreach ($extensions as $extension) {
         $rows[] = array(get_class($extension), $extension->getExtensionName());
     }
     return id(new AphrontTableView($rows))->setHeaders(array(pht('Class'), pht('Name')))->setColumnClasses(array(null, 'wide pri'));
 }
 private function newExtensions()
 {
     $object = $this->getObject();
     $extensions = PhabricatorIndexEngineExtension::getAllExtensions();
     foreach ($extensions as $key => $extension) {
         if (!$extension->shouldIndexObject($object)) {
             unset($extensions[$key]);
         }
     }
     return $extensions;
 }