function getGroupType()
    {
        $this->_createElementsIfNotExist();
        $prevType = '';
        foreach (array_keys($this->_elements) as $key) {
            $type = $this->_elements[$key]->getType();
            if ($type != $prevType && $prevType != '') {
                return 'mixed';
            }
            $prevType = $type;
        }
        return $type;
    }
function getGroupType()
    {
        $this->_createElementsIfNotExist();
        $prevType = '';
        foreach (array_keys($this->_elements) as $key) {
            $type = $this->_elements[$key]->getType();
            if ($type != $prevType && $prevType != '') {
                return 'mixed';
            }
            $prevType = $type;
        }
        return $type;
    }
function getGroupType ( ) { $ this -> _createElementsIfNotExist ( ) ; $ prevType = '' ; foreach ( array_keys ( $ this -> _elements ) as $ key ) { $ type = $ this -> _elements [ $ key ] -> getType ( ) ; if ( $ type != $ prevType && $ prevType != '' ) { return 'mixed' ; } $ prevType = $ type ; } return $ type ; }
Gets the group type based on its elements
Will return 'mixed' if elements contained in the group
are of different types.

@access    public
@return    string    group elements type
Gets the group type based on its elements Will return mixed if elements contained in the group are of different types .