1 | <?php |
||
10 | class Moo_EditableFieldDate extends Moo_EditableField |
||
11 | { |
||
12 | private static $singular_name = 'Date Field'; |
||
13 | private static $plural_name = 'Date Fields'; |
||
14 | |||
15 | /** |
||
16 | * List of allowed custom settings fields. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $customSettingsFields = [ |
||
21 | 'DefaultToToday', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * Get extra configuration fields. |
||
26 | * |
||
27 | * @return array |
||
28 | */ |
||
29 | public function getFieldConfiguration() |
||
38 | |||
39 | 1 | protected function initFormField() |
|
47 | } |
||
48 |
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.