Did I find the right examples for you? yes no

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

src/p/r/Products.qPloneDropDownMenu-3.0/Products/qPloneDropDownMenu/DropDownMenuTool.py   Products.qPloneDropDownMenu(Download)
 
from utils import updateMenu
from config import MANAGE_PERMISSION, PROJECT_NAME, UNIQUE_ID
 
 
    security = ClassSecurityInfo()
 
    security.declareProtected(MANAGE_PERMISSION, 'regenerateMenu')
    def regenerateMenu(self):
        portal = getToolByName(self, 'portal_url').getPortalObject()