Prado\Web\UI\WebControls\TTabPanel::registerStyleSheet PHP Method

registerStyleSheet() protected method

It will register the CSS file specified by {@link getCssUrl CssUrl}. If that is not set, it will use the default CSS.
protected registerStyleSheet ( )
    protected function registerStyleSheet()
    {
        $url = $this->getCssUrl();
        if ($url === '') {
            return;
        }
        if ($url === 'default') {
            $url = $this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'tabpanel.css');
        }
        if ($url !== '') {
            $this->getPage()->getClientScript()->registerStyleSheetFile($url, $url);
        }
    }