protected function get() { $a = parent::get(); if ($this->maxlength) { $a->maxlength = $this->maxlength; } return $a; }
protected function get() { $a = parent::get(); if ($this->multiple) { $a->multiple = 'multiple'; } if ($this->item || $this->firstItem !== false) { if ($this->firstItem !== false) { $a->_firstItem = true; $a->_firstCaption = $this->firstItem; } if (isset($this->default) && !isset($this->form->rawValues[$this->name])) { $v =& $this->default; if (!is_array($v)) { if ('' !== $v) { $v = explode(',', $v); $v = array_map('rawurldecode', $v); } else { $v = array(); } } } else { $v =& $this->value; } $a->_option = new loop_pForm_selectOption__($this->item, $v, $this->length); } unset($a->value); return $a; }
protected function get() { $a = parent::get(); unset($a->value); return $a; }