1 | <?php |
||
8 | class ForSaleHolderPage extends Page |
||
|
|||
9 | { |
||
10 | public static $icon = "mysite/images/treeicons/ForSaleHolderPage"; |
||
11 | |||
12 | //static $default_parent = ''; |
||
13 | |||
14 | public static $default_child = 'ForSaleOnePage'; |
||
15 | |||
16 | public static $allowed_children = array('ForSaleOnePage'); |
||
17 | |||
18 | public function getCMSFields() |
||
23 | } |
||
24 | |||
38 |
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.