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

def Formulator::Form::ZMIForm::get_largest_group_length (   self  ) 

Get the largest group length available; necessary for
'order' screen user interface.

Definition at line 891 of file Form.py.

00891                                       :
        """Get the largest group length available; necessary for
        'order' screen user interface.
        """
        max = 0
        for group in self.get_groups(include_empty=1):
            fields = self.get_fields_in_group(group)
            if len(fields) > max:
                max = len(fields)
        return max

    security.declareProtected('Change Formulator Forms',
                              'manage_move_field_up')


Generated by  Doxygen 1.6.0   Back to index