2016-11-13 08:35:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\Admin\Tests\LeftAndMainTest;
|
|
|
|
|
|
|
|
use SilverStripe\Admin\LeftAndMain;
|
|
|
|
use SilverStripe\Control\Controller;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
|
|
|
|
class TestController extends LeftAndMain implements TestOnly
|
|
|
|
{
|
2016-12-16 05:34:21 +01:00
|
|
|
protected $template = 'BlankPage';
|
2016-11-13 08:35:43 +01:00
|
|
|
|
2016-12-16 05:34:21 +01:00
|
|
|
private static $tree_class = TestObject::class;
|
2016-11-13 08:35:43 +01:00
|
|
|
|
2016-12-16 05:34:21 +01:00
|
|
|
public function Link($action = null)
|
|
|
|
{
|
|
|
|
return Controller::join_links('LeftAndMainTest_Controller', $action, '/');
|
|
|
|
}
|
2016-11-13 08:35:43 +01:00
|
|
|
}
|