\TbOperation

## TbOperation class

Abstract class where all types of operations extend from

Summary

Methods
Properties
Constants
init()
run()
processValue()
displaySummary()
$template
$value
$label
$column
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$template

$template : string

Type

string — the template to display label and value of the operation at the summary

$value

$value : int

Type

int — the resulted value of operation

$label

$label : string

Type

string — the label of the calculated value

Methods

init()

init()

Widget initialization

Throws

\CException

run()

run()

Widget's run method

processValue()

processValue(mixed $value) : mixed

Process the row data value

Parameters

mixed $value

Returns

mixed

displaySummary()

displaySummary() : mixed

Displays the resulting summary

Returns

mixed