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

All Samples(11)  |  Call(3)  |  Derive(2)  |  Import(6)

src/p/r/Products.CMFPlone-5.0a2/Products/CMFPlone/URLTool.py   Products.CMFPlone(Download)
from Products.CMFCore.URLTool import URLTool as BaseTool
from Products.CMFCore.utils import getToolByName
from AccessControl import ClassSecurityInfo
from App.class_init import InitializeClass
from Products.CMFPlone.PloneBaseTool import PloneBaseTool
class URLTool(PloneBaseTool, BaseTool):
 
    meta_type = 'Plone URL Tool'
    security = ClassSecurityInfo()
    toolicon = 'skins/plone_images/link_icon.png'

src/p/r/Products.CMFPlone-HEAD/Products/CMFPlone/URLTool.py   Products.CMFPlone(Download)
from Products.CMFCore.URLTool import URLTool as BaseTool
from Products.CMFCore.utils import getToolByName
from AccessControl import ClassSecurityInfo
from App.class_init import InitializeClass
from Products.CMFPlone.PloneBaseTool import PloneBaseTool
class URLTool(PloneBaseTool, BaseTool):
 
    meta_type = 'Plone URL Tool'
    security = ClassSecurityInfo()
    toolicon = 'skins/plone_images/link_icon.png'

src/p/r/Products.CMFDefault-2.3.0-beta2/Products/CMFDefault/URLTool.py   Products.CMFDefault(Download)
 
# for URL Tools created with CMF versions before 1.4
from Products.CMFCore.URLTool import URLTool
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_URLTool.py   Products.CMFCore(Download)
    def _makeOne(self, *args, **kw):
        from Products.CMFCore.URLTool import URLTool
 
        url_tool = URLTool(*args, **kw)
        return url_tool.__of__( self.site )
 
    def test_interfaces(self):
        from Products.CMFCore.interfaces import IActionProvider
        from Products.CMFCore.interfaces import IURLTool
        from Products.CMFCore.URLTool import URLTool

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_ActionsTool.py   Products.CMFCore(Download)
from Products.CMFCore.tests.base.testcase import SecurityRequestTest
from Products.CMFCore.tests.base.testcase import WarningInterceptor
from Products.CMFCore.URLTool import URLTool
 
 
        sm.registerUtility(root, ISiteRoot)
        root._setObject( 'portal_actions', self._makeOne() )
        root._setObject( 'portal_url', URLTool() )
        root._setObject( 'foo', URLTool() )
        root._setObject('portal_membership', MembershipTool())