\Hazaar\View\Helper
Fontawesome
Renders icons using the Font Awesome library.

View helper to allow easier access to Font Awesome icons.

Font Awesome by Dave Gandy – http://fortawesome.github.io/Font-Awesome

For a list of available icons, see: http://fortawesome.github.io/Font-Awesome/icons

Tags

Since

1.0.0

Summary
Methods Properties Constants
set
No constants
Properties
$css_include
$css_include
Inherited
$view
$view
Methods
getIconList()
getIconList()
icon()
icon($style, $size = null, $spin = false, $border = false, $args = Array ( ) )

Displays an FA icon. For a list of available icons, see: http://fortawesome.github.com/Font-Awesome/#icons-new

Tags

Since

1.0.0

Parameters

$stylestring

The name of the icon to display. This can be found on the FA website. It is the name of the icon minus the ‘fa-’ prefix. For example: fa-camera-retro would be defined as just camera-retro.

$sizemixed

The size to display the icon. This can be either a numeric value specifying the number of pixels, or a string value of ‘large’, ‘2x’, ‘3x’, ‘4x’ or ‘5x’ to use the built-in FA size styles.

$spinboolean

Enables the spin style for the icon. Defaults to false.

$borderboolean

Enables a border around the icon.

$argsArray

Optional additional arguments to pass to the HTML element.

import()
import()
init()
init($view, $args = Array ( ) )

View helper initialisation method. Includes the font-awesome stylesheet and HTML helper.

Tags

Since

1.0.0

Parameters

$view

No description

$args

No description

Inherited
getName()
getName()
Inherited
import()
import()
Inherited
init()
init($view, $args = Array ( ) )

Parameters

$view

No description

$args

No description

Inherited
initialise()
initialise($args = null)

Parameters

$args

No description

Inherited
requires()
requires($helper, $args = Array ( ) )

Parameters

$helper

No description

$args

No description

Inherited
set()
set($arg, $value)

Parameters

$arg

No description

$value

No description