Home
last modified time | relevance | path

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

/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/plugins/extension/
H A Dcli.php328 $tr = new TableFormatter($this->colors);
372 $this->colors->wrap($ext->getAuthor(), Colors::C_PURPLE)
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php123 $tr = 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 your scripts.
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. The ``wrap()`` method
99 The table formatter allows coloring full columns. To use that mechanism pass an array of colors as third parameter to
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DBase.php22 public $colors; variable in splitbrain\\phpcli\\Base
98 $this->colors = new Colors();
99 $this->options = new Options($this->colors);
161 'no-colors',
162 'Do not use any colors in output. Useful when piping output to other tools or files.'
166 'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Colors::C_CYAN) . '. ' .
178 if ($this->options->getOpt('no-colors')) {
179 $this->colors->disable();
302 // when colors are wanted, we also add the icon
303 if ($this->colors
[all...]
H A DColors.php35 protected $colors = array( variable in splitbrain\\phpcli\\Colors
55 /** @var bool should colors be used? */
61 * Tries to disable colors for non-terminals
140 if (!isset($this->colors[$color])) {
144 return $this->colors[$color];
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
[all...]
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[
[all...]