FontawesomeIconProvider

class \TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider

Implements
IconProviderInterface

Class FontawesomeIconProvider

Table of Contents

Interfaces

IconProviderInterface
Interface IconProviderInterface

Constants

MARKUP_IDENTIFIER_INLINE  : mixed = 'inline'

Methods

__construct()  : mixed
prepareIconMarkup()  : mixed
Prepare the icon markup and set it to the icon by setMarkup()
createSvgIcons()  : array
escape()  : array
generateInlineMarkup()  : string
generateMarkup()  : string
getName()  : string
getSvgContents()  : SimpleXMLElement|null
getSvgIcons()  : array

Constants

MARKUP_IDENTIFIER_INLINE

public mixed MARKUP_IDENTIFIER_INLINE = 'inline'

Methods

prepareIconMarkup()

Prepare the icon markup and set it to the icon by setMarkup()

public prepareIconMarkup(Icon $icon[, array $options = [] ]) : mixed

Parameters

$icon : Icon
$options : array = []

createSvgIcons()

protected createSvgIcons() : array

Return values

array

escape()

protected escape(array $strings) : array

Parameters

$strings : array

Return values

array

generateInlineMarkup()

protected generateInlineMarkup(array $options) : string

Parameters

$options : array

Tags

throws
InvalidArgumentException

Return values

string

generateMarkup()

protected generateMarkup(Icon $icon, array $options) : string

Parameters

$icon : Icon
$options : array

Tags

throws
InvalidArgumentException

Return values

string

getName()

protected getName(array $options) : string

Parameters

$options : array

Return values

string

getSvgContents()

protected getSvgContents(string $source) : SimpleXMLElement|null

Parameters

$source : string

Return values

SimpleXMLElement|null

getSvgIcons()

protected getSvgIcons() : array

Return values

array
On this page