PHP Class WPDKGlyphIcons

Author: =undo= ([email protected])
Inheritance: extends WPDKObject
Afficher le fichier Open project: wpxtreme/wpdk Class Usage Examples

Méthodes publiques

Свойство Type Description
$__version string Override version

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
__construct ( ) : WPDKGlyphIcons Create an instance of WPDKGlyphIcons class

Method Details

display() public static méthode

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'.
Résultat string

html() public static méthode

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'.
Résultat string

init() public static méthode

Return a singleton instance of WPDKGlyphIcons class
public static init ( ) : WPDKGlyphIcons
Résultat WPDKGlyphIcons

Property Details

$__version public_oe property

Override version
public string $__version
Résultat string