Prado\Web\UI\WebControls\TSlider::registerStyleSheet PHP Méthode

registerStyleSheet() protected méthode

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()
    {
        if (($url = $this->getCssUrl()) === '') {
            $manager = $this->getApplication()->getAssetManager();
            // publish the assets
            $url = $manager->publishFilePath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'assets' . DIRECTORY_SEPARATOR . 'TSlider');
            $url .= '/TSlider.css';
        }
        $this->getPage()->getClientScript()->registerStyleSheetFile($url, $url);
    }