Trees | Index | Help |
|
---|
Package Products :: Package PageTemplates :: Module PageTemplate :: Class PageTemplate |
|
object
--+ |Base
--+ | PageTemplate
ZopePageTemplate
Method Summary | |
---|---|
__call__(self,
*args,
**kwargs)
| |
html(self)
| |
pt_edit(self,
text,
content_type)
| |
pt_errors(self)
| |
pt_getContext(self)
| |
pt_macros(self)
| |
Render this Page Template | |
pt_source_file(self)
| |
pt_warnings(self)
| |
read(self)
| |
StringIO(self)
| |
write(self,
text)
| |
Compile the TAL and METAL statments. | |
_cook_check(self)
| |
Inherited from Base :
__getattribute__ ,
__getnewargs__ ,
__getstate__ ,
__new__ ,
__reduce__ ,
__setstate__
Inherited from object :
__init__ ,
__delattr__ ,
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
str |
content_type = 'text/html'
|
int |
expand = 0 |
str |
id = '(unknown)'
|
ComputedAttribute |
macros = <ComputedAttribute object at 0x42600>
|
str |
_error_start = '<!-- Page Template Diagnostics'
|
str |
_text = ''
|
int |
_v_cooked = 0 |
tuple |
_v_errors = ()
|
NoneType |
_v_macros = None |
NoneType |
_v_program = None |
tuple |
_v_warnings = ()
|
Method Details |
---|
pt_render(self, source=0, extra_context={})Render this Page Template |
_cook(self)Compile the TAL and METAL statments. Cooking must not fail due to compilation errors in templates. |
Class Variable Details |
---|
content_type
|
expand
|
id
|
macros
|
_error_start
|
_text
|
_v_cooked
|
_v_errors
|
_v_macros
|
_v_program
|
_v_warnings
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 | http://epydoc.sf.net |