_parser->match(Doctrine_Query_Token::T_GROUP); $this->_parser->match(Doctrine_Query_Token::T_BY); $this->GroupByItem(); while ($this->_isNextToken(',')) { $this->_parser->match(','); $this->GroupByItem(); } } }