PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$_total |
integer |
holds the total sum of the values. Required to get the percentage. |
|
Открытые методы
Защищенные методы
Описание методов
displaySummary()
публичный Метод
getTotal()
защищенный Метод
Returns the total of types
Описание свойств
$_total защищенное свойство
holds the total sum of the values. Required to get the percentage.
protected int $_total |
Результат |
integer |
|
$typeTemplate публичное свойство
public string $typeTemplate |
Результат |
string |
|