mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Removed unused methods
This commit is contained in:
parent
433d74b94d
commit
01fe23fe2f
@ -118,23 +118,6 @@ class MultiFormStep extends DataObject {
|
|||||||
$this->write();
|
$this->write();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO what does this method do? What is it's responsibility?
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
public function start() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO what does this method do, in relation to MultiForm->finish() ?
|
|
||||||
* I thought we were finalising the entire form on MultiForm, and not
|
|
||||||
* each step?
|
|
||||||
*/
|
|
||||||
public function finish() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the first value of $next_step
|
* Returns the first value of $next_step
|
||||||
*
|
*
|
||||||
@ -210,14 +193,6 @@ class MultiFormStep extends DataObject {
|
|||||||
|
|
||||||
// ##################### Utility ####################
|
// ##################### Utility ####################
|
||||||
|
|
||||||
/**
|
|
||||||
* @TODO Do we need this? Can't we just check for the return value of getPreviousStep,
|
|
||||||
* and do boolean logic from that?
|
|
||||||
*/
|
|
||||||
public function hasPreviousStep() {
|
|
||||||
die('MultiFormStep->hasPreviousStep(): Not implemented yet');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether this step is the final step in the multi-step process or not,
|
* Determines whether this step is the final step in the multi-step process or not,
|
||||||
* based on the variable $is_final_step - to set the final step, create this variable
|
* based on the variable $is_final_step - to set the final step, create this variable
|
||||||
|
Loading…
Reference in New Issue
Block a user