| 1 | <?php |
||
| 12 | class SEO_FacebookDomainInsights_SiteConfig_DataExtension extends DataExtension |
||
|
|
|||
| 13 | { |
||
| 14 | |||
| 15 | |||
| 16 | /* Overload Model |
||
| 17 | ------------------------------------------------------------------------------*/ |
||
| 18 | |||
| 19 | private static $db = array( |
||
| 20 | 'FacebookAppID' => 'Varchar(16)', |
||
| 21 | ); |
||
| 22 | private static $has_many = array( |
||
| 23 | 'FacebookAdmins' => 'Member', |
||
| 24 | ); |
||
| 25 | |||
| 26 | |||
| 27 | /* Overload Methods |
||
| 28 | ------------------------------------------------------------------------------*/ |
||
| 29 | |||
| 30 | // CMS Fields |
||
| 31 | public function updateCMSFields(FieldList $fields) |
||
| 50 | |||
| 51 | } |
||
| 52 |
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.