PHP Class phplinter\Report

Afficher le fichier Open project: robotis/PHPLinter

Protected Properties

Свойство Type Description
$options * @var int
$output_dir * @var String

Méthodes publiques

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éthodes protégées

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 ----------------------------------------------------------------------+

Method Details

__construct() public méthode

----------------------------------------------------------------------+
public __construct ( $output_dir = null, $OPTIONS = null )
$output_dir String (Path) ----------------------------------------------------------------------+

average() public méthode

----------------------------------------------------------------------+
public average ( $penalty, $num )
$penalty Float ----------------------------------------------------------------------+

color() public méthode

----------------------------------------------------------------------+
public color ( $msg, $color = "black", $nl = false ) : String
Résultat String ----------------------------------------------------------------------+

css() protected méthode

----------------------------------------------------------------------+
protected css ( ) : String
Résultat String ----------------------------------------------------------------------+

get_score_class() protected méthode

----------------------------------------------------------------------+
protected get_score_class ( $score ) : String
$score float
Résultat String ----------------------------------------------------------------------+

html() protected méthode

----------------------------------------------------------------------+
protected html ( $content, $depth ) : HTML
$content HTML
$depth int
Résultat HTML ----------------------------------------------------------------------+

output_indexes() protected méthode

----------------------------------------------------------------------+
protected output_indexes ( $urls, $penaltys, $path = '', $depth ) : Array
$urls Array
$penaltys Array
$path String
$depth int
Résultat Array ----------------------------------------------------------------------+

parts() protected méthode

----------------------------------------------------------------------+
protected parts ( $parts, $url, &$urls )
$parts Array
$url Array
$urls Reference (Array) ----------------------------------------------------------------------+

score() public méthode

----------------------------------------------------------------------+
public score ( $penalty, $num = null )
$penalty Float ----------------------------------------------------------------------+

sort() protected méthode

----------------------------------------------------------------------+
protected sort ( $urls ) : Array
Résultat Array ----------------------------------------------------------------------+

toCli() public méthode

----------------------------------------------------------------------+
public toCli ( $report, $format = "| {F} | {M} | `{W}` Line: {L} " )
$report Array ----------------------------------------------------------------------+

toHtml() public méthode

----------------------------------------------------------------------+
public toHtml ( $root, $report, $penaltys )
$report Array
$penaltys Array ----------------------------------------------------------------------+

Property Details

$options protected_oe property

* @var int
protected $options

$output_dir protected_oe property

* @var String
protected $output_dir