1 | <?php |
||
12 | class SEO_FacebookDomainInsights_Member_DataExtension extends DataExtension |
||
|
|||
13 | { |
||
14 | |||
15 | /* Overload Variable |
||
16 | ------------------------------------------------------------------------------*/ |
||
17 | |||
18 | private static $db = array( |
||
19 | 'FacebookProfileID' => 'Varchar(16)', |
||
20 | ); |
||
21 | private static $has_one = array( |
||
22 | 'FacebookAdmin' => 'SiteConfig', |
||
23 | ); |
||
24 | |||
25 | |||
26 | /* Overload Methods |
||
27 | ------------------------------------------------------------------------------*/ |
||
28 | |||
29 | // updateCMSFields |
||
30 | public function updateCMSFields(FieldList $fields) |
||
45 | |||
46 | } |
||
47 |
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.