Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function __construct($identifier, $name=NULL,$label=NULL,$value=NULL,$type=NULL) { |
||
16 | $input=new HtmlFormInput($identifier,$label,"checkbox",$value); |
||
17 | parent::__construct("rField-".$identifier, $input); |
||
18 | if(isset($label)){ |
||
19 | $input->swapLabel(); |
||
20 | $label=$input->getLabel(); |
||
21 | $label->setClass="hidden"; |
||
22 | $label->setProperty("tabindex",0); |
||
23 | } |
||
24 | $this->_input=$input; |
||
25 | $input->getField()->addToProperty("class","hidden"); |
||
26 | } |
||
27 | |||
46 | } |