Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function __construct($identifier, $label=NULL,$value=NULL) { |
||
10 | parent::__construct($identifier, $label, "checkbox", $value=NULL); |
||
11 | if(isset($label)){ |
||
12 | $this->swapLabel(); |
||
13 | $label=$this->getLabel(); |
||
14 | $label->setClass="hidden"; |
||
15 | $label->setProperty("tabindex",0); |
||
16 | } |
||
17 | $this->setClass("ui checkbox"); |
||
18 | $this->wrap("<div class='field'>","</div>"); |
||
19 | } |
||
20 | } |