App :: special_dtml :: DTMLFile :: Class DTMLFile
[hide private]
[frames] | no frames]

Class DTMLFile



          Shared.DC.Scripts.Bindings.Bindings --+
                                                |
                               object --+       |
                                        |       |
                      ExtensionClass.Base --+   |
                                            |   |
                          ??.ExplicitAcquirer --+
                                                |
 DocumentTemplate.DT_String.FileMixin --+       |
                                        |       |
DocumentTemplate.DT_String.String --+   |       |
                                    |   |       |
        DocumentTemplate.DT_HTML.HTML --+       |
                                        |       |
        DocumentTemplate.DT_HTML.HTMLFile --+   |
                                            |   |
                           object --+       |   |
                                    |       |   |
                  ExtensionClass.Base --+   |   |
                                        |   |   |
                                ??.Method --+   |
                                            |   |
                              ClassicHTMLFile --+
                                                |
                                               DTMLFile

HTMLFile with bindings and support for __render_with_namespace__

Nested Classes [hide private]
  _Bindings_ns_class
TemplateDict -- Combine multiple mapping objects for lookup
Instance Methods [hide private]
 
__init__(self, name, _prefix=None, **kw)
Create a document template based on a named file.
 
_exec(self, bound_data, args, kw)
 
_setFuncSignature(self, defaults=None, varnames=(), argcount=-1)
 
getOwner(self, info=0)
This method is required of all objects that go into the security context stack.

Inherited from Shared.DC.Scripts.Bindings.Bindings: ZBindings_edit, ZBindings_setClient, __before_publishing_traverse__, __call__, __providedBy__, __render_with_namespace__, getBindingAssignments, render

Inherited from Shared.DC.Scripts.Bindings.Bindings (private): _bindAndExec, _createBindCode, _editedBindings, _getBindCount, _getContainer, _getContext, _getNamespace, _getTraverseSubpath, _prepareBindCode, _setupBindings

Inherited from unreachable.ExplicitAcquirer: __new__, __of__

Inherited from ClassicHTMLFile (private): _cook_check, _setName

Inherited from DocumentTemplate.DT_HTML.HTMLFile: manage, manage_default, manage_edit, manage_editDocument, manage_editForm

Inherited from DocumentTemplate.DT_String.FileMixin: read_raw

Inherited from DocumentTemplate.DT_HTML.HTML: SubTemplate, __str__, errQuote, management_interface, parseTag, quotedHTML, tagre, varExtra

Inherited from DocumentTemplate.DT_String.String: ZDocumentTemplate_afterRender, ZDocumentTemplate_beforeRender, __getstate__, cook, default, id, initvars, munge, name, parse, parse_block, parse_close, parse_error, read, setName, skip_eol, var

Inherited from DocumentTemplate.DT_String.String (private): _parseTag

Inherited from ExtensionClass.Base: __getattribute__, __getnewargs__, __reduce__, __setstate__

Inherited from object: __delattr__, __hash__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  _Bindings_client = 'container'
  func_code = None
  func_defaults = None

Inherited from Shared.DC.Scripts.Bindings.Bindings: __ac_permissions__, __implemented__, __provides__

Inherited from ClassicHTMLFile: _need__name__

Inherited from ClassicHTMLFile (private): _v_last_read

Inherited from DocumentTemplate.DT_String.FileMixin: edited_source

Inherited from DocumentTemplate.DT_String.String: commands, guarded_getattr, guarded_getitem, isDocTemp, shared_globals

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, _prefix=None, **kw)
(Constructor)

 

Create a document template based on a named file.

The optional parameter, 'mapping', may be used to provide a mapping object containing defaults for values to be inserted.
Overrides: ClassicHTMLFile.__init__