PHP 클래스 WhPercentOfTypeOperation

Renders a summary based on the percent count of specified types. For example, if a value has a type 'blue', this class will count the percentage number of times the value 'blue' has on that column.
저자: Antonio Ramirez ([email protected])
상속: extends WhCountOfTypeOperation
파일 보기 프로젝트 열기: 2amigos/yiiwheels 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$typeTemplate string

보호된 프로퍼티들

프로퍼티 타입 설명
$_total integer holds the total sum of the values. Required to get the percentage.

공개 메소드들

메소드 설명
displaySummary ( ) : mixed | void

보호된 메소드들

메소드 설명
getTotal ( ) : integer Returns the total of types

메소드 상세

displaySummary() 공개 메소드

또한 보기: TbOperation
public displaySummary ( ) : mixed | void
리턴 mixed | void

getTotal() 보호된 메소드

Returns the total of types
protected getTotal ( ) : integer
리턴 integer holds

프로퍼티 상세

$_total 보호되어 있는 프로퍼티

holds the total sum of the values. Required to get the percentage.
protected int $_total
리턴 integer

$typeTemplate 공개적으로 프로퍼티

또한 보기: TbCountOfTypeOperation
public string $typeTemplate
리턴 string