[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

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

   1  <?php
   2  
   3  final class PhabricatorXHPASTViewFrameController
   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      return $this->buildStandardPageResponse(
  16        phutil_tag(
  17          'iframe',
  18          array(
  19            'src'         => '/xhpast/frameset/'.$id.'/',
  20            'frameborder' => '0',
  21            'style'       => 'width: 100%; height: 800px;',
  22          '',
  23        )),
  24        array(
  25          'title' => 'XHPAST View',
  26        ));
  27    }
  28  }


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