API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public

This commit is contained in:
Sean Harvey 2010-05-11 03:35:40 +00:00
parent 209e56aa4b
commit 1374144435
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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(