/** * @author Jeff Ober * @param string $label the field's text label * @param array $validators a list of callbacks to validate the field data * @param array $attributes a list of key/value pairs representing HTML attributes **/ public function __construct($label, array $validators = array(), array $attributes = array()) { parent::__construct($label, $validators, $attributes); parent::set_value('on'); $this->checked = false; }