Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / phpast / controller / PhabricatorXHPASTViewFrameController.php
blob89f5b8fd7da52a25486de03281c09f008bfb0d19
1 <?php
3 final class PhabricatorXHPASTViewFrameController
4 extends PhabricatorXHPASTViewController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 $id = $request->getURIData('id');
13 return $this->buildStandardPageResponse(
14 phutil_tag(
15 'iframe',
16 array(
17 'src' => "/xhpast/frameset/{$id}/",
18 'frameborder' => '0',
19 'style' => 'width: 100%; height: 800px;',
20 '',
21 )),
22 array(
23 'title' => pht('XHPAST View'),
24 ));