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