PHP Класс yii\debug\panels\TimelinePanel

С версии: 2.0.7
Автор: Dmitriy Bashkarev ([email protected])
Наследование: extends yii\debug\Panel
Показать файл Открыть проект

Открытые методы

Метод Описание
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