web\View registerCss()

registerCss() public method

Registers a CSS code block.

public void registerCss ( $css, $options = [], $key = null )
$css string

The content of the CSS code block to be registered

$options array

The HTML attributes for the <style>-tag.

$key string

The key that identifies the CSS code block. If null, it will use $css as the key. If two CSS code blocks are registered with the same key, the latter will overwrite the former.

doc_Yii
2016-10-30 17:17:33
Comments
Leave a Comment

Please login to continue.