Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
debug
components
TimelineDataProvider
getWidth
yii\debug\components\TimelineDataProvider::getWidth PHP Method
TimelineDataProvider Class Documentation
Datei anzeigen
Open project: yiisoft/yii2-debug
getWidth()
public
method
Returns item width percent of the total width
public
getWidth
(
array
$model
) :
float
$model
array
return
float
public function getWidth($model) { return $model['duration'] / ($this->panel->duration / 100); }
TimelineDataProvider
__construct
getColor
getCssClass
getLeft
getRulers
getTime
getWidth
prepareModels