class; } function setName($name) { $this->name = $name; } function getName() { return $this->name; } function setFormName($name) { $this->form_name = $name; } function getFormName() { return $this->form_name; } function setValue($value) { $this->value = $value; } function getValue() { return $this->value; } function setValueSafe($value) { $this->value = $value;} function getValueSafe() { return $this->value; } function setId($id) { $this->id = $id; } function getId() { return $this->id; } function setSize($value) { $this->size = $value; } function getSize() { return $this->size; } function setLabel($label) { $this->label = $label; } function getLabel() { return $this->label; } function setMaxLength($value) { $this->max_length = $value; } function getMaxLength() { return $this->max_length; } function setStyle($value) { $this->style = $value; } function getStyle() { return $this->style; } function setEnabled($flag) { $this->enabled = $flag; } function isEnabled() { return $this->enabled; } function setOnChange($str) { $this->on_change = $str; } function setOnClick($str) { $this->on_click = $str; } function setLocalization($i18n) { $this->mI18n = $i18n; } function toStringControl() { return ""; } function toStringLabel() { return ""; } function toArray() { return array( "label"=>$this->toStringLabel(), "control"=>$this->toStringControl() ); } }