Prado\Web\UI\WebControls\TClientScript::renderCustomScript PHP Method

renderCustomScript() protected method

Registers the body content as javascript.
protected renderCustomScript ( $writer )
    protected function renderCustomScript($writer)
    {
        if ($this->getHasControls()) {
            $writer->write("<script type=\"text/javascript\">\n/*<![CDATA[*/\n");
            $this->renderChildren($writer);
            $writer->write("\n/*]]>*/\n</script>\n");
        }
    }