| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function getValue($index){ |
||
| 16 | $result=parent::getValue($index); |
||
| 17 | if($result instanceof HtmlFormField){ |
||
| 18 | $lbl=new HtmlSemDoubleElement("lbl-".$this->widgetIdentifier."-".$index,"label","",$this->getCaption($index)); |
||
| 19 | $lbl->setProperty("for", $result->getDataField()->getIdentifier()); |
||
| 20 | $this->captions[$index]=$lbl; |
||
| 21 | } |
||
| 22 | return $result; |
||
| 23 | } |
||
| 24 | } |