Logo Search packages:      
Sourcecode: zope-formulator version File versions  Download package

def Formulator::Form::Form::get_fields_in_group (   self,
  group,
  include_disabled = 0 
) [inherited]

Get all fields in a group (in the display order).

Definition at line 228 of file Form.py.

00228                                                             :
        """Get all fields in a group (in the display order).
        """
        result = []
        for field_id in self.groups.get(group, []):
            try:
                field = self.get_field(field_id, include_disabled)
            except FieldDisabledError:
                pass
            else:
                result.append(field)
        return result

    security.declareProtected('View', 'has_field')
    def has_field(self, id, include_disabled):


Generated by  Doxygen 1.6.0   Back to index