PHP Class WhPercentOfTypeOperation
Renders a summary based on the percent count of specified types. For example, if a value has a type 'blue', this class will
count the percentage number of times the value 'blue' has on that column.
Show file
Open project: 2amigos/yiiwheels
Class Usage Examples
Public Properties
Protected Properties
Property |
Type |
Description |
|
$_total |
integer |
holds the total sum of the values. Required to get the percentage. |
|
Public Methods
Protected Methods
Method Details
displaySummary()
public method
getTotal()
protected method
Returns the total of types
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
public string $typeTemplate |
return |
string |
|