QA_Peardoc_Coverage
[ class tree: QA_Peardoc_Coverage ] [ index: QA_Peardoc_Coverage ] [ all elements ]

Class: QA_Peardoc_Coverage_Renderer_SimplePackageList

Source Location: /QA_Peardoc_Coverage-1.1.1/QA/Peardoc/Coverage/Renderer/SimplePackageList.php

Class Overview


Renders the coverage result in a simple list of packages with their documentation state.


Author(s):

Version:

  • CVS: $Id: SimplePackageList.php,v 1.6 2007/07/18 18:52:44 cweiske Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 15]
Renders the coverage result in a simple list of packages with their documentation state.


[ Top ]


Class Variables

$colDocumented =  '#0F0'

[line 19]

  • Access: public

Type:   mixed


[ Top ]

$colNotDocumented =  '#F00'

[line 18]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

getColor   [line 30]

string getColor( float $flNumber)

Returns the color code matching the number.
  • Return: HTML color #0AF
  • Access: public

Parameters:

float   $flNumber     Number (x/y), !no! percentage

[ Top ]

getDocUrl   [line 55]

string getDocUrl( string $strDocId)

Returns the manual url (deep link) for the given documentation id.
  • Return: URL to the manual
  • Access: public

Parameters:

string   $strDocId     Documentation id=""

[ Top ]

render   [line 72]

string render( array $arDoc, [array $arOptions = null])

Renders the given coverage array and returns the HTML.
  • Return: HTML
  • Access: public

Parameters:

array   $arDoc     Documentation coverage analysis results
array   $arOptions     Options

[ Top ]


Documentation generated on Sat, 27 Oct 2007 11:00:13 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.