function setElements($elements)
    {
        $this->_elements = array_values($elements);
        if ($this->_flagFrozen) {
            $this->freeze();
        }
    }
function setElements($elements)
    {
        $this->_elements = array_values($elements);
        if ($this->_flagFrozen) {
            $this->freeze();
        }
    }
function setElements ( $ elements ) { $ this -> _elements = array_values ( $ elements ) ; if ( $ this -> _flagFrozen ) { $ this -> freeze ( ) ; } }
Sets the grouped elements

@param     array     $elements   Array of elements
@since     1.1
@access    public
@return    void
Sets the grouped elements