1 | <?php |
||
4 | class UpdateNoteModelAdmin extends ModelAdmin |
||
|
|||
5 | { |
||
6 | public $showImportForm = false; |
||
7 | |||
8 | private static $managed_models = array('UpdateNote', 'UpdateNoteToBeCompleted'); |
||
9 | |||
10 | private static $url_segment = 'updatenotes'; |
||
11 | |||
12 | private static $menu_title = 'Update Log'; |
||
13 | |||
14 | private static $menu_icon = 'update_note/images/treeicons/UpdateNoteModelAdmin.png'; |
||
15 | |||
16 | /** |
||
17 | * @return DataList |
||
18 | */ |
||
19 | public function getList() |
||
27 | } |
||
28 |
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.