PHP Class rmrevin\yii\fontawesome\component\Icon

Mostrar archivo Open project: rmrevin/yii2-fontawesome Class Usage Examples

Public Properties

Property Type Description
$defaultTag string

Public Methods

Method Description
__construct ( string $name, array $options = [] )
__toString ( ) : string
addCssClass ( string $class, boolean $condition = true, string | boolean $throw = false ) : Icon
border ( ) : self
fixedWidth ( ) : self
flip ( string $value ) : self
inverse ( ) : self
li ( ) : self
pullLeft ( ) : self
pullRight ( ) : self
render ( string | null $tag = null, string | null $content = null, array $options = [] ) : string
rotate ( string $value ) : self
size ( string $value ) : self
spin ( ) : self
tag ( string $tag ) : static

Method Details

__construct() public method

public __construct ( string $name, array $options = [] )
$name string
$options array

__toString() public method

public __toString ( ) : string
return string

addCssClass() public method

public addCssClass ( string $class, boolean $condition = true, string | boolean $throw = false ) : Icon
$class string
$condition boolean
$throw string | boolean
return Icon

border() public method

public border ( ) : self
return self

fixedWidth() public method

public fixedWidth ( ) : self
return self

flip() public method

public flip ( string $value ) : self
$value string
return self

inverse() public method

public inverse ( ) : self
return self

li() public method

public li ( ) : self
return self

pullLeft() public method

public pullLeft ( ) : self
return self

pullRight() public method

public pullRight ( ) : self
return self

render() public method

Deprecation:
public render ( string | null $tag = null, string | null $content = null, array $options = [] ) : string
$tag string | null
$content string | null
$options array
return string

rotate() public method

public rotate ( string $value ) : self
$value string
return self

size() public method

public size ( string $value ) : self
$value string
return self

spin() public method

public spin ( ) : self
return self

tag() public method

Deprecation: Change html tag.
public tag ( string $tag ) : static
$tag string
return static

Property Details

$defaultTag public_oe static_oe property

Deprecation:
public static string $defaultTag
return string