Свойство | Type | Description | |
---|---|---|---|
$options | * @var int | ||
$output_dir | * @var String |
Méthode | Description | |
---|---|---|
__construct ( $output_dir = null, $OPTIONS = null ) | ----------------------------------------------------------------------+ | |
average ( $penalty, $num ) | ----------------------------------------------------------------------+ | |
color ( $msg, $color = "black", $nl = false ) : String | ----------------------------------------------------------------------+ | |
score ( $penalty, $num = null ) | ----------------------------------------------------------------------+ | |
toCli ( $report, $format = "| {F} | {M} | `{W}` Line: {L} " ) | ----------------------------------------------------------------------+ | |
toHtml ( $root, $report, $penaltys ) | ----------------------------------------------------------------------+ |
Méthode | Description | |
---|---|---|
css ( ) : String | ----------------------------------------------------------------------+ | |
get_score_class ( $score ) : String | ----------------------------------------------------------------------+ | |
html ( $content, $depth ) : HTML | ----------------------------------------------------------------------+ | |
output_indexes ( $urls, $penaltys, $path = '', $depth ) : Array | ----------------------------------------------------------------------+ | |
parts ( $parts, $url, &$urls ) | ----------------------------------------------------------------------+ | |
sort ( $urls ) : Array | ----------------------------------------------------------------------+ |
public __construct ( $output_dir = null, $OPTIONS = null ) | ||
$output_dir | String (Path) ----------------------------------------------------------------------+ |
public average ( $penalty, $num ) | ||
$penalty | Float ----------------------------------------------------------------------+ |
public color ( $msg, $color = "black", $nl = false ) : String | ||
Résultat | String | ----------------------------------------------------------------------+ |
protected css ( ) : String | ||
Résultat | String | ----------------------------------------------------------------------+ |
protected get_score_class ( $score ) : String | ||
$score | float | |
Résultat | String | ----------------------------------------------------------------------+ |
protected html ( $content, $depth ) : HTML | ||
$content | HTML | |
$depth | int | |
Résultat | HTML | ----------------------------------------------------------------------+ |
protected output_indexes ( $urls, $penaltys, $path = '', $depth ) : Array | ||
$urls | Array | |
$penaltys | Array | |
$path | String | |
$depth | int | |
Résultat | Array | ----------------------------------------------------------------------+ |
protected parts ( $parts, $url, &$urls ) | ||
$parts | Array | |
$url | Array | |
$urls | Reference (Array) ----------------------------------------------------------------------+ |
public score ( $penalty, $num = null ) | ||
$penalty | Float ----------------------------------------------------------------------+ |
protected sort ( $urls ) : Array | ||
Résultat | Array | ----------------------------------------------------------------------+ |
public toCli ( $report, $format = "| {F} | {M} | `{W}` Line: {L} " ) | ||
$report | Array ----------------------------------------------------------------------+ |
public toHtml ( $root, $report, $penaltys ) | ||
$report | Array | |
$penaltys | Array ----------------------------------------------------------------------+ |