Heratio Framework API Reference

IconHelper
in package

Table of Contents

Methods

all()  : array<string|int, mixed>
get()  : string
register()  : void
registerMany()  : void
render()  : string

Methods

all()

public static all() : array<string|int, mixed>
Return values
array<string|int, mixed>

get()

public static get(string $key[, string $fallback = 'bi-circle' ]) : string
Parameters
$key : string
$fallback : string = 'bi-circle'
Return values
string

register()

public static register(string $key, string $iconClass) : void
Parameters
$key : string
$iconClass : string

registerMany()

public static registerMany(array<string|int, mixed> $icons) : void
Parameters
$icons : array<string|int, mixed>

render()

public static render(string $key[, array<string|int, mixed> $attributes = [] ]) : string
Parameters
$key : string
$attributes : array<string|int, mixed> = []
Return values
string

        
On this page

Search results