PHP Class rmrevin\yii\fontawesome\FontAwesome

Afficher le fichier Open project: rmrevin/yii2-fontawesome Class Usage Examples

Méthodes publiques

Свойство Type Description
$cssPrefix string CSS class prefix

Méthodes publiques

Méthode Description
i ( string $name, array $options = [] ) : Icon Shortcut for icon() method
icon ( string $name, array $options = [] ) : Icon Creates an Icon component that can be used to FontAwesome html icon
s ( array $options = [] ) : Stack Shortcut for stack() method
stack ( array $options = [] ) : Stack Creates an Stack component that can be used to FontAwesome html icon
ul ( array $options = [] ) : UnorderedList

Method Details

i() public static méthode

Shortcut for icon() method
See also: icon()
public static i ( string $name, array $options = [] ) : Icon
$name string
$options array
Résultat rmrevin\yii\fontawesome\component\Icon

icon() public static méthode

Creates an Icon component that can be used to FontAwesome html icon
public static icon ( string $name, array $options = [] ) : Icon
$name string
$options array
Résultat rmrevin\yii\fontawesome\component\Icon

s() public static méthode

Shortcut for stack() method
See also: stack()
public static s ( array $options = [] ) : Stack
$options array
Résultat rmrevin\yii\fontawesome\component\Stack

stack() public static méthode

Creates an Stack component that can be used to FontAwesome html icon
public static stack ( array $options = [] ) : Stack
$options array
Résultat rmrevin\yii\fontawesome\component\Stack

ul() public static méthode

public static ul ( array $options = [] ) : UnorderedList
$options array
Résultat rmrevin\yii\fontawesome\component\UnorderedList

Property Details

$cssPrefix public_oe static_oe property

CSS class prefix
public static string $cssPrefix
Résultat string