adding table names config

This commit is contained in:
Werner M. Krauß 2017-05-24 14:31:56 +02:00
parent fe6d93eaac
commit b71e544820
3 changed files with 8 additions and 2 deletions

View File

@ -43,6 +43,8 @@ use SilverStripe\Security\PermissionRoleCode;
*/
class Subsite extends DataObject {
private static $table_name = 'Subsite';
/**
* @var $use_session_subsiteid Boolean Set to TRUE when using the CMS and FALSE
* when browsing the frontend of a website.

View File

@ -17,7 +17,9 @@ use SilverStripe\ORM\DataObject;
*/
class SubsiteDomain extends DataObject {
/**
private static $table_name = 'SubsiteDomain';
/**
*
* @var string
*/

View File

@ -20,7 +20,9 @@ use SilverStripe\Subsites\Forms\SubsitesTreeDropdownField;
class SubsitesVirtualPage extends VirtualPage {
private static $description = 'Displays the content of a page on another subsite';
private static $table_name = 'SubsitesVirtualPage';
private static $description = 'Displays the content of a page on another subsite';
private static $db = array(
'CustomMetaTitle' => 'Varchar(255)',