phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlInputRadio.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Ajax\bootstrap\html;
4 
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 }
Twitter Bootstrap simple Input component.
Definition: HtmlInput.php:13
setLabel($label, $before=true)
Definition: HtmlInput.php:32
__construct($identifier, $label=NULL)
Twitter Bootstrap HTML Input radio component.