[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/xhprof/view/ -> PhabricatorXHProfProfileView.php (source)

   1  <?php
   2  
   3  abstract class PhabricatorXHProfProfileView extends AphrontView {
   4  
   5    private $baseURI;
   6    private $isFramed;
   7  
   8    public function setIsFramed($is_framed) {
   9      $this->isFramed = $is_framed;
  10      return $this;
  11    }
  12  
  13    public function setBaseURI($uri) {
  14      $this->baseURI = $uri;
  15      return $this;
  16    }
  17  
  18    protected function renderSymbolLink($symbol) {
  19      return phutil_tag(
  20        'a',
  21        array(
  22          'href'    => $this->baseURI.'?symbol='.$symbol,
  23          'target'  => $this->isFramed ? '_top' : null,
  24        ),
  25        $symbol);
  26    }
  27  
  28  }


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