diff --git a/src/Components/AreaComponent.php b/src/Components/AreaComponent.php index 2f9662f..956835b 100644 --- a/src/Components/AreaComponent.php +++ b/src/Components/AreaComponent.php @@ -66,6 +66,14 @@ class AreaComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/AreaComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_AreaComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/BaseComponent.php b/src/Components/BaseComponent.php index 4a28d59..4dde343 100644 --- a/src/Components/BaseComponent.php +++ b/src/Components/BaseComponent.php @@ -33,6 +33,22 @@ */ class BaseComponent extends Component { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Base Component'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Base Components'; + /** * Defines an ancestor class to hide from the admin interface. * @@ -41,6 +57,14 @@ class BaseComponent extends Component */ private static $hide_ancestor = Component::class; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_BaseComponent'; + /** * Maps field names to field types for this object. * diff --git a/src/Components/BaseListComponent.php b/src/Components/BaseListComponent.php index 950455a..0b792c1 100644 --- a/src/Components/BaseListComponent.php +++ b/src/Components/BaseListComponent.php @@ -67,6 +67,14 @@ class BaseListComponent extends BaseComponent const BUTTON_TYPE_LINK = 'link'; const BUTTON_TYPE_BUTTON = 'button'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_BaseListComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/ContentComponent.php b/src/Components/ContentComponent.php index 1973ada..15946d3 100644 --- a/src/Components/ContentComponent.php +++ b/src/Components/ContentComponent.php @@ -65,6 +65,14 @@ class ContentComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ContentComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ContentComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/CopyrightComponent.php b/src/Components/CopyrightComponent.php index b36b2ec..dfd5d4e 100644 --- a/src/Components/CopyrightComponent.php +++ b/src/Components/CopyrightComponent.php @@ -70,6 +70,14 @@ class CopyrightComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/CopyrightComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_CopyrightComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/DeveloperComponent.php b/src/Components/DeveloperComponent.php index e9e11ea..41fdcbb 100644 --- a/src/Components/DeveloperComponent.php +++ b/src/Components/DeveloperComponent.php @@ -69,6 +69,14 @@ class DeveloperComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/DeveloperComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_DeveloperComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/FeatureComponent.php b/src/Components/FeatureComponent.php index c5455c3..c2ca333 100644 --- a/src/Components/FeatureComponent.php +++ b/src/Components/FeatureComponent.php @@ -75,6 +75,14 @@ class FeatureComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/FeatureComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_FeatureComponent'; + /** * Maps field names to field types for this object. * diff --git a/src/Components/HeadingComponent.php b/src/Components/HeadingComponent.php index a239ff8..442425a 100644 --- a/src/Components/HeadingComponent.php +++ b/src/Components/HeadingComponent.php @@ -63,6 +63,14 @@ class HeadingComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/HeadingComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_HeadingComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/ImageComponent.php b/src/Components/ImageComponent.php index 3a22328..471cee2 100644 --- a/src/Components/ImageComponent.php +++ b/src/Components/ImageComponent.php @@ -67,6 +67,14 @@ class ImageComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ImageComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ImageComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/ListComponent.php b/src/Components/ListComponent.php index 6464175..1a75e52 100644 --- a/src/Components/ListComponent.php +++ b/src/Components/ListComponent.php @@ -65,6 +65,14 @@ class ListComponent extends BaseListComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ListComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ListComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/MediaComponent.php b/src/Components/MediaComponent.php index 2922ae9..b632549 100644 --- a/src/Components/MediaComponent.php +++ b/src/Components/MediaComponent.php @@ -99,6 +99,14 @@ class MediaComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/MediaComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_MediaComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/PageComponent.php b/src/Components/PageComponent.php index 451c6e3..00916a3 100644 --- a/src/Components/PageComponent.php +++ b/src/Components/PageComponent.php @@ -63,6 +63,14 @@ class PageComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/PageComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_PageComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/ScrollToTopButton.php b/src/Components/ScrollToTopButton.php index 356d2f2..54be7a9 100644 --- a/src/Components/ScrollToTopButton.php +++ b/src/Components/ScrollToTopButton.php @@ -69,6 +69,14 @@ class ScrollToTopButton extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ScrollToTopButton.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ScrollToTopButton'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/TableComponent.php b/src/Components/TableComponent.php index 9e1fa49..0fd815a 100644 --- a/src/Components/TableComponent.php +++ b/src/Components/TableComponent.php @@ -66,6 +66,14 @@ class TableComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/TableComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_TableComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/TagCloudComponent.php b/src/Components/TagCloudComponent.php index 4b9f3a1..09f2f18 100644 --- a/src/Components/TagCloudComponent.php +++ b/src/Components/TagCloudComponent.php @@ -74,6 +74,14 @@ class TagCloudComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/TagCloudComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_TagCloudComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Components/TileComponent.php b/src/Components/TileComponent.php index 914a6e8..cc99b4a 100644 --- a/src/Components/TileComponent.php +++ b/src/Components/TileComponent.php @@ -59,4 +59,12 @@ class TileComponent extends BaseListComponent * @config */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/TileComponent.png'; + + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_TileComponent'; } diff --git a/src/Components/TitleComponent.php b/src/Components/TitleComponent.php index 562b5a3..b0a8c89 100644 --- a/src/Components/TitleComponent.php +++ b/src/Components/TitleComponent.php @@ -62,6 +62,14 @@ class TitleComponent extends BaseComponent */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/TitleComponent.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_TitleComponent'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Core/App.php b/src/Core/App.php index 39a7bdc..1fe4232 100644 --- a/src/Core/App.php +++ b/src/Core/App.php @@ -37,6 +37,30 @@ */ class App extends DataObject { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'App'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Apps'; + + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_App'; + /** * Defines the injector dependencies for this object. * diff --git a/src/Folders/ComponentFolder.php b/src/Folders/ComponentFolder.php index bbb7b2d..fe8056f 100644 --- a/src/Folders/ComponentFolder.php +++ b/src/Folders/ComponentFolder.php @@ -31,6 +31,22 @@ */ class ComponentFolder extends Folder { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Component Folder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Component Folders'; + /** * Description of this object. * @@ -47,6 +63,14 @@ class ComponentFolder extends Folder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ComponentFolder.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ComponentFolder'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Folders/LayoutFolder.php b/src/Folders/LayoutFolder.php index 4709560..634f141 100644 --- a/src/Folders/LayoutFolder.php +++ b/src/Folders/LayoutFolder.php @@ -31,6 +31,22 @@ */ class LayoutFolder extends Folder { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Layout Folder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Layout Folders'; + /** * Description of this object. * @@ -47,6 +63,14 @@ class LayoutFolder extends Folder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/LayoutFolder.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_LayoutFolder'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Folders/PanelFolder.php b/src/Folders/PanelFolder.php index d680109..8647cfd 100644 --- a/src/Folders/PanelFolder.php +++ b/src/Folders/PanelFolder.php @@ -31,6 +31,22 @@ */ class PanelFolder extends Folder { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Panel Folder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Panel Folders'; + /** * Description of this object. * @@ -47,6 +63,14 @@ class PanelFolder extends Folder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/PanelFolder.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_PanelFolder'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Folders/TemplateFolder.php b/src/Folders/TemplateFolder.php index e0f9362..91ab5d0 100644 --- a/src/Folders/TemplateFolder.php +++ b/src/Folders/TemplateFolder.php @@ -31,6 +31,22 @@ */ class TemplateFolder extends Folder { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Template Folder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Template Folders'; + /** * Description of this object. * @@ -47,6 +63,14 @@ class TemplateFolder extends Folder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/TemplateFolder.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_TemplateFolder'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Grid/Column.php b/src/Grid/Column.php index 65b948d..b3af489 100644 --- a/src/Grid/Column.php +++ b/src/Grid/Column.php @@ -65,6 +65,14 @@ class Column extends Grid */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Column.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Column'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Grid/Grid.php b/src/Grid/Grid.php index 18269ae..c541253 100644 --- a/src/Grid/Grid.php +++ b/src/Grid/Grid.php @@ -31,6 +31,14 @@ */ class Grid extends Component { + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Grid'; + /** * Answers the grid framework defined by configuration. * diff --git a/src/Grid/Row.php b/src/Grid/Row.php index a80351c..616026c 100644 --- a/src/Grid/Row.php +++ b/src/Grid/Row.php @@ -63,6 +63,14 @@ class Row extends Grid */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Row.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Row'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Grid/Section.php b/src/Grid/Section.php index d24115d..224e3df 100644 --- a/src/Grid/Section.php +++ b/src/Grid/Section.php @@ -71,6 +71,14 @@ class Section extends Grid */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Section.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Section'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Lists/ListSourceSlide.php b/src/Lists/ListSourceSlide.php index 5cee3e7..7c8ae38 100644 --- a/src/Lists/ListSourceSlide.php +++ b/src/Lists/ListSourceSlide.php @@ -67,6 +67,14 @@ class ListSourceSlide extends Slide */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ListSourceSlide.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ListSourceSlide'; + /** * Defines the extension classes to apply to this object. * diff --git a/src/Model/Button.php b/src/Model/Button.php index f3f1018..65c8c21 100644 --- a/src/Model/Button.php +++ b/src/Model/Button.php @@ -65,6 +65,14 @@ class Button extends Component */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Button.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Button'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Model/Component.php b/src/Model/Component.php index 6ce0624..8cd94a8 100644 --- a/src/Model/Component.php +++ b/src/Model/Component.php @@ -84,6 +84,14 @@ class Component extends SiteTree implements Flushable, PermissionProvider */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Component.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Component'; + /** * Determines whether this object can exist at the root level. * diff --git a/src/Model/Folder.php b/src/Model/Folder.php index 241ec9f..1f582fd 100644 --- a/src/Model/Folder.php +++ b/src/Model/Folder.php @@ -36,6 +36,22 @@ */ class Folder extends SiteTree implements PermissionProvider { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Folder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Folders'; + /** * Icon file for this object. * @@ -44,6 +60,14 @@ class Folder extends SiteTree implements PermissionProvider */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Folder.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Folder'; + /** * Defines the default values for the fields of this object. * diff --git a/src/Model/Layout.php b/src/Model/Layout.php index d4aa223..6431d48 100644 --- a/src/Model/Layout.php +++ b/src/Model/Layout.php @@ -62,6 +62,14 @@ class Layout extends SectionHolder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Layout.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Layout'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Model/Link.php b/src/Model/Link.php index 4dff940..8847376 100644 --- a/src/Model/Link.php +++ b/src/Model/Link.php @@ -74,6 +74,14 @@ class Link extends Component */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Link.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Link'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Model/PageType.php b/src/Model/PageType.php index 72b3f7c..d27a351 100644 --- a/src/Model/PageType.php +++ b/src/Model/PageType.php @@ -59,6 +59,14 @@ class PageType extends DataObject */ private static $plural_name = 'Page Types'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_PageType'; + /** * Maps field names to field types for this object. * diff --git a/src/Model/Panel.php b/src/Model/Panel.php index 7447eaa..fd9b374 100644 --- a/src/Model/Panel.php +++ b/src/Model/Panel.php @@ -69,6 +69,14 @@ class Panel extends Component */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Panel.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Panel'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Model/SectionHolder.php b/src/Model/SectionHolder.php index f66e6f2..fcf6f51 100644 --- a/src/Model/SectionHolder.php +++ b/src/Model/SectionHolder.php @@ -30,6 +30,30 @@ */ class SectionHolder extends Component { + /** + * Human-readable singular name. + * + * @var string + * @config + */ + private static $singular_name = 'Section Holder'; + + /** + * Human-readable plural name. + * + * @var string + * @config + */ + private static $plural_name = 'Section Holders'; + + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_SectionHolder'; + /** * Defines the default child class for this object. * diff --git a/src/Model/Slide.php b/src/Model/Slide.php index ab7334c..089b903 100644 --- a/src/Model/Slide.php +++ b/src/Model/Slide.php @@ -73,6 +73,14 @@ class Slide extends Component */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Slide.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Slide'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/Model/Template.php b/src/Model/Template.php index d6be76b..75d1231 100644 --- a/src/Model/Template.php +++ b/src/Model/Template.php @@ -66,6 +66,14 @@ class Template extends SectionHolder */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/Template.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Template'; + /** * Defines an ancestor class to hide from the admin interface. * diff --git a/src/ORM/MultiClassObject.php b/src/ORM/MultiClassObject.php index 57519d7..db3e30c 100644 --- a/src/ORM/MultiClassObject.php +++ b/src/ORM/MultiClassObject.php @@ -40,6 +40,14 @@ class MultiClassObject extends DataObject { use CMSMainPermissions; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_MultiClassObject'; + /** * Defines the summary fields of this object. * diff --git a/src/Pages/ListPage.php b/src/Pages/ListPage.php index 3d3b255..dcb8fcf 100644 --- a/src/Pages/ListPage.php +++ b/src/Pages/ListPage.php @@ -64,6 +64,14 @@ class ListPage extends Page */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/ListPage.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_ListPage'; + /** * Defines the extension classes to apply to this object. * diff --git a/src/Sections/FooterSection.php b/src/Sections/FooterSection.php index db1f610..f5bb8ce 100644 --- a/src/Sections/FooterSection.php +++ b/src/Sections/FooterSection.php @@ -63,6 +63,14 @@ class FooterSection extends Section */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/FooterSection.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_FooterSection'; + /** * Defines the allowed parents for this object. * diff --git a/src/Sections/HeaderSection.php b/src/Sections/HeaderSection.php index 86e8925..e50be73 100644 --- a/src/Sections/HeaderSection.php +++ b/src/Sections/HeaderSection.php @@ -63,6 +63,14 @@ class HeaderSection extends Section */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/HeaderSection.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_HeaderSection'; + /** * Defines the allowed parents for this object. * diff --git a/src/Sections/LayoutSection.php b/src/Sections/LayoutSection.php index ed229eb..59332e0 100644 --- a/src/Sections/LayoutSection.php +++ b/src/Sections/LayoutSection.php @@ -67,6 +67,14 @@ class LayoutSection extends Section */ private static $icon = 'silverware/silverware: admin/client/dist/images/icons/LayoutSection.png'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_LayoutSection'; + /** * Defines the allowed children for this object. * diff --git a/src/Tags/Tag.php b/src/Tags/Tag.php index ac52968..343059d 100644 --- a/src/Tags/Tag.php +++ b/src/Tags/Tag.php @@ -68,6 +68,14 @@ class Tag extends DataObject */ private static $default_sort = 'Title'; + /** + * Defines the table name to use for this object. + * + * @var string + * @config + */ + private static $table_name = 'SilverWare_Tag'; + /** * Maps field names to field types for this object. *