![]() |
Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (string $fg='', string $bg='', array $options=[]) | |
__toString () | |
getStyle () | |
getKnownColors () | |
getKnownOptions () | |
Fonctions membres publiques statiques | |
static | fromString (string $string) |
Attributs privés | |
$fgColor = 0 | |
$bgColor = 0 | |
$options = [] | |
Attributs privés statiques | |
static | $knownColors |
static | $knownOptions |
static | $fgBase = 30 |
static | $bgBase = 40 |
Class defining ANSI-color styles for command line output
joomla/console
package instead __construct | ( | string | $fg = '' , |
string | $bg = '' , |
||
array | $options = [] |
||
) |
__toString | ( | ) |
Convert to a string.
|
static |
Create a color style from a parameter string.
Example: fg=red;bg=blue;options=bold,blink
string | $string | The parameter string. |
Références $options, et $parts.
Référencé par ColorProcessor\process().
getKnownColors | ( | ) |
Get the known colors.
getKnownOptions | ( | ) |
Get the known options.
getStyle | ( | ) |
|
staticprivate |
|
private |
|
staticprivate |
|
private |
|
staticprivate |
|
staticprivate |
|
private |