Modified:
branches/FreeForm/Solar/Form/Element.php
Log:
[FIX] Added setValue(), which is called from Solar_Form and was missing
here.
Modified: branches/FreeForm/Solar/Form/Element.php
==============================================================================
--- branches/FreeForm/Solar/Form/Element.php (original)
+++ branches/FreeForm/Solar/Form/Element.php Fri Oct 3 12:26:21 2008
@@ -205,7 +205,19 @@
{
$this->_data['descr'] = (string) $descr;
}
-
+
+ /**
+ *
+ * Sets the element value.
+ *
+ * @param mixed $value The element value.
+ *
+ */
+ public function setValue($value)
+ {
+ $this->_data['value'] = $value;
+ }
+
/**
*
* Sets if the element has passed or failed validation.