/** * @param string $label * @param string $name */ public function __construct($label, $name = '') { if (!empty($name)) { $name .= '[]'; } parent::__construct($label, $name); }
/** * @param string $label * @param string $name * @param string $config */ public function __construct($label, $name, $config = 'basic') { parent::__construct($label, $name); $this->config = $config; }
/** * @param string $label * @param string $html */ public function __construct($label, $html) { parent::__construct($label); $this->html = $html; }
/** * @param string $label * @param string $name */ public function __construct($label, $name) { parent::__construct($label, $name); }
/** * @param string $label * @param string $name * @param string $title */ public function __construct($label, $name = '', $title = '') { parent::__construct($label, $name); $this->title = $title; }