jQuery::cutRender PHP Method

cutRender() public method

[private] When partial render is done, this function includes JS for rendered region.
public cutRender ( )
    public function cutRender()
    {
        $x = $this->app->template->get('document_ready');
        if (is_array($x)) {
            $x = implode('', $x);
        }
        if (!empty($x)) {
            echo '<script type="text/javascript">' . $x . '</script>';
        }
    }