PHP Class TbOperation

Abstract class where all types of operations extend from
Inheritance: extends CWidget
Afficher le fichier Open project: yinhe/yincart Class Usage Examples

Méthodes publiques

Свойство Type Description
$column TbDataColumn
$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

Méthodes publiques

Méthode Description
displaySummary ( ) : mixed Displays the resulting summary
init ( ) Widget initialization
processValue ( $value ) : mixed Process the row data value
run ( ) Widget's run method

Method Details

displaySummary() abstract public méthode

Displays the resulting summary
abstract public displaySummary ( ) : mixed
Résultat mixed

init() public méthode

Widget initialization
public init ( )

processValue() abstract public méthode

Process the row data value
abstract public processValue ( $value ) : mixed
$value
Résultat mixed

run() public méthode

Widget's run method
public run ( )

Property Details

$column public_oe property

public TbDataColumn $column
Résultat TbDataColumn

$label public_oe property

the label of the calculated value
public string $label
Résultat string

$template public_oe property

the template to display label and value of the operation at the summary
public string $template
Résultat string

$value public_oe property

the resulted value of operation
public int $value
Résultat integer