mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
BUGFIX Changed protected to public for MultiForm changes
This commit is contained in:
parent
543e22be0b
commit
7ab8dc822b
@ -38,7 +38,7 @@ class Page2MultiForm extends MultiForm {
|
||||
|
||||
class Page2PersonalDetailsFormStep extends MultiFormStep {
|
||||
|
||||
protected static $next_steps = 'Page2OrganisationDetailsFormStep';
|
||||
public static $next_steps = 'Page2OrganisationDetailsFormStep';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
@ -51,7 +51,7 @@ class Page2PersonalDetailsFormStep extends MultiFormStep {
|
||||
|
||||
class Page2OrganisationDetailsFormStep extends MultiFormStep {
|
||||
|
||||
protected static $is_final_step = true;
|
||||
public static $is_final_step = true;
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
|
@ -40,7 +40,7 @@ class Page3MultiForm extends MultiForm {
|
||||
|
||||
class Page3StartFormStep extends MultiFormStep {
|
||||
|
||||
protected static $next_steps = 'Page3PersonalDetailsFormStep';
|
||||
public static $next_steps = 'Page3PersonalDetailsFormStep';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
@ -58,7 +58,7 @@ class Page3StartFormStep extends MultiFormStep {
|
||||
|
||||
class Page3PersonalDetailsFormStep extends MultiFormStep {
|
||||
|
||||
protected static $next_steps = 'Page3OrganisationDetailsFormStep';
|
||||
public static $next_steps = 'Page3OrganisationDetailsFormStep';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
|
@ -26,7 +26,7 @@ class TestMultiForm extends MultiForm {
|
||||
}
|
||||
|
||||
class TestMultiFormStepOne extends MultiFormStep {
|
||||
protected static $next_steps = 'TestMultiFormStepTwo';
|
||||
public static $next_steps = 'TestMultiFormStepTwo';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
@ -38,7 +38,7 @@ class TestMultiFormStepOne extends MultiFormStep {
|
||||
}
|
||||
|
||||
class TestMultiFormStepTwo extends MultiFormStep {
|
||||
protected static $next_steps = 'TestMultiFormStepThree';
|
||||
public static $next_steps = 'TestMultiFormStepThree';
|
||||
|
||||
function getFields() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user