Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / phpast / controller / PhabricatorXHPASTViewFramesetController.php
blob6f186fb3f8c30722ae663a9604b6199972bd50ab
1 <?php
3 final class PhabricatorXHPASTViewFramesetController
4 extends PhabricatorXHPASTViewController {
6 public function shouldAllowPublic() {
7 return true;
10 public function handleRequest(AphrontRequest $request) {
11 $id = $request->getURIData('id');
13 return id(new AphrontWebpageResponse())
14 ->setFrameable(true)
15 ->setContent(phutil_tag(
16 'frameset',
17 array('cols' => '33%, 34%, 33%'),
18 array(
19 phutil_tag('frame', array('src' => "/xhpast/input/{$id}/")),
20 phutil_tag('frame', array('src' => "/xhpast/tree/{$id}/")),
21 phutil_tag('frame', array('src' => "/xhpast/stream/{$id}/")),
22 )));