PHP 클래스 WPDKGlyphIcons

저자: =undo= ([email protected])
상속: extends WPDKObject
파일 보기 프로젝트 열기: wpxtreme/wpdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$__version string Override version

공개 메소드들

메소드 설명
display ( string $glypho, string $size = '', string $color = '', string $tag = 'i' ) : string Display the HTML markup for glyph icon
html ( string $glypho, string $size = '', string $color = '', string $tag = 'i' ) : string Return the HTML markup for glyph icon
init ( ) : WPDKGlyphIcons Return a singleton instance of WPDKGlyphIcons class

비공개 메소드들

메소드 설명
__construct ( ) : WPDKGlyphIcons Create an instance of WPDKGlyphIcons class

메소드 상세

display() 공개 정적인 메소드

Display the HTML markup for glyph icon
public static display ( string $glypho, string $size = '', string $color = '', string $tag = 'i' ) : string
$glypho string Glyph icon code
$size string Optional. Size styles, eg: 16px
$color string Optional. Color style, eg: #c00
$tag string Optional. HTML tag, default 'i'.
리턴 string

html() 공개 정적인 메소드

Return the HTML markup for glyph icon
public static html ( string $glypho, string $size = '', string $color = '', string $tag = 'i' ) : string
$glypho string Glyph icon code
$size string Optional. Size styles, eg: 16px
$color string Optional. Color style, eg: #c00
$tag string Optional. HTML tag, default 'i'.
리턴 string

init() 공개 정적인 메소드

Return a singleton instance of WPDKGlyphIcons class
public static init ( ) : WPDKGlyphIcons
리턴 WPDKGlyphIcons

프로퍼티 상세

$__version 공개적으로 프로퍼티

Override version
public string $__version
리턴 string