Class rmrevin\yii\fontawesome\component\Icon
Inheritance | rmrevin\yii\fontawesome\component\Icon |
---|
Class Icon
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$defaultTag | string | rmrevin\yii\fontawesome\component\Icon |
Public Methods
Property Details
Method Details
public void __construct ( $name, $options = [] ) | ||
$name | string | |
$options | array |
public string __toString ( ) |
public rmrevin\yii\fontawesome\component\Icon addCssClass ( $class, $condition = true, $throw = false ) | ||
$class | string | |
$condition | bool | |
$throw | string|bool | |
throws | \yii\base\InvalidConfigException |
---|
public self border ( ) |
public self fixedWidth ( ) |
public self fixed_width ( ) |
public self flip ( $value ) | ||
$value | string | |
throws | \yii\base\InvalidConfigException |
---|
public self inverse ( ) |
public self li ( ) |
public self pullLeft ( ) |
public self pullRight ( ) |
public self pull_left ( ) |
public self pull_right ( ) |
public string render ( $tag = null, $content = null, $options = [] ) | ||
$tag | string|null | |
$content | string|null | |
$options | array |
public self rotate ( $value ) | ||
$value | string | |
throws | \yii\base\InvalidConfigException |
---|
public self size ( $value ) | ||
$value | string | |
throws | \yii\base\InvalidConfigException |
---|
public self spin ( ) |
Change html tag.
public static tag ( $tag ) | ||
$tag | string | |
throws | \yii\base\InvalidParamException |
---|
public self ul ( ) |