kartik\grid\GridView::initCss PHP 메소드

initCss() 보호된 정적인 메소드

Sets a default css class within options if not set
protected static initCss ( array &$options, string $css )
$options array the HTML options
$css string the CSS class to test and append
    protected static function initCss(&$options, $css)
    {
        if (!isset($options['class'])) {
            $options['class'] = $css;
        }
    }