Alias namespaced table

This commit is contained in:
Damian Mooyman 2016-07-20 10:35:01 +12:00
parent ef723bb265
commit 647d1f36f6

View File

@ -32,6 +32,8 @@ class Employee extends DataObject
'PastCompanies' => 'SilverStripe\\FrameworkTest\\Model\\Company'
);
private static $table_name = 'Employee';
public function getCMSFields()
{
$fields = parent::getCMSFields();