ForegroundColors
extends Enum
in package
Contains foreground color codes for CLI
Table of Contents
- AUTO = "auto"
- BLACK = "0;30"
- BLUE = "1;34"
- BOLD = "1;1"
- BROWN = "0;33"
- CYAN = "1;36"
- DARK_BLUE = "0;34"
- DARK_CYAN = "0;36"
- DARK_GRAY = "1;30"
- DARK_GREEN = "0;32"
- DARK_PURPLE = "0;35"
- DARK_RED = "0;31"
- GRAY = "0;37"
- GREEN = "1;32"
- PURPLE = "1;35"
- RED = "1;31"
- REVERSED = "1;7"
- UNDERLINE = "1;4"
- WHITE = "1;37"
- YELLOW = "1;33"
- GetValues() : array<string, mixed>
- Get all values of Enum
- HasItem() : bool
- Returns TRUE if Enum contains specified item
Constants
AUTO
public
mixed
AUTO
= "auto"
BLACK
public
mixed
BLACK
= "0;30"
BLUE
public
mixed
BLUE
= "1;34"
BOLD
public
mixed
BOLD
= "1;1"
BROWN
public
mixed
BROWN
= "0;33"
CYAN
public
mixed
CYAN
= "1;36"
DARK_BLUE
public
mixed
DARK_BLUE
= "0;34"
DARK_CYAN
public
mixed
DARK_CYAN
= "0;36"
DARK_GRAY
public
mixed
DARK_GRAY
= "1;30"
DARK_GREEN
public
mixed
DARK_GREEN
= "0;32"
DARK_PURPLE
public
mixed
DARK_PURPLE
= "0;35"
DARK_RED
public
mixed
DARK_RED
= "0;31"
GRAY
public
mixed
GRAY
= "0;37"
GREEN
public
mixed
GREEN
= "1;32"
PURPLE
public
mixed
PURPLE
= "1;35"
RED
public
mixed
RED
= "1;31"
REVERSED
public
mixed
REVERSED
= "1;7"
UNDERLINE
public
mixed
UNDERLINE
= "1;4"
WHITE
public
mixed
WHITE
= "1;37"
YELLOW
public
mixed
YELLOW
= "1;33"
Methods
GetValues()
Get all values of Enum
public
final static GetValues() : array<string, mixed>
Return values
array<string, mixed> —Enum values
HasItem()
Returns TRUE if Enum contains specified item
public
final static HasItem( $item) : bool