function addPassword($name, $label = NULL, $cols = NULL, $maxLength = NULL) { $control = new NTextInput($label, $cols, $maxLength); $control->setType('password'); return $this[$name] = $control; }
/** * Generovánà HTML elementu * * @access public * * @return Html */ public function getControl() { $control = parent::getControl(); $control->class = 'datetimepicker'; return $control; }