[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/term/ -> MWTerm.php (summary)

Set of classes to help with test output and such. Right now pretty specific to the parser tests but could be more useful one day :) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 72 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

AnsiTermColorer:: (3 methods):
  __construct()
  color()
  reset()

DummyTermColorer:: (2 methods):
  color()
  reset()


Class: AnsiTermColorer  - X-Ref

Terminal that supports ANSI escape sequences.

__construct()   X-Ref
No description

color( $color )   X-Ref
Return ANSI terminal escape code for changing text attribs/color

param: string $color Semicolon-separated list of attribute/color codes
return: string

reset()   X-Ref
Return ANSI terminal escape code for restoring default text attributes

return: string

Class: DummyTermColorer  - X-Ref

A colour-less terminal

color( $color )   X-Ref
No description

reset()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1