mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Added documentation
This commit is contained in:
parent
a47191c802
commit
75ce791dca
@ -94,6 +94,7 @@ abstract class MultiForm extends Form {
|
|||||||
$startStepClass = $this->stat('start_step');
|
$startStepClass = $this->stat('start_step');
|
||||||
$urlType = $this->stat('url_type');
|
$urlType = $this->stat('url_type');
|
||||||
|
|
||||||
|
// Check if there was a start step defined on the subclass of MultiForm
|
||||||
if(!isset($startStepClass)) user_error('MultiForm::init(): Please define a $startStep on ' . $this->class, E_USER_ERROR);
|
if(!isset($startStepClass)) user_error('MultiForm::init(): Please define a $startStep on ' . $this->class, E_USER_ERROR);
|
||||||
|
|
||||||
// If there's a MultiFormSessionID variable set, find that, otherwise create a new session
|
// If there's a MultiFormSessionID variable set, find that, otherwise create a new session
|
||||||
|
Loading…
Reference in New Issue
Block a user