1 | <?php |
||
33 | class RenderWidget extends \yii\base\Widget |
||
34 | { |
||
35 | /** |
||
36 | * @var array Configuration of widget. |
||
37 | */ |
||
38 | public $config; |
||
39 | |||
40 | /** |
||
41 | * @var string Location of active widget. |
||
42 | */ |
||
43 | public $location; |
||
44 | |||
45 | /** |
||
46 | * @var array Loaded activated widget. |
||
47 | */ |
||
48 | private $_widget = []; |
||
49 | |||
50 | /** |
||
51 | * @var array Default configuration of widget. |
||
52 | */ |
||
53 | private $_defaultConfig = [ |
||
54 | 'beforeTitle' => '', |
||
55 | 'afterTitle' => '', |
||
56 | 'beforeWidget' => '', |
||
57 | 'afterWidget' => '', |
||
58 | ]; |
||
59 | |||
60 | /** |
||
61 | * @inheritdoc |
||
62 | */ |
||
63 | public function init() |
||
84 | |||
85 | /** |
||
86 | * @inheritdoc |
||
87 | */ |
||
88 | public function run() |
||
97 | } |
||
98 |