PHP Class WhOperation

Abstract class where all types of column operations extend from
Author: Antonio Ramirez ([email protected])
Inheritance: extends CWidget
Afficher le fichier Open project: 2amigos/yiiwheels Class Usage Examples

Méthodes publiques

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

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 WhDataColumn $column
Résultat WhDataColumn

$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