PHP Класс WhOperation

Abstract class where all types of column operations extend from
Автор: Antonio Ramirez ([email protected])
Наследование: extends CWidget
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$column WhDataColumn
$label string the label of the calculated value
$template string the template to display label and value of the operation at the summary
$value integer the resulted value of operation

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

Метод Описание
displaySummary ( ) : mixed Displays the resulting summary
init ( ) Widget initialization
processValue ( $value ) : mixed Process the row data value
run ( ) Widget's run method

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

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

Displays the resulting summary
abstract public displaySummary ( ) : mixed
Результат mixed

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

Widget initialization
public init ( )

processValue() абстрактный публичный Метод

Process the row data value
abstract public processValue ( $value ) : mixed
$value
Результат mixed

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

Widget's run method
public run ( )

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

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

public WhDataColumn $column
Результат WhDataColumn

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

the label of the calculated value
public string $label
Результат string

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

the template to display label and value of the operation at the summary
public string $template
Результат string

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

the resulted value of operation
public int $value
Результат integer