/** * @param string label * @param int width of the control * @param int maximum number of characters the user may enter */ public function __construct($label, $from = null, $to = null, $sequence = null, $default = null) { parent::__construct($label); $this->setRange($from, $to, $sequence, $default); }