original_string: public function getHTML($destroy = true, $execute_js = true)
      {
          $this->addHook('output', array($this, '_tsBuffer'));
          $this->recursiveRender();
          $this->removeHook('output', array($this, '_tsBuffer'));
          $ret = $this->_tsBuffer;
          $this->_tsBuffer = '';
          if ($execute_js && isset($this->app->jquery)) {
              /** @type App_Web $this->app */
              $this->app->jquery->getJS($this);
          }
          if ($destroy) {
              $this->destroy();
          }
  
          return $ret;
      }
code: public function getHTML($destroy = true, $execute_js = true)
      {
          $this->addHook('output', array($this, '_tsBuffer'));
          $this->recursiveRender();
          $this->removeHook('output', array($this, '_tsBuffer'));
          $ret = $this->_tsBuffer;
          $this->_tsBuffer = '';
          if ($execute_js && isset($this->app->jquery)) {
              /** @type App_Web $this->app */
              $this->app->jquery->getJS($this);
          }
          if ($destroy) {
              $this->destroy();
          }
  
          return $ret;
      }
code_tokens: public function getHTML ( $ destroy = true , $ execute_js = true ) { $ this -> addHook ( 'output' , array ( $ this , '_tsBuffer' ) ) ; $ this -> recursiveRender ( ) ; $ this -> removeHook ( 'output' , array ( $ this , '_tsBuffer' ) ) ; $ ret = $ this -> _tsBuffer ; $ this -> _tsBuffer = '' ; if ( $ execute_js && isset ( $ this -> app -> jquery ) ) { /** @type App_Web $this->app */ $ this -> app -> jquery -> getJS ( $ this ) ; } if ( $ destroy ) { $ this -> destroy ( ) ; } return $ ret ; }
docstring: Converting View into string will render recursively and produce HTML.
  If argument is passed, JavaScript will be added into on_ready section
  of your document like when rendered normally. Note that you might
  require to destroy object if you don't want it's HTML to appear normally.
  
  @param bool $destroy    Destroy object preventing it from rendering
  @param bool $execute_js Also capture JavaScript chains of object
  
  @return string HTML
docstring_tokens: Converting View into string will render recursively and produce HTML . If argument is passed JavaScript will be added into on_ready section of your document like when rendered normally . Note that you might require to destroy object if you don t want it s HTML to appear normally .