PHP Class TbPercentOfTypeOperation

Inheritance: extends TbCountOfTypeOperation
Show file Open project: yinhe/yincart Class Usage Examples

Public Properties

Property Type Description
$typeTemplate string

Protected Properties

Property Type Description
$_total integer holds the total sum of the values. Required to get the percentage.

Public Methods

Method Description
displaySummary ( ) : mixed | void

Protected Methods

Method Description
getTotal ( ) : integer Returns the total of types

Method Details

displaySummary() public method

See also: TbOperation
public displaySummary ( ) : mixed | void
return mixed | void

getTotal() protected method

Returns the total of types
protected getTotal ( ) : integer
return integer holds

Property Details

$_total protected property

holds the total sum of the values. Required to get the percentage.
protected int $_total
return integer

$typeTemplate public property

See also: TbCountOfTypeOperation
public string $typeTemplate
return string