@@ -352,6 +352,7 @@ |
||
352 | 352 | * the children collection. Doesn't work recursively. |
353 | 353 | * |
354 | 354 | * @param string|FormField |
355 | + * @param string $field |
|
355 | 356 | * @return int Position in children collection (first position starts with 0). Returns FALSE if the field can't |
356 | 357 | * be found. |
357 | 358 | */ |
@@ -746,7 +746,6 @@ discard block |
||
746 | 746 | * Set the field value. |
747 | 747 | * |
748 | 748 | * @param mixed $value |
749 | - * @param null|array|DataObject $data {@see Form::loadDataFrom} |
|
750 | 749 | * |
751 | 750 | * @return $this |
752 | 751 | */ |
@@ -1171,7 +1170,7 @@ discard block |
||
1171 | 1170 | /** |
1172 | 1171 | * @param FormTransformation $transformation |
1173 | 1172 | * |
1174 | - * @return mixed |
|
1173 | + * @return FormField |
|
1175 | 1174 | */ |
1176 | 1175 | public function transform(FormTransformation $transformation) { |
1177 | 1176 | return $transformation->transform($this); |
@@ -1295,7 +1294,7 @@ discard block |
||
1295 | 1294 | * |
1296 | 1295 | * @param FieldList $containerFieldList |
1297 | 1296 | * |
1298 | - * @return FieldList |
|
1297 | + * @return FormField |
|
1299 | 1298 | */ |
1300 | 1299 | public function setContainerFieldList($containerFieldList) { |
1301 | 1300 | $this->containerFieldList = $containerFieldList; |
@@ -152,6 +152,9 @@ discard block |
||
152 | 152 | return $this->title; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $title |
|
157 | + */ |
|
155 | 158 | function setTitle($title) { |
156 | 159 | $this->title = $title; |
157 | 160 | return $this; |
@@ -161,6 +164,9 @@ discard block |
||
161 | 164 | return $this->value; |
162 | 165 | } |
163 | 166 | |
167 | + /** |
|
168 | + * @param string $Value |
|
169 | + */ |
|
164 | 170 | function setValue($Value) { |
165 | 171 | $this->value = $Value; |
166 | 172 | return $this; |