| 1 | <?php |
||
| 8 | class WidgetAreaEditorExtended extends WidgetAreaEditor |
||
|
|
|||
| 9 | { |
||
| 10 | protected $availableWidgets = array(); |
||
| 11 | |||
| 12 | protected $blockedWidgets = array(); |
||
| 13 | |||
| 14 | public function addToAvailableWidgets($array) |
||
| 21 | |||
| 22 | public function blockFromAvailableWidgets($array) |
||
| 29 | |||
| 30 | public function AvailableWidgets() |
||
| 56 | } |
||
| 57 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.