@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * Get a validator specific to this form. |
| 103 | 103 | * The form is automatically validated in {@link Form->httpSubmission()}. |
| 104 | 104 | * |
| 105 | - * @return Validator |
|
| 105 | + * @return boolean |
|
| 106 | 106 | */ |
| 107 | 107 | public function getValidator() { |
| 108 | 108 | return false; |
@@ -316,6 +316,7 @@ discard block |
||
| 316 | 316 | * Sets the form that this step is directly related to. |
| 317 | 317 | * |
| 318 | 318 | * @param MultiForm subclass $form |
| 319 | + * @param MultiForm $form |
|
| 319 | 320 | */ |
| 320 | 321 | public function setForm($form) { |
| 321 | 322 | $this->form = $form; |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * Start the MultiForm instance. |
| 99 | 99 | * |
| 100 | - * @param Controller instance $controller Controller this form is created on |
|
| 100 | + * @param Controller MultiFormTest_Controller $controller Controller this form is created on |
|
| 101 | 101 | * @param string $name The form name, typically the same as the method name |
| 102 | 102 | */ |
| 103 | 103 | public function __construct($controller, $name) { |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | * Set the step passed in as the current step. |
| 239 | 239 | * |
| 240 | 240 | * @param MultiFormStep $step A subclass of MultiFormStep |
| 241 | - * @return boolean The return value of write() |
|
| 241 | + * @return integer The return value of write() |
|
| 242 | 242 | */ |
| 243 | 243 | protected function setCurrentStep($step) { |
| 244 | 244 | $this->session->CurrentStepID = $step->ID; |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | * to the database, use {@link getAllStepsLinear()}. |
| 323 | 323 | * |
| 324 | 324 | * @param string $filter SQL WHERE statement |
| 325 | - * @return DataObjectSet|boolean A set of MultiFormStep subclasses |
|
| 325 | + * @return DataList A set of MultiFormStep subclasses |
|
| 326 | 326 | */ |
| 327 | 327 | public function getSavedSteps($filter = null) { |
| 328 | 328 | $filter .= ($filter) ? ' AND ' : ''; |
@@ -365,6 +365,7 @@ discard block |
||
| 365 | 365 | * have created in this method. |
| 366 | 366 | * |
| 367 | 367 | * @param $currentStep Subclass of MultiFormStep |
| 368 | + * @param MultiFormStep $step |
|
| 368 | 369 | * @return FieldList of FormAction objects |
| 369 | 370 | */ |
| 370 | 371 | public function actionsFor($step) { |
@@ -405,7 +406,7 @@ discard block |
||
| 405 | 406 | * any of those don't exist, look for a default Form template to render |
| 406 | 407 | * with instead. |
| 407 | 408 | * |
| 408 | - * @return SSViewer object to render the template with |
|
| 409 | + * @return HTMLText object to render the template with |
|
| 409 | 410 | */ |
| 410 | 411 | public function forTemplate() { |
| 411 | 412 | $return = $this->renderWith(array( |
@@ -624,7 +625,7 @@ discard block |
||
| 624 | 625 | * session, its used - otherwise a singleton of this step is used. |
| 625 | 626 | * Caution: Doesn't consider branching for steps which aren't in the database yet. |
| 626 | 627 | * |
| 627 | - * @param $step Subclass of MultiFormStep to find the next step of |
|
| 628 | + * @param DataObject $step Subclass of MultiFormStep to find the next step of |
|
| 628 | 629 | * @param $stepsFound $stepsFound DataObjectSet reference, the steps found to call back on |
| 629 | 630 | * @return DataObjectSet of MultiFormStep instances |
| 630 | 631 | */ |