static function doSelectIterator(Query $q = null) {
		$q = $q ? clone $q : static::getQuery();

		if (!$q->getTable()) {
			$q->setTable(static::getTableName());
		}

		return new QueryModelIterator($q, get_called_class());
	}
static function doSelectIterator(Query $q = null) {
		$q = $q ? clone $q : static::getQuery();

		if (!$q->getTable()) {
			$q->setTable(static::getTableName());
		}

		return new QueryModelIterator($q, get_called_class());
	}
static function doSelectIterator ( Query $ q = null ) { $ q = $ q ? clone $ q : static :: getQuery ( ) ; if ( ! $ q -> getTable ( ) ) { $ q -> setTable ( static :: getTableName ( ) ) ; } return new QueryModelIterator ( $ q , get_called_class ( ) ) ; }
Returns a simple Iterator that wraps PDOStatement for lightweight foreach

@param Query $q
@return QueryModelIterator
Returns a simple Iterator that wraps PDOStatement for lightweight foreach