1 | <?php |
||
20 | class SettingsModal extends AjaxModal |
||
21 | { |
||
22 | /** |
||
23 | * @var Model |
||
24 | */ |
||
25 | public $model; |
||
26 | |||
27 | /** |
||
28 | * @var string text of toggle link |
||
29 | */ |
||
30 | public $title; |
||
31 | |||
32 | /** |
||
33 | * @var string template for `label` attribute |
||
34 | */ |
||
35 | public $labelTemplate = '{icon} {label}'; |
||
36 | |||
37 | /** |
||
38 | * @var string icon class for toggle link |
||
39 | * Will be passed through [[FontIcon::i()]] method |
||
40 | */ |
||
41 | public $icon; |
||
42 | |||
43 | public function init() |
||
54 | } |
||
55 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.