Beispiel #1
0
 /**
  * Loads HTTP data.
  * @param  array
  * @return void
  */
 public function loadHttpData($data)
 {
     parent::loadHttpData($data);
     if ($this->control->type === 'password') {
         $this->tmpValue = '';
     }
     if ($this->control->maxlength && iconv_strlen($this->value, 'UTF-8') > $this->control->maxlength) {
         $this->value = iconv_substr($this->value, 0, $this->control->maxlength, 'UTF-8');
     }
 }