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