mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
adding table names config
This commit is contained in:
parent
fe6d93eaac
commit
b71e544820
@ -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.
|
||||
|
@ -17,7 +17,9 @@ use SilverStripe\ORM\DataObject;
|
||||
*/
|
||||
class SubsiteDomain extends DataObject {
|
||||
|
||||
/**
|
||||
private static $table_name = 'SubsiteDomain';
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
|
@ -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)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user