PHP 클래스 yii\debug\panels\TimelinePanel

부터: 2.0.7
저자: Dmitriy Bashkarev ([email protected])
상속: extends yii\debug\Panel
파일 보기 프로젝트 열기: yiisoft/yii2-debug

공개 메소드들

메소드 설명
getColors ( ) : array Color indicators item profile, key: percentages of time request, value: hex color
getDetail ( )
getDuration ( ) : float Request duration, milliseconds
getName ( )
getStart ( ) : float Start request, timestamp (obtained by microtime(true))
init ( )
load ( $data )
save ( )
setColors ( array $colors ) Sets color indicators.

보호된 메소드들

메소드 설명
getModels ( boolean $refresh = false ) : array Returns an array of models that represents logs of the current request.

메소드 상세

getColors() 공개 메소드

Color indicators item profile, key: percentages of time request, value: hex color
public getColors ( ) : array
리턴 array

getDetail() 공개 메소드

public getDetail ( )

getDuration() 공개 메소드

Request duration, milliseconds
public getDuration ( ) : float
리턴 float

getModels() 보호된 메소드

Can be used with data providers, such as \yii\data\ArrayDataProvider.
protected getModels ( boolean $refresh = false ) : array
$refresh boolean if need to build models from log messages and refresh them.
리턴 array models

getName() 공개 메소드

public getName ( )

getStart() 공개 메소드

Start request, timestamp (obtained by microtime(true))
public getStart ( ) : float
리턴 float

init() 공개 메소드

public init ( )

load() 공개 메소드

public load ( $data )

save() 공개 메소드

public save ( )

setColors() 공개 메소드

key: percentages of time request, value: hex color
public setColors ( array $colors )
$colors array