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

def Formulator::Form::Form::get_groups (   self,
  include_empty = 0 
) [inherited]

Get a list of all groups, in display order.

If include_empty is false, suppress groups that do not have
enabled fields.

Definition at line 256 of file Form.py.

00256                                          :
        """Get a list of all groups, in display order.

        If include_empty is false, suppress groups that do not have
        enabled fields.
        """
        if include_empty:
            return self.group_list
        return [group for group in self.group_list
                if self.get_fields_in_group(group)]

    security.declareProtected('View', 'get_form_encoding')
    def get_form_encoding(self):


Generated by  Doxygen 1.6.0   Back to index