AdminCompanyThemes extends AdminController
Admin Company Theme Settings
Table of Contents
Methods
| add() | Add a theme |
| delete() | Delete a theme |
| edit() | Edit a theme |
| export() | Exports a theme |
| index() | Themes settings |
| preAction() | Pre-action |
| formatTransparentColors() | Formats transparent colors into empty strings |
Methods
add()
Add a theme
public
add() : mixed
delete()
Delete a theme
public
delete() : mixed
edit()
Edit a theme
public
edit() : mixed
export()
Exports a theme
public
export() : mixed
index()
Themes settings
public
index() : mixed
preAction()
Pre-action
public
preAction() : mixed
formatTransparentColors()
Formats transparent colors into empty strings
private
formatTransparentColors(array<string|int, mixed> $colors) : array<string|int, mixed>
Parameters
- $colors : array<string|int, mixed>
-
Formats the given color values to set 'transparent' to an empty string
Return values
array<string|int, mixed> —The formatted colors