| 1 | <?php |
||
| 7 | class TemplateoverviewDescriptionModelAdmin extends ModelAdmin |
||
|
|
|||
| 8 | { |
||
| 9 | public $showImportForm = false; |
||
| 10 | |||
| 11 | private static $managed_models = array("TemplateoverviewDescription"); |
||
| 12 | |||
| 13 | private static $url_segment = 'templates'; |
||
| 14 | |||
| 15 | private static $menu_title = 'Templates'; |
||
| 16 | |||
| 17 | public static function get_full_url_segment($action = null) |
||
| 22 | } |
||
| 23 |
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.