* @var array
* @access private
*/
- var $_selectedCarita = null;
+ var $_selected = null;
var $_numRows = 5;
// }}}
// {{{ getName()
+ /**
+ * Sets the element value
+ * @access public
+ * @return string
+ */
+ function setValue($value)
+ {
+ $this->_selected = $value;
+ } //end func getName
+
+ /**
+ * Sets the element value
+ * @access public
+ * @return string
+ */
+ function setSelected($value)
+ {
+ $this->_selected = $value;
+ } //end func getName
+
+ /**
+ * Returns the element value
+ * @access public
+ * @return string
+ */
+ function getValue()
+ {
+ return $this->_selected;
+ } //end func getName
+
+ /**
+ * Returns the element value
+ * @access public
+ * @return string
+ */
+ function getSelected()
+ {
+ return $this->_selected;
+ } //end func getName
+
/**
* Returns the element name
* @access public
// }}}
// {{{ _createNumericOptionList()
- // {{{ setSelectedCarita()
-
- /**
- * Sets the selected carita
- * @param mixed an associative array corresponding to the format you chose
- * for your date or an unix epoch timestamp
- * @access public
- * @return void
- */
- function setSelectedCarita($value)
- {
- $this->_selectedCarita = $value;
- } // end func setSelectedDate
-
- // }}}
// {{{ toHtml()
/**
$strHtml = '';
$i = 1;
foreach ($this->radios as $nombre => $element) {
- if (@$this->_selectedCarita == $nombre) {
+ if (@$this->_selected == $nombre) {
$element->setChecked(true);
}
if ($this->_flagFrozen) {
}
}
if (null !== $value) {
- $this->setSelectedCarita($value);
+ $this->setSelected($value);
}
break;
case 'setGroupValue':
- $this->setSelectedCarita($arg);
+ $this->setSelected($arg);
break;
default:
parent::onQuickFormEvent($event, $arg, $caller);