PHP 클래스 rmrevin\yii\fontawesome\FontAwesome

파일 보기 프로젝트 열기: rmrevin/yii2-fontawesome 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$cssPrefix string CSS class prefix

공개 메소드들

메소드 설명
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

메소드 상세

i() 공개 정적인 메소드

Shortcut for icon() method
또한 보기: icon()
public static i ( string $name, array $options = [] ) : Icon
$name string
$options array
리턴 rmrevin\yii\fontawesome\component\Icon

icon() 공개 정적인 메소드

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

s() 공개 정적인 메소드

Shortcut for stack() method
또한 보기: stack()
public static s ( array $options = [] ) : Stack
$options array
리턴 rmrevin\yii\fontawesome\component\Stack

stack() 공개 정적인 메소드

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

ul() 공개 정적인 메소드

public static ul ( array $options = [] ) : UnorderedList
$options array
리턴 rmrevin\yii\fontawesome\component\UnorderedList

프로퍼티 상세

$cssPrefix 공개적으로 정적으로 프로퍼티

CSS class prefix
public static string $cssPrefix
리턴 string