Use PageController without underscore

This commit is contained in:
Ingo Schommer 2017-01-15 21:19:56 +13:00
parent 550f9856d6
commit db7c537666
8 changed files with 31 additions and 38 deletions

View File

@ -55,7 +55,7 @@ class GridFieldTestPage extends TestPage
}
}
class GridFieldTestPage_Controller extends Page_Controller
class GridFieldTestPage_Controller extends PageController
{
private static $allowed_actions = array(

View File

@ -3,14 +3,7 @@
namespace SilverStripe\FrameworkTest\Model;
use Page;
use Page_Controller;
use PageController;
use SilverStripe\ORM\DataObject;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Forms\FormAction;
@ -77,7 +70,7 @@ class TestPage extends Page
/**
* Parent class of all test page controllers
*/
class TestPage_Controller extends Page_Controller
class TestPage_Controller extends PageController
{
private static $allowed_actions = array(
'Form',

View File

@ -4,7 +4,7 @@ class Page2MultiFormTestPage extends Page
{
}
class Page2MultiFormTestPage_Controller extends Page_Controller
class Page2MultiFormTestPage_Controller extends PageController
{
public function Page2MultiForm()

View File

@ -4,7 +4,7 @@ class Page3MultiFormTestPage extends Page
{
}
class Page3MultiFormTestPage_Controller extends Page_Controller
class Page3MultiFormTestPage_Controller extends PageController
{
public function Page3MultiForm()

View File

@ -3,7 +3,7 @@ class TestMultiFormPage extends Page
{
}
class TestMultiFormPage_Controller extends Page_Controller
class TestMultiFormPage_Controller extends PageController
{
public function Form()

View File

@ -11,7 +11,7 @@ class RecaptchaTestPage extends Page
{
}
class RecaptchaTestPage_Controller extends Page_Controller
class RecaptchaTestPage_Controller extends PageController
{
public function Form()

View File

@ -13,7 +13,7 @@ class SifrPage extends Page
}
}
class SifrPage_Controller extends Page_Controller
class SifrPage_Controller extends PageController
{
public function init()

View File

@ -37,4 +37,4 @@
// }
// class TestTagFieldPage_Controller extends Page_Controller {}
// class TestTagFieldPage_Controller extends PageController {}