Logo Search packages:      
Sourcecode: karrigell version File versions  Download package

Cheetah::Template::Template Class Reference

Inheritance diagram for Cheetah::Template::Template:

Cheetah::SettingsManager::SettingsManager Cheetah::Servlet::Servlet Cheetah::Utils::WebInputMixin::WebInputMixin Cheetah::SettingsManager::_SettingsCollector Cheetah::Templates::_SkeletonPage::_SkeletonPage Cheetah::Tools::CGITemplate::CGITemplate Cheetah::Templates::SkeletonPage::SkeletonPage

List of all members.

Detailed Description

The core template engine.  It serves as a base class for Template
servlets and also knows how to compile a template.

Definition at line 67 of file Template.py.

Public Member Functions

def __init__
def __init__
 init methods
def __init__
def awake
 methods called by Webware during the request-response
def compile
def copySettings
def deepcopySettings
def errorCatcher
def generatedClassCode
def generatedModuleCode
def getConfigString
def getFileContents
def getVar
 utility functions ##
def hasSetting
def normalizePath
def readSettingsFromConfigFile
def readSettingsFromConfigFileObj
def readSettingsFromContainer
def readSettingsFromPySrcFile
def readSettingsFromPySrcStr
def refreshCache
def respond
def runAsMainProgram
def searchList
def serverSidePath
def setSetting
def setting
 core post startup methods
def settings
def shutdown
def sleep
def updateSettings
def updateSettingsFromConfigFile
def updateSettingsFromConfigFileObj
def updateSettingsFromConfigStr
def updateSettingsFromPySrcFile
def updateSettingsFromPySrcStr
 source specific update methods
def varExists
def webInput
def writeConfigFile

Public Attributes


Static Public Attributes

 application = None
 hasVar = varExists
 NonNumericInputError = NonNumericInputError
 readSettingsFromModule = readSettingsFromContainer
 request = None
 session = None
 transaction = None

Private Member Functions

def _bindCompiledMethod
 internal methods -- not to be called by end-users @TR 2005-01-01: note that I plan to get rid of all of this in a future release
def _bindFunctionAsMethod
def _genTmpFilename
def _importAsDummyModule
def _includeCheetahSource

Private Attributes

 Now, compile if we're meant to.
 Verify argument keywords and types.
 setup the errorChecker
 setup the ouput filters
 Setup the searchList of namespaces in which to search for $placeholders + setup a dict of set directive vars - include it in the searchList.
 Setup the indenter.

Static Private Attributes

list _legalKWs = ['_globalSetVars', '_preBuiltSearchList']

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index