Prado\Web\UI\WebControls\TAccordionView::renderHeaderContent PHP Method

renderHeaderContent() protected method

By default, a hyperlink is displayed.
protected renderHeaderContent ( $writer )
    protected function renderHeaderContent($writer)
    {
        $url = $this->getNavigateUrl();
        if (($caption = $this->getCaption()) === '') {
            $caption = ' ';
        }
        if ($url != '') {
            $writer->write("<a href=\"{$url}\">");
        }
        $writer->write("{$caption}");
        if ($url != '') {
            $writer->write("</a>");
        }
    }