PHP 클래스 TbOperation

Abstract class where all types of operations extend from
상속: extends CWidget
파일 보기 프로젝트 열기: yinhe/yincart 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
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 TbDataColumn $column
리턴 TbDataColumn

$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