function fillAttributes() { parent::fillAttributes(); if (isset($this->attributes['multiple'])) { $this->setAttribute('name', $this->name . '[]'); } }
function fillAttributes() { parent::fillAttributes(); $this->setAttribute('type', 'checkbox'); if ($this->getEffectiveValue()) { $this->setAttribute('checked', 'checked'); } }
function fillAttributes() { parent::fillAttributes(); $this->setAttribute('type', 'text'); $this->setAttribute('value', $this->getEffectiveValue()); if (isset($this->maxLength) && $this->maxLength > 0) { $this->setAttribute('maxlength', $this->maxLength); } }
function fillAttributes() { parent::fillAttributes(); $this->setAttribute('type', 'file'); }