mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static()
This commit is contained in:
parent
60fa84df85
commit
209e56aa4b
@ -35,7 +35,7 @@ abstract class MultiForm extends Form {
|
|||||||
*
|
*
|
||||||
* @var string Classname of a {@link MultiFormStep} subclass
|
* @var string Classname of a {@link MultiFormStep} subclass
|
||||||
*/
|
*/
|
||||||
protected static $start_step;
|
public static $start_step;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the casting for these fields.
|
* Set the casting for these fields.
|
||||||
|
@ -114,7 +114,7 @@ class MultiFormTest_Controller extends Controller implements TestOnly {
|
|||||||
}
|
}
|
||||||
class MultiFormTest_Form extends MultiForm implements TestOnly {
|
class MultiFormTest_Form extends MultiForm implements TestOnly {
|
||||||
|
|
||||||
protected static $start_step = 'MultiFormTest_StepOne';
|
public static $start_step = 'MultiFormTest_StepOne';
|
||||||
|
|
||||||
function getStartStep() {
|
function getStartStep() {
|
||||||
return $this->stat('start_step');
|
return $this->stat('start_step');
|
||||||
|
Loading…
Reference in New Issue
Block a user