silverstripe-cms/tests/php/Controllers/ContentControllerTest_PageController.php
2017-08-09 17:09:28 +12:00

25 lines
421 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Controllers;
use SilverStripe\Dev\TestOnly;
use PageController;
class ContentControllerTest_PageController extends PageController implements TestOnly
{
private static $allowed_actions = array(
'second_index'
);
public function index()
{
return $this->Title;
}
public function second_index()
{
return $this->index();
}
}