silverstripe /
silverstripe-elemental
| 1 | <?php |
||
| 2 | |||
| 3 | namespace DNADesign\Elemental\Tests\TopPage; |
||
| 4 | |||
| 5 | use Page; |
||
| 6 | use SilverStripe\Dev\TestOnly; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Class TestChildPage |
||
| 10 | * |
||
| 11 | * @method TestContent TestContent() |
||
| 12 | * @package DNADesign\Elemental\Tests\TopPage |
||
| 13 | */ |
||
| 14 | class TestChildPage extends Page implements TestOnly |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private static $table_name = 'TestChildPage'; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | private static $belongs_to = [ |
||
|
0 ignored issues
–
show
|
|||
| 25 | 'TestContent' => TestContent::class . '.ChildPage', |
||
| 26 | ]; |
||
| 27 | } |
||
| 28 |