rows = $rows; $this->cols = $cols; parent::__construct($name, $title, $value, $form); } /** * Returns a "; } /** * Performs a readonly transformation on this field. You should still be able * to copy from this field, and it should still send when you submit * the form it's attached to. * The element shouldn't be both disabled and readonly at the same time. */ function performReadonlyTransformation() { $this->readonly = true; $this->disabled = false; return $this; } /** * Performs a disabled transformation on this field. You shouldn't be able to * copy from this field, and it should not send any data when you submit the * form it's attached to. * The element shouldn't be both disabled and readonly at the same time. */ function performDisabledTransformation() { $this->disabled = true; $this->readonly = false; return $this; } } ?>