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]);
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);
418 $text .= $this->colors->wrap('OPTIONS:', Colors::C_BROWN);
449 $text .= $this->colors->wrap('ARGUMENTS:', Colors::C_BROWN);
[all …]
H A DCLI.php20 public $colors; variable in splitbrain\\phpcli\\CLI
50 $this->colors = new Colors();
51 $this->options = new Options($this->colors);
120 …'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Color…
133 $this->colors->disable();
333 if (!$this->colors->isEnabled()) $prefix = '';
336 $this->colors->ptln($prefix . $message, $color, $channel);
H A DColors.php35 protected $colors = array( variable in splitbrain\\phpcli\\Colors
140 if (!isset($this->colors[$color])) {
144 return $this->colors[$color];
/dokuwiki/bin/
H A Dplugin.php60 echo $this->colors->wrap('AVAILABLE PLUGINS:', Colors::C_BROWN);
66 … echo $this->colors->wrap(" No plugins providing CLI components available\n", Colors::C_RED);
68 $tf = new \splitbrain\phpcli\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.php324 $tr = new \splitbrain\phpcli\TableFormatter($this->colors);
368 $this->colors->wrap($ext->getAuthor(), Colors::C_PURPLE))
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php125 $tr = new TableFormatter($this->colors);