| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 27 | public function init() |
||
| 28 | { |
||
| 29 | parent::init(); |
||
| 30 | if ($this->status === true) { |
||
| 31 | $this->registerAsset(); |
||
| 32 | } |
||
| 33 | $this->id = $this->id ?: $this->getId(); |
||
| 34 | $containerOptions = [ |
||
| 35 | 'id' => $this->id, |
||
| 36 | 'style' => 'position:relative; height:300px; width:auto;' |
||
| 37 | ]; |
||
| 38 | $this->containerOptions = ArrayHelper::merge($containerOptions, $this->containerOptions); |
||
| 39 | } |
||
| 75 |