mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-09-27 20:06:08 +02: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,6 +17,8 @@ use SilverStripe\ORM\DataObject;
|
||||
*/
|
||||
class SubsiteDomain extends DataObject {
|
||||
|
||||
private static $table_name = 'SubsiteDomain';
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
|
@ -20,6 +20,8 @@ use SilverStripe\Subsites\Forms\SubsitesTreeDropdownField;
|
||||
|
||||
class SubsitesVirtualPage extends VirtualPage {
|
||||
|
||||
private static $table_name = 'SubsitesVirtualPage';
|
||||
|
||||
private static $description = 'Displays the content of a page on another subsite';
|
||||
|
||||
private static $db = array(
|
||||
|
Loading…
Reference in New Issue
Block a user