original_string: function getValue()
      {
          $value = null;
          foreach (array_keys($this->_elements) as $key) {
              $element =& $this->_elements[$key];
              switch ($element->getType()) {
                  case 'radio':
                      $v = $element->getChecked()? $element->getValue(): null;
                      break;
                  case 'checkbox':
                      $v = $element->getChecked()? true: null;
                      break;
                  default:
                      $v = $element->getValue();
              }
              if (null !== $v) {
                  $elementName = $element->getName();
                  if (is_null($elementName)) {
                      $value = $v;
                  } else {
                      if (!is_array($value)) {
                          $value = is_null($value)? array(): array($value);
                      }
                      if ('' === $elementName) {
                          $value[] = $v;
                      } else {
                          $value[$elementName] = $v;
                      }
                  }
              }
          }
          return $value;
      }
code: function getValue()
      {
          $value = null;
          foreach (array_keys($this->_elements) as $key) {
              $element =& $this->_elements[$key];
              switch ($element->getType()) {
                  case 'radio':
                      $v = $element->getChecked()? $element->getValue(): null;
                      break;
                  case 'checkbox':
                      $v = $element->getChecked()? true: null;
                      break;
                  default:
                      $v = $element->getValue();
              }
              if (null !== $v) {
                  $elementName = $element->getName();
                  if (is_null($elementName)) {
                      $value = $v;
                  } else {
                      if (!is_array($value)) {
                          $value = is_null($value)? array(): array($value);
                      }
                      if ('' === $elementName) {
                          $value[] = $v;
                      } else {
                          $value[$elementName] = $v;
                      }
                  }
              }
          }
          return $value;
      }
code_tokens: function getValue ( ) { $ value = null ; foreach ( array_keys ( $ this -> _elements ) as $ key ) { $ element = & $ this -> _elements [ $ key ] ; switch ( $ element -> getType ( ) ) { case 'radio' : $ v = $ element -> getChecked ( ) ? $ element -> getValue ( ) : null ; break ; case 'checkbox' : $ v = $ element -> getChecked ( ) ? true : null ; break ; default : $ v = $ element -> getValue ( ) ; } if ( null !== $ v ) { $ elementName = $ element -> getName ( ) ; if ( is_null ( $ elementName ) ) { $ value = $ v ; } else { if ( ! is_array ( $ value ) ) { $ value = is_null ( $ value ) ? array ( ) : array ( $ value ) ; } if ( '' === $ elementName ) { $ value [ ] = $ v ; } else { $ value [ $ elementName ] = $ v ; } } } } return $ value ; }
docstring: Returns the value of the group
  
  @since     1.0
  @access    public
  @return    mixed
docstring_tokens: Returns the value of the group