Ajax/bootstrap/html/HtmlInputCheckbox.php 1 location
|
@@ 10-20 (lines=11) @@
|
7 |
|
* @author jc |
8 |
|
* @version 1.001 |
9 |
|
*/ |
10 |
|
class HtmlInputCheckbox extends HtmlInput { |
11 |
|
|
12 |
|
public function __construct($identifier, $label=NULL) { |
13 |
|
parent::__construct($identifier); |
14 |
|
$this->setProperty("type", "checkbox"); |
15 |
|
$this->setProperty("class", ""); |
16 |
|
if (isset($label)) { |
17 |
|
$this->setLabel($label, false); |
18 |
|
} |
19 |
|
} |
20 |
|
} |
Ajax/bootstrap/html/HtmlInputRadio.php 1 location
|
@@ 10-20 (lines=11) @@
|
7 |
|
* @author jc |
8 |
|
* @version 1.001 |
9 |
|
*/ |
10 |
|
class HtmlInputRadio extends HtmlInput { |
11 |
|
|
12 |
|
public function __construct($identifier, $label=NULL) { |
13 |
|
parent::__construct($identifier); |
14 |
|
$this->setProperty("type", "radio"); |
15 |
|
$this->setProperty("class", ""); |
16 |
|
if (isset($label)) { |
17 |
|
$this->setLabel($label, false); |
18 |
|
} |
19 |
|
} |
20 |
|
} |