components/TbApi.php
public function registerCoreCss($url = null, $media = 'screen')
    {
        if ($url === null) {
            $fileName = YII_DEBUG ? 'bootstrap.css' : 'bootstrap.min.css';
            $url = $this->getBootstrapUrl() . '/css/' . $fileName;
        }
        Yii::app()->getClientScript()->registerCssFile($url, $media);
    }
public function registerCoreCss($url = null, $media = 'screen')
    {
        if ($url === null) {
            $fileName = YII_DEBUG ? 'bootstrap.css' : 'bootstrap.min.css';
            $url = $this->getBootstrapUrl() . '/css/' . $fileName;
        }
        Yii::app()->getClientScript()->registerCssFile($url, $media);
    }
public function registerCoreCss ( $ url = null , $ media = 'screen' ) { if ( $ url === null ) { $ fileName = YII_DEBUG ? 'bootstrap.css' : 'bootstrap.min.css' ; $ url = $ this -> getBootstrapUrl ( ) . '/css/' . $ fileName ; } Yii :: app ( ) -> getClientScript ( ) -> registerCssFile ( $ url , $ media ) ; }
Registers the Bootstrap CSS.
@param string $url the URL to the CSS file to register.
@param string $media the media type (defaults to 'screen').
Registers the Bootstrap CSS .