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.
Автор: Antonio Ramirez ([email protected])
Наследование: extends WhCountOfTypeOperation
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$typeTemplate string

Защищенные свойства (Protected)

Свойство Тип Описание
$_total integer holds the total sum of the values. Required to get the percentage.

Открытые методы

Метод Описание
displaySummary ( ) : mixed | void

Защищенные методы

Метод Описание
getTotal ( ) : integer Returns the total of types

Описание методов

displaySummary() публичный Метод

См. также: TbOperation
public displaySummary ( ) : mixed | void
Результат mixed | void

getTotal() защищенный Метод

Returns the total of types
protected getTotal ( ) : integer
Результат integer holds

Описание свойств

$_total защищенное свойство

holds the total sum of the values. Required to get the percentage.
protected int $_total
Результат integer

$typeTemplate публичное свойство

См. также: TbCountOfTypeOperation
public string $typeTemplate
Результат string