/** * */ function __construct() { parent::__construct(); $this->setType("submit"); $this->setAttribute("value", __('btn.submit')); $this->setAttribute("name", "submit"); }
/** * */ function __construct() { parent::__construct(); $this->setType("submit"); $this->setAttribute("name", "save"); $this->setValue("Save"); }
/** * */ function __construct() { parent::__construct(); $this->setType("password"); $this->setAttribute('autocomplete', 'off'); $this->readonly(); $this->setAttribute('onfocus', "if (this.hasAttribute('readonly')) { this.removeAttribute('readonly'); this.blur(); this.focus(); }"); }
/** * */ function __construct() { parent::__construct(); $this->setType("hidden"); }
/** * */ function __construct() { parent::__construct(); $this->setType('text'); $this->addClass('date'); }
/** * */ function __construct() { parent::__construct(); $this->setType("text"); }
/** * */ function __construct() { parent::__construct(); $this->setType("email"); }
/** * */ function __construct() { parent::__construct(); $this->addClass('datetime'); }
/** * */ function __construct() { parent::__construct(); $this->setType("radio"); }
/** * */ function __construct() { parent::__construct(); $this->setType("checkbox"); $this->setValue(1); }
/** * */ function __construct() { parent::__construct(); $this->setType("reset"); $this->setAttribute("value", "Cancel"); }
/** * */ function __construct() { parent::__construct(); $this->addClass("time"); }
/** * */ public function __construct() { parent::__construct(); $this->setType("number"); }