AbstractView::getHTML PHP Метод

getHTML() публичный Метод

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.
public getHTML ( boolean $destroy = true, boolean $execute_js = true ) : string
$destroy boolean Destroy object preventing it from rendering
$execute_js boolean Also capture JavaScript chains of object
Результат string HTML
    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;
    }