Skip to content

Commit

Permalink
Table names
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel van der Steege committed Jan 5, 2018
1 parent a89d3ef commit 084a5fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Model/FAQCategorie.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

class FAQCategorie extends DataObject {

private static $table_name = 'TheWebmen_FAQCategorie';

private static $singular_name = 'Categorie';
private static $plural_name = 'Categories';

Expand Down
2 changes: 2 additions & 0 deletions src/Model/FAQQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

class FAQQuestion extends DataObject {

private static $table_name = 'TheWebmen_FAQQuestion';

private static $singular_name = 'Question';
private static $plural_name = 'Questions';

Expand Down
2 changes: 2 additions & 0 deletions src/Pages/FAQPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

class FAQPage extends \Page {

private static $table_name = 'TheWebmen_FAQPage';

private static $has_many = [
'Categories' => FAQCategorie::class
];
Expand Down

0 comments on commit 084a5fc

Please sign in to comment.