Package qm :: Package external :: Package DocumentTemplate :: Module DT_String :: Class File
[hide private]
[frames] | no frames]

Class File
source code

FileMixin --+
            |
   String --+
            |
           File

Document templates read from files.

If the object is pickled, the file name, rather than the file contents is pickled. When the object is unpickled, then the file will be re-read to obtain the string. Note that the file will not be read until the document template is used the first time.

Instance Methods [hide private]
  manage_edit(self, data)

Inherited from FileMixin: __init__, read_raw

Inherited from String: SubTemplate, ZDocumentTemplate_afterRender, ZDocumentTemplate_beforeRender, __call__, __getstate__, __str__, cook, default, errQuote, id, initvars, munge, name, parse, parseTag, parse_block, parse_close, parse_error, read, setName, skip_eol, tagre, var, varExtra

Inherited from String (private): _parseTag


Class Variables [hide private]
manage_edit__roles__  

Inherited from FileMixin: edited_source, read_raw__roles__

Inherited from String: SubTemplate__roles__, ZDocumentTemplate_afterRender__roles__, ZDocumentTemplate_beforeRender__roles__, _parseTag__roles__, commands, commands__roles__, cook__roles__, default__roles__, errQuote__roles__, func_code, func_defaults, func_defaults__roles__, initvars__roles__, isDocTemp, munge__roles__, parseTag__roles__, parse__roles__, parse_block__roles__, parse_close__roles__, parse_error__roles__, read__roles__, setName__roles__, shared_globals, shared_globals__roles__, skip_eol__roles__, tagre__roles__, validate, validate__roles__, varExtra__roles__, var__roles__


Method Details [hide private]

manage_edit(self, data)

source code 
Overrides: String.manage_edit

Class Variable Details [hide private]

manage_edit__roles__

Value:
()