Package Modeling :: Package ModelMasons :: Package Python_bricks :: Module init_base :: Class init_base
[show private | hide private]
[frames | no frames]

Type init_base

 object --+            
          |            
BaseServlet --+        
              |        
        Servlet --+    
                  |    
           Template --+
                      |
                     init_base


Method Summary
  __init__(self, *args, **KWs)
  __str__(self)
  respond(self, trans)
    Inherited from Template
  compile(klass, source, file, returnAClass, compilerSettings, compilerClass, moduleName, className, mainMethodName, baseclass, moduleGlobals, cacheCompilationResults, useCache, preprocessors, cacheModuleFilesForTracebacks, cacheDirForModuleFiles, keepRefToGeneratedCode)
The core API for compiling Cheetah source code into template classes. (Class method)
  errorCatcher(self)
Return a reference to the current errorCatcher
  generatedClassCode(self)
Return the class code the compiler generated, or None if no compilation took place.
  generatedModuleCode(self)
Return the module code the compiler generated, or None if no compilation took place.
  getCacheRegion(self, regionID, cacheInfo, create)
  getCacheRegions(self)
Returns a dictionary of the 'cache regions' initialized in a template.
  getFileContents(self, path)
A hook for getting the contents of a file.
  getVar(self, varName, default, autoCall)
Get a variable from the searchList.
  hasVar(self, varName, autoCall)
Test if a variable name exists in the searchList.
  i18n(self, message, plural, n, id, domain, source, target, comment)
This is just a stub at this time.
  refreshCache(self, cacheRegionId, cacheItemId)
Refresh a cache region or a specific cache item within a region.
  runAsMainProgram(self)
Allows the Template to function as a standalone command-line program for static page generation.
  searchList(self)
Return a reference to the searchlist
  shutdown(self)
Break reference cycles before discarding a servlet.
  subclass(klass, *args, **kws)
template that is a subclass of the template this method is called from. (Class method)
  varExists(self, varName, autoCall)
Test if a variable name exists in the searchList.
  webInput(self, names, namesMulti, default, src, defaultInt, defaultFloat, badInt, badFloat, debug)
Method for importing web transaction variables in bulk.
  _addCheetahPlumbingCodeToClass(klass, concreteTemplateClass)
If concreteTemplateClass is not a subclass of Cheetah.Template, add the required cheetah methods and attributes to it. (Class method)
  _compile(self, source, file, compilerSettings, moduleName, mainMethodName)
Compile the template.
  _createCacheRegion(self, regionID)
  _getCacheStore(self)
  _getCacheStoreIdPrefix(self)
  _getCompilerClass(klass, source, file)
(Class method)
  _getCompilerSettings(klass, source, file)
(Class method)
  _getTemplateAPIClassForIncludeDirectiveCompilation(self, source, file)
Returns the subclass of Template which should be used to compile #include directives.
  _handleCheetahInclude(self, srcArg, trans, includeFrom, raw)
Called at runtime to handle #include directives.
  _initCheetahInstance(self, searchList, namespaces, filter, filtersLib, errorCatcher, _globalSetVars, _preBuiltSearchList)
Sets up the instance attributes that cheetah templates use at run-time.
  _normalizePreprocessorArg(klass, arg)
Used to convert the items in the .compile() classmethod's preprocessors argument into real source preprocessors. (Class method)
  _normalizePreprocessorSettings(klass, settings)
(Class method)
  _preprocessSource(klass, source, file, preprocessors)
Iterates through the .compile() classmethod's preprocessors argument and pipes the source code through each each preprocessor. (Class method)
  _updateSettingsWithPreprocessTokens(klass, compilerSettings, placeholderToken, directiveToken)
(Class method)
    Inherited from Servlet
  awake(self, transaction)
  serverSidePath(self, path, normpath, abspath)
  sleep(self, transaction)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
bool _CHEETAH__instanceInitialized = False
float _CHEETAH_genTime = 1141052468.2583959                                                    
str _CHEETAH_genTimestamp = 'Mon Feb 27 16:01:08 2006'
str _CHEETAH_src = 'Modeling/ModelMasons/Python_bricks/init_...
str _CHEETAH_srcLastModified = 'Sat Feb 25 17:31:14 2006'
str _CHEETAH_version = '2.0rc6'
tuple _CHEETAH_versionTuple = (2, 0, 0, 'candidate', 6)
str _mainCheetahMethod_for_init_base = 'respond'
    Inherited from Template
bool _CHEETAH_cacheCompilationResults = True
NoneType _CHEETAH_cacheDirForModuleFiles = None                                                                  
bool _CHEETAH_cacheModuleFilesForTracebacks = False
NoneType _CHEETAH_cacheStore = None                                                                  
NoneType _CHEETAH_cacheStoreIdPrefix = None                                                                  
dict _CHEETAH_compileCache = {}
lock _CHEETAH_compileLock = <thread.lock object at 0xb7e5a540...
NoneType _CHEETAH_compilerSettings = None                                                                  
NoneType _CHEETAH_defaultBaseclassForTemplates = None                                                                  
NoneType _CHEETAH_defaultClassNameForTemplates = None                                                                  
NoneType _CHEETAH_defaultMainMethodName = None                                                                  
NoneType _CHEETAH_defaultMainMethodNameForTemplates = None                                                                  
NoneType _CHEETAH_defaultModuleGlobalsForTemplates = None                                                                  
str _CHEETAH_defaultModuleNameForTemplates = 'DynamicallyCom...
NoneType _CHEETAH_generatedModuleCode = None                                                                  
bool _CHEETAH_keepRefToGeneratedCode = True
NoneType _CHEETAH_preprocessors = None                                                                  
tuple _CHEETAH_requiredCheetahClassAttributes = ('cacheRegionC...
tuple _CHEETAH_requiredCheetahClassMethods = ('subclass',)
tuple _CHEETAH_requiredCheetahMethods = ('_initCheetahInstance...
bool _CHEETAH_useCompilationCache = True
    Inherited from Servlet
NoneType application = None                                                                  
NoneType request = None                                                                  
NoneType session = None                                                                  
NoneType transaction = None                                                                  
    Inherited from BaseServlet
int _reusable = 1                                                                     
int _threadSafe = 0                                                                     

Class Variable Details

_CHEETAH__instanceInitialized

Type:
bool
Value:
False                                                                  

_CHEETAH_genTime

Type:
float
Value:
1141052468.2583959                                                    

_CHEETAH_genTimestamp

Type:
str
Value:
'Mon Feb 27 16:01:08 2006'                                             

_CHEETAH_src

Type:
str
Value:
'Modeling/ModelMasons/Python_bricks/init_base.tmpl'                    

_CHEETAH_srcLastModified

Type:
str
Value:
'Sat Feb 25 17:31:14 2006'                                             

_CHEETAH_version

Type:
str
Value:
'2.0rc6'                                                               

_CHEETAH_versionTuple

Type:
tuple
Value:
(2, 0, 0, 'candidate', 6)                                              

_mainCheetahMethod_for_init_base

Type:
str
Value:
'respond'                                                              

Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 http://epydoc.sf.net