@@ 24-36 (lines=13) @@ | ||
21 | } |
|
22 | ||
23 | ||
24 | protected function primaryThingsToBuild() |
|
25 | { |
|
26 | return [ |
|
27 | ['singular_name', 'text', '', false], |
|
28 | ['plural_name', 'text', '', false], |
|
29 | ['db', 'text', 'dbFields', true], |
|
30 | ['belongs_to', 'text', 'possibleRelations', true], |
|
31 | ['has_one', 'text', 'possibleRelations', true], |
|
32 | ['has_many', 'text', 'possibleRelations', true], |
|
33 | ['many_many', 'text', 'possibleRelations', true], |
|
34 | ['belongs_many_many', 'text', 'possibleRelations', true] |
|
35 | ]; |
|
36 | } |
|
37 | ||
38 | protected function secondaryThingsToBuild() |
|
39 | { |
@@ 10-22 (lines=13) @@ | ||
7 | { |
|
8 | protected $myBaseClass = 'Page'; |
|
9 | ||
10 | protected function primaryThingsToBuild() |
|
11 | { |
|
12 | return [ |
|
13 | ['singular_name', 'text', '', false], |
|
14 | ['plural_name', 'text', '', false], |
|
15 | ['db', 'text', 'dbFields', true], |
|
16 | ['belongs_to', 'text', 'possibleRelations', true], |
|
17 | ['has_one', 'text', 'possibleRelations', true], |
|
18 | ['has_many', 'text', 'possibleRelations', true], |
|
19 | ['many_many', 'text', 'possibleRelations', true], |
|
20 | ['belongs_many_many', 'text', 'possibleRelations', true] |
|
21 | ]; |
|
22 | } |
|
23 | ||
24 | protected function secondaryThingsToBuild() |
|
25 | { |