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

def ATSchemaEditorNG::SchemaEditor::SchemaEditor::atse_getDefaultSchema (   self  ) 

returns the first schema in list 

Definition at line 245 of file SchemaEditor.py.

00245                                    :
        """ returns the first schema in list """
        if self._schemas.items():
            return self._schemas.items()[0][1]

        # XXX urgh
        # change this to use an attr
        return BaseFolderSchema()

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

Generated by  Doxygen 1.6.0   Back to index