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