[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/phpast/controller/ -> PhabricatorXHPASTViewFramesetController.php (source)

   1  <?php
   2  
   3  final class PhabricatorXHPASTViewFramesetController
   4    extends PhabricatorXHPASTViewController {
   5  
   6    private $id;
   7  
   8    public function willProcessRequest(array $data) {
   9      $this->id = $data['id'];
  10    }
  11  
  12    public function processRequest() {
  13      $id = $this->id;
  14  
  15      $response = new AphrontWebpageResponse();
  16      $response->setFrameable(true);
  17      $response->setContent(phutil_tag(
  18        'frameset',
  19        array('cols' => '33%, 34%, 33%'),
  20        array(
  21          phutil_tag('frame', array('src' => "/xhpast/input/{$id}/")),
  22          phutil_tag('frame', array('src' => "/xhpast/tree/{$id}/")),
  23          phutil_tag('frame', array('src' => "/xhpast/stream/{$id}/")),
  24        )));
  25  
  26      return $response;
  27    }
  28  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1