Home
last modified time | relevance | path

Searched refs:colors (Results 1 – 9 of 9) sorted by relevance

/dokuwiki/vendor/splitbrain/php-cli/src/
H A DTableFormatter.php22 protected $colors; variable in splitbrain\\phpcli\\TableFormatter
27 * @param Colors|null $colors
29 public function __construct(Colors $colors = null) argument
37 if ($colors) {
38 $this->colors = $colors;
40 $this->colors = new Colors();
185 … * @param array $colors A list of color names to use for each column. use empty string for default
189 public function format($columns, $texts, $colors = array()) argument
215 if (isset($colors[$col]) && $colors[$col]) {
216 $chunk = $this->colors->wrap($chunk, $colors[$col]);
[all …]
H A DOptions.php32 protected $colors; variable in splitbrain\\phpcli\\Options
40 * @param Colors $colors optional configured color object
43 public function __construct(Colors $colors = null) argument
45 if (!is_null($colors)) {
46 $this->colors = $colors;
48 $this->colors = new Colors();
365 $tf = new TableFormatter($this->colors);
377 $text .= $this->colors->wrap('USAGE:', Colors::C_BROWN);
383 $text .= $this->colors->wrap(' ' . $command, Colors::C_PURPLE);
388 $text .= ' ' . $this->colors->wrap('<OPTIONS>', Colors::C_GREEN);
[all …]
H A DBase.php22 public $colors; variable in splitbrain\\phpcli\\Base
98 $this->colors = new Colors();
99 $this->options = new Options($this->colors);
166 …'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Color…
179 $this->colors->disable();
303 if ($this->colors->isEnabled()) {
307 $this->colors->ptln($message, $info['color'], $info['channel']);
H A DColors.php38 protected $colors = array( variable in splitbrain\\phpcli\\Colors
147 if (!isset($this->colors[$color])) {
151 return $this->colors[$color];
/dokuwiki/bin/
H A Dplugin.php65 echo $this->colors->wrap('AVAILABLE PLUGINS:', Colors::C_BROWN);
71 … echo $this->colors->wrap(" No plugins providing CLI components available\n", Colors::C_RED);
73 $tf = new TableFormatter($this->colors);
/dokuwiki/lib/tpl/dokuwiki/
H A Dstyle.ini56 ; main text and background colors
59 ; alternative text and background colors
62 ; neutral text and background colors
/dokuwiki/vendor/splitbrain/php-cli/
H A DREADME.md90 then uses terminal colors. You can always suppress colored output by passing ``--no-colors`` to you…
91 Disabling colors will also disable the emoticon prefixes.
96 For more complex coloring you can access the color class through ``$this->colors`` in your script. …
99 The table formatter allows coloring full columns. To use that mechanism pass an array of colors as …
/dokuwiki/lib/plugins/extension/
H A Dcli.php280 $tr = new TableFormatter($this->colors);
330 $this->colors->wrap($ext->getAuthor(), Colors::C_PURPLE)
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php122 $tr = new TableFormatter($this->colors);