2017-06-21 16:29:40 +12:00
|
|
|
<?php
|
|
|
|
|
2017-08-09 14:53:38 +12:00
|
|
|
namespace SilverStripe\CMS\Tests\Model;
|
2017-08-09 13:25:12 +12:00
|
|
|
|
2017-06-21 16:29:40 +12:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
2018-05-04 01:04:18 +00:00
|
|
|
use SilverStripe\CMS\Controllers\ContentController;
|
2017-08-09 13:25:12 +12:00
|
|
|
|
2018-05-04 01:04:18 +00:00
|
|
|
class VirtualPageTest_ClassAController extends ContentController implements TestOnly
|
2017-06-21 16:29:40 +12:00
|
|
|
{
|
|
|
|
private static $allowed_actions = [
|
2018-05-04 01:04:18 +00:00
|
|
|
'testaction',
|
2017-06-21 16:29:40 +12:00
|
|
|
];
|
|
|
|
|
|
|
|
public function testMethod()
|
|
|
|
{
|
|
|
|
return 'hello';
|
|
|
|
}
|
|
|
|
}
|