예제 #1
0
 /**
  * RadioButton constructor.
  * @param string $true
  * @param string $false
  */
 public function __construct($true = "Yes", $false = "No")
 {
     parent::__construct([1 => $true, 0 => $false]);
 }
예제 #2
0
 /**
  * 
  * Enter description here ...
  * @param string $name
  * @param int $value
  */
 public function __construct($name, $value = '')
 {
     parent::__construct($name, array('Ja' => 1, 'Nee' => 0), $value);
 }