Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
659 B · 27 lines
PHP
12345678910111213141516171819202122232425262728<?php
final class PhorgePHPASTViewFrameController extends PhabricatorXHPASTViewController {
public function shouldAllowPublic() { return true; }
public function handleRequest(AphrontRequest $request) { $id = $request->getURIData('id');
return $this->newPage() ->setApplicationName('PHPASTView') ->setBaseURI('/phpast/') ->setTitle(pht('PHPAST View')) ->setGlyph("\xE2\x96\xA0") ->appendChild(phutil_tag( 'iframe', array( 'src' => "/phpast/frameset/{$id}/", 'frameborder' => '0', 'style' => 'width: 100%; height: 800px;', '', ))); }}