Package cubicweb :: Package ext :: Module tal
[hide private]
[frames] | no frames]

Module tal

source code

provides simpleTAL extensions for CubicWeb
Classes [hide private]
  LoggerAdapter
  CubicWebContext
add facilities to access entity / resultset
  CubicWebTemplateCompiler
extends default compiler by adding i18n:content commands
  CubicWebTemplateInterpreter
provides implementation for interpreting cubicweb extensions
  CubicWebTemplate
overrides HTMLTemplate.expand() to systematically use CubicWebInterpreter
  talbased
Functions [hide private]
 
compile_template(template)
compiles a TAL template string :type template: unicode :param template: a TAL-compliant template string
source code
 
compile_template_file(filepath)
compiles a TAL template file :type filepath: str :param template: path of the file to compile
source code
 
evaluatePython(self, expr) source code
Variables [hide private]
  LOGGER = getLogger('cubicweb.tal')
  I18N_CONTENT = 18
  I18N_REPLACE = 19
  RQL_EXECUTE = 20
  TAL_ITER = 3.1