def get_all_conditions(self):
    '\n        Returns a generator which yields groups of lists of conditions.\n\n        >>> for set_id, label, field in operator.get_all_conditions(): #doctest: +SKIP\n        >>>     print "%(label)s: %(field)s" % (label, field.label) #doctest: +SKIP\n        '
    cs = self.get_condition_sets()
    for condition_set in sorted(cs, key=(lambda x: x.get_group_label())):
        group = unicode(condition_set.get_group_label())
        for field in condition_set.fields.itervalues():
            (yield (condition_set.get_id(), group, field))
Returns a generator which yields groups of lists of conditions.

>>> for set_id, label, field in operator.get_all_conditions(): #doctest: +SKIP
>>>     print "%(label)s: %(field)s" % (label, field.label) #doctest: +SKIP
def get_all_conditions(self):
    '\n        Returns a generator which yields groups of lists of conditions.\n\n        >>> for set_id, label, field in operator.get_all_conditions(): #doctest: +SKIP\n        >>>     print "%(label)s: %(field)s" % (label, field.label) #doctest: +SKIP\n        '
    cs = self.get_condition_sets()
    for condition_set in sorted(cs, key=(lambda x: x.get_group_label())):
        group = unicode(condition_set.get_group_label())
        for field in condition_set.fields.itervalues():
            (yield (condition_set.get_id(), group, field))