1 | <?php |
||
3 | class OnePageHolder extends Page |
||
|
|||
4 | { |
||
5 | |||
6 | private static $singular_name = 'One Page Holder'; |
||
7 | |||
8 | private static $plural_name = 'One Page Holders'; |
||
9 | |||
10 | private static $description = 'Holder for OnePage Slides. Shows all child pages as one big page'; |
||
11 | |||
12 | |||
13 | public function getCMSFields() |
||
19 | } |
||
20 | |||
24 |
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.