Did I find the right examples for you? yes no

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

src/p/r/Products.qPloneDropDownMenu-3.0/Products/qPloneDropDownMenu/setuphandlers.py   Products.qPloneDropDownMenu(Download)
from Products.CMFCore.utils import getToolByName
 
from utils import updateMenu
from config import PROPERTY_SHEET, PROPERTY_FIELD
 
    prop_sheet = getattr(portal_props.aq_base, PROPERTY_SHEET, None)
    if prop_sheet is not None:
        prop_field = getattr(prop_sheet.aq_base, PROPERTY_FIELD, None)
        if prop_field is not None:
            return

src/p/r/Products.qPloneDropDownMenu-3.0/Products/qPloneDropDownMenu/utils.py   Products.qPloneDropDownMenu(Download)
from Products.CMFCore.Expression import Expression, createExprContext
 
from config import PROPERTY_FIELD, PROPERTY_SHEET
 
 
                                      'DropDown Menu Properties')
    ap = getattr(portal_props.aq_base, PROPERTY_SHEET)
    safeEditProperty(ap, PROPERTY_FIELD, value, 'text')
 
def toUnicode(value, enc='utf-8'):