| 1 | <?php |
||
| 9 | class WishListMemberDecorator extends DataObjectDecorator |
||
|
|
|||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Define extra database fields for member object. |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public function extraStatics() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * standard SS function - we dont need to show the Wish List field in the CMS. |
||
| 28 | */ |
||
| 29 | public function updateCMSFields(&$fields) |
||
| 59 | } |
||
| 60 |
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.