1 | <?php |
||
3 | class ImageGalleryHolder extends Page |
||
|
|||
4 | { |
||
5 | private static $icon = 'imagegallery_basic/images/treeicons/ImageGalleryHolder'; |
||
6 | |||
7 | private static $allowed_children = array('ImageGalleryPage'); |
||
8 | |||
9 | private static $default_child = 'ImageGalleryPage'; |
||
10 | |||
11 | private static $description = "This page is the parent page for image galleries. "; |
||
12 | } |
||
13 | |||
21 |
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.