Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFPlomino-1.18.6/Products/CMFPlomino/PlominoDesignManager.py   Products.CMFPlomino(Download)
 
        #declare all indexed fields
        for f_obj in self.getForms():
            for f in f_obj.getFormFields():
                if f.getToBeIndexed():
            if not designelements:
                designelements = (
                        [o.id for o in self.getForms()] +
                        [o.id for o in self.getViews()] +
                        [o.id for o in self.getAgents()] +
    def getFormsList(self):
        """ Return the database forms ids in a string
        """
        forms = self.getForms()
        ids = [f.id for f in forms]
        if not designelements:
            designelements = (
                    [o.id for o in self.getForms()] +
                    [o.id for o in self.getViews()] +
                    [o.id for o in self.getAgents()] +
 
        if elementids is None:
            elements = (self.getForms()
                    + self.getViews()
                    + self.getAgents()

src/p/l/Plomino-HEAD/Products/CMFPlomino/PlominoDesignManager.py   Plomino(Download)
 
        #declare all indexed fields
        for f_obj in self.getForms():
            for f in f_obj.getFormFields():
                if f.getToBeIndexed():
            if not designelements:
                designelements = (
                        [o.id for o in self.getForms()] +
                        [o.id for o in self.getViews()] +
                        [o.id for o in self.getAgents()] +
    def getFormsList(self):
        """ Return the database forms ids in a string
        """
        forms = self.getForms()
        ids = [f.id for f in forms]
        if not designelements:
            designelements = (
                    [o.id for o in self.getForms()] +
                    [o.id for o in self.getViews()] +
                    [o.id for o in self.getAgents()] +
 
        if elementids is None:
            elements = (self.getForms()
                    + self.getViews()
                    + self.getAgents()