helpers\BaseConsole xtermBgColor()

xtermBgColor() public static method

Returns the ansi format code for xterm background color.

You can pass the return value of this to one of the formatting methods: ansiFormat(), ansiFormatCode(), beginAnsiFormat()

See also http://en.wikipedia.org/wiki/Talk:ANSI_escape_code#xterm-256colors.

public static string xtermBgColor ( $colorCode )
$colorCode integer

Xterm color code

doc_Yii
2016-10-30 17:04:42
Comments
Leave a Comment

Please login to continue.