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

All Samples(10)  |  Call(0)  |  Derive(5)  |  Import(5)
C version of RestrictedDTML.

src/p/r/Products.FileSystemSite-2.4/Products/FileSystemSite/FSDTMLMethod.py   Products.FileSystemSite(Download)
from App.class_init import InitializeClass
from AccessControl import ClassSecurityInfo, getSecurityManager
from AccessControl.DTML import RestrictedDTML
from AccessControl.Role import RoleManager
from OFS.Cache import Cacheable
class FSDTMLMethod(RestrictedDTML, RoleManager, FSObject, HTML):
    """FSDTMLMethods act like DTML methods but are not directly
    modifiable from the management interface."""
 
    meta_type = 'Filesystem DTML Method'

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/FSDTMLMethod.py   Products.CMFCore(Download)
    from DocumentTemplate.security import RestrictedDTML
except ImportError:
    from AccessControl.DTML import RestrictedDTML
 
_marker = object()
 
 
class FSDTMLMethod(RestrictedDTML, RoleManager, FSObject, HTML):

src/p/r/Products.ZSQLMethods-2.13.4/src/Shared/DC/ZRDB/DA.py   Products.ZSQLMethods(Download)
    from DocumentTemplate.security import RestrictedDTML
except ImportError:
    from AccessControl.DTML import RestrictedDTML
 
# BBB Zope 2.12
class SQL(RestrictedDTML, Base, nvSQL):
    # Validating SQL template for Zope SQL Methods.
    pass
 
 

src/e/r/erp5-HEAD/product/ZSQLCatalog/ZSQLCatalog.py   erp5(Download)
  from DocumentTemplate.security import RestrictedDTML
except ImportError: # BBB Zope-2.12
  from AccessControl.DTML import RestrictedDTML
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Cache import clearCache
class td(RestrictedDTML, TemplateDict):
  pass
 
def expr_match(ob, ed, c=InstanceDict, r=0):
  e, md, push, pop=ed

src/e/r/erp5-HEAD/product/ZLDAPMethods/LM.py   erp5(Download)
  from DocumentTemplate.security import RestrictedDTML
except ImportError: # BBB Zope-2.12
  from AccessControl.DTML import RestrictedDTML
try:
    from AccessControl import getSecurityManager
class Ldif(RestrictedDTML, ExtensionClass.Base, nvLDIF):
    pass
 
def LDAPConnectionIDs(self):
    """find LDAP connections in the current folder and parents