1 | <?php |
||
4 | class EcommerceDashboardPanel_SearchHistory extends EcommerceDashboardPanel |
||
|
|||
5 | { |
||
6 | private static $db = array( |
||
7 | 'MaxRows' => 'Int' |
||
8 | ); |
||
9 | |||
10 | private static $defaults = array( |
||
11 | 'MaxRows' => 7 |
||
12 | ); |
||
13 | |||
14 | private static $icon = "ecommerce_dashboard/images/icons/EcommerceDashboardPanel_SearchHistory.png"; |
||
15 | |||
16 | public function getLabelPrefix() |
||
20 | |||
21 | public function getConfiguration() |
||
27 | |||
28 | public function Content() |
||
38 | } |
||
39 |
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.