@@ -214,6 +214,9 @@ discard block |
||
214 | 214 | |
215 | 215 | |
216 | 216 | |
217 | + /** |
|
218 | + * @param boolean $disabled |
|
219 | + */ |
|
217 | 220 | public function setDisabled($disabled) { |
218 | 221 | parent::setDisabled($disabled); |
219 | 222 | foreach($this->getChildren() as $child) { |
@@ -222,6 +225,9 @@ discard block |
||
222 | 225 | return $this; |
223 | 226 | } |
224 | 227 | |
228 | + /** |
|
229 | + * @param boolean $readonly |
|
230 | + */ |
|
225 | 231 | public function setReadonly($readonly) |
226 | 232 | { |
227 | 233 | parent::setReadonly($readonly); |
@@ -367,6 +373,9 @@ discard block |
||
367 | 373 | return $clone; |
368 | 374 | } |
369 | 375 | |
376 | + /** |
|
377 | + * @return boolean |
|
378 | + */ |
|
370 | 379 | public function IsReadonly() { |
371 | 380 | return $this->readonly; |
372 | 381 | } |
@@ -376,6 +385,7 @@ discard block |
||
376 | 385 | * the children collection. Doesn't work recursively. |
377 | 386 | * |
378 | 387 | * @param string|FormField |
388 | + * @param string $field |
|
379 | 389 | * @return int Position in children collection (first position starts with 0). Returns FALSE if the field can't |
380 | 390 | * be found. |
381 | 391 | */ |
@@ -60,6 +60,10 @@ discard block |
||
60 | 60 | return $this->fieldAmount; |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param string $name |
|
65 | + * @param string $title |
|
66 | + */ |
|
63 | 67 | public function __construct($name, $title = null, $value = "") { |
64 | 68 | $this->setName($name); |
65 | 69 | |
@@ -132,7 +136,7 @@ discard block |
||
132 | 136 | * |
133 | 137 | * (see @link MoneyFieldTest_CustomSetter_Object for more information) |
134 | 138 | * |
135 | - * @param DataObjectInterface|Object $dataObject |
|
139 | + * @param DataObjectInterface $dataObject |
|
136 | 140 | */ |
137 | 141 | public function saveInto(DataObjectInterface $dataObject) { |
138 | 142 | $fieldName = $this->getName(); |
@@ -161,6 +165,9 @@ discard block |
||
161 | 165 | return $clone; |
162 | 166 | } |
163 | 167 | |
168 | + /** |
|
169 | + * @param boolean $bool |
|
170 | + */ |
|
164 | 171 | public function setReadonly($bool) { |
165 | 172 | parent::setReadonly($bool); |
166 | 173 |