Icon
in package
Icon class.
Table of Contents
- $icons : array<string|int, mixed>
- Icons.
- $extensionIcon : mixed
- getAdditionalIcons() : array<string|int, mixed>
- Get additional icons.
- getAdminIcons() : array<string|int, mixed>
- Get admin icons.
- getAll() : array<string|int, mixed>
- Get all icons and images.
- getFontAwesomeIcons() : array<string|int, mixed>
- Get fa icons.
- getIconByFileType() : mixed
- getIcons() : array<string|int, mixed>
- Get only icons excluding images.
- getImageIcons() : array<string|int, mixed>
- Get icon images.
- getMaterialDesignIcons() : array<string|int, mixed>
- Get mdi icons.
- getYetiForceIcons() : array<string|int, mixed>
- Get yeti icons.
- init() : void
- Init icons data.
Properties
$icons
Icons.
protected
static array<string|int, mixed>
$icons
$extensionIcon
private
static mixed
$extensionIcon
= ['application/pdf' => 'far fa-file-pdf', 'application/msword' => 'far fa-file-word', 'application/vnd.openxmlformats-officedocument.word' => 'far fa-file-word', 'application/vnd.oasis.opendocument.text' => 'far fa-file-word', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'far fa-file-excel', 'application/vnd.oasis.opendocument.spreadsheet' => 'far fa-file-excel', 'application/vnd.ms-excel' => 'far fa-file-excel', 'text/plain' => 'far fa-file-alt', 'application/rtf' => 'far fa-file-alt', 'application/zip' => 'far fa-file-archive', 'application/x-compressed-zip' => 'far fa-file-archive', 'application/x-rar-compressed' => 'far fa-file-archive', 'application/x-7z-compressed' => 'far fa-file-archive', 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'far fa-file-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'far fa-file-powerpoint', 'application/vnd.ms-powerpointtd>' => 'far fa-file-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'far fa-file-powerpoint', 'application/vnd.oasis.opendocument.presentation' => 'far fa-file-powerpoint', 'image' => 'far fa-file-image', 'text/html' => 'fab fa-html5', 'text/json' => 'far fa-file-code', 'text/css' => 'fab fa-css3', 'application/javascript' => 'far fa-file-code', 'text/xml' => 'far fa-file-code', 'application/x-shockwave-flash' => 'far fa-file-image', 'video' => 'far fa-file-video', 'audio' => 'far fa-file-audio', 'application/vnd.oasis.opendocument.text' => 'far fa-file-word', 'text/vcard' => 'fas fa-calendar-alt', 'text/calendar' => 'fas fa-calendar-alt', 'application/x-javascript' => 'far fa-file-code']
Methods
getAdditionalIcons()
Get additional icons.
public
static getAdditionalIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAdminIcons()
Get admin icons.
public
static getAdminIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAll()
Get all icons and images.
public
static getAll() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFontAwesomeIcons()
Get fa icons.
public
static getFontAwesomeIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getIconByFileType()
public
static getIconByFileType(mixed $exntension) : mixed
Parameters
- $exntension : mixed
Return values
mixed —getIcons()
Get only icons excluding images.
public
static getIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getImageIcons()
Get icon images.
public
static getImageIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getMaterialDesignIcons()
Get mdi icons.
public
static getMaterialDesignIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —getYetiForceIcons()
Get yeti icons.
public
static getYetiForceIcons() : array<string|int, mixed>
Return values
array<string|int, mixed> —init()
Init icons data.
public
static init() : void