mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public
This commit is contained in:
parent
209e56aa4b
commit
1374144435
@ -30,7 +30,7 @@ class MultiFormStep extends DataObject {
|
||||
*
|
||||
* @var array|string
|
||||
*/
|
||||
protected static $next_steps;
|
||||
public static $next_steps;
|
||||
|
||||
/**
|
||||
* Each {@link MultiForm} subclass needs at least
|
||||
@ -40,7 +40,7 @@ class MultiFormStep extends DataObject {
|
||||
*
|
||||
* @var boolean
|
||||
*/
|
||||
protected static $is_final_step = false;
|
||||
public static $is_final_step = false;
|
||||
|
||||
/**
|
||||
* This variable determines whether a user can use
|
||||
|
@ -123,7 +123,7 @@ class MultiFormTest_Form extends MultiForm implements TestOnly {
|
||||
}
|
||||
class MultiFormTest_StepOne extends MultiFormStep implements TestOnly {
|
||||
|
||||
protected static $next_steps = 'MultiFormTest_StepTwo';
|
||||
public static $next_steps = 'MultiFormTest_StepTwo';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
@ -136,7 +136,7 @@ class MultiFormTest_StepOne extends MultiFormStep implements TestOnly {
|
||||
}
|
||||
class MultiFormTest_StepTwo extends MultiFormStep implements TestOnly {
|
||||
|
||||
protected static $next_steps = 'MultiFormTest_StepThree';
|
||||
public static $next_steps = 'MultiFormTest_StepThree';
|
||||
|
||||
function getFields() {
|
||||
return new FieldSet(
|
||||
|
Loading…
Reference in New Issue
Block a user