1 | <?php |
||
8 | class PageRatingAdmin extends ModelAdmin |
||
|
|||
9 | { |
||
10 | private static $managed_models = array( |
||
11 | 'PageRating' |
||
12 | ); |
||
13 | |||
14 | private static $url_segment = 'page-rating'; |
||
15 | |||
16 | private static $menu_title = 'Ratings'; |
||
17 | |||
18 | private static $menu_icon = 'pagerater/images/treeicons/PageRatingAdmin.png'; |
||
19 | } |
||
20 |
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.