| Conditions | 3 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function __construct($identifier, $label=NULL,$type="text",$value=NULL,$placeholder=NULL) { |
||
| 13 | if(!isset($placeholder) && $type==="text") |
||
| 14 | $placeholder=$label; |
||
| 15 | parent::__construct("field-".$identifier, new HtmlInput($identifier,$type,$value,$placeholder), $label); |
||
| 16 | } |
||
| 17 | |||
| 24 | } |