getStorageTree(); $input = $storage->getInput(); $stdout = $storage->getStdout(); $tree = XHPASTTree::newFromDataAndResolvedExecFuture( $input, array(0, $stdout, '')); $tree = ''; return $this->buildXHPASTViewPanelResponse($tree); } protected function buildTree($root) { try { $name = $root->getTypeName(); $title = $root->getDescription(); } catch (Exception $ex) { $name = '???'; $title = '???'; } $tree = array(); $tree[] = '
  • '. phutil_render_tag( 'span', array( 'title' => $title, ), phutil_escape_html($name)). '
  • '; foreach ($root->getChildren() as $child) { $tree[] = ''; } return implode("\n", $tree); } }