[tipos commit] r1601 - branches/FreeForm/Solar/Form

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 3, 2008, 3:34:41 PM10/3/08
to tipo...@googlegroups.com
Author: rodrigo.moraes
Date: Fri Oct 3 12:26:21 2008
New Revision: 1601

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.

Reply all
Reply to author
Forward
0 new messages