| 1 | <?php |
||
| 2 | class SideTextWidgetAdmin extends ModelAdmin |
||
|
|
|||
| 3 | { |
||
| 4 | public static $managed_models = array("SideTextWidgetDataObject"); |
||
| 5 | |||
| 6 | public static $url_segment = 'sidetextwidget'; |
||
| 7 | |||
| 8 | public static $menu_title = 'Side Text Widgets'; |
||
| 9 | |||
| 10 | public static $menu_icon = '/widgets_sidetext/sidetext.png'; |
||
| 11 | |||
| 12 | public $showImportForm = false; |
||
| 13 | } |
||
| 14 |
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.