protected static function baseScriptUrl() { if (!self::$_initialized) { self::$basePath = dirname(__FILE__) . '/assets'; self::$baseUrl = Yii::app()->getAssetManager()->publish(self::$basePath, false, -1, YII_DEBUG); self::$_initialized = true; } return self::$baseUrl; }
public function renderPager() { parent::renderPager(); MyYii::registerCss('/css/mygrid.css'); }