Trees | Index | Help |
|
---|
Package DocumentTemplate :: Module cDocumentTemplate :: Class TemplateDict |
|
object
--+ |Base
--+ | TemplateDict
Method Summary | |
---|---|
__init__() -- Create a new empty multi-mapping | |
x.__call__(...) <==> x(...) | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__getitem__(y) <==> x[y] | |
x.__len__() <==> len(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__setattr__('name', value) <==> x.name = value | |
Normally, callable objects that can be called without arguments are called during retrieval. | |
has_key(key) -- Test whether the mapping has the given key | |
Create a tuple consisting of a single instance whose attributes are provided as keyword arguments. | |
Render an object in the way done by the 'name' attribute | |
Return a boolean value indicating if this context was called by an executable | |
Check whether the security context allows the given permission on the given object. | |
Gen the current authenticated user | |
Validate access. | |
_pop() -- Remove and return the last data source added | |
_push(mapping_object) -- Add a data source | |
Inherited from Base :
__getnewargs__ ,
__getstate__ ,
__reduce__ ,
__setstate__
Inherited from object :
__hash__ ,
__reduce_ex__ ,
__repr__ ,
__str__
|
Class Variable Summary | |
---|---|
int |
__allow_access_to_unprotected_subobjects__ = 1 |
NotBindable |
apply = <DocumentTemplate.DT_Util.NotBindable instance a...
|
classobj |
ArithmeticError = exceptions.ArithmeticError |
classobj |
AssertionError = exceptions.AssertionError |
classobj |
AttributeError = exceptions.AttributeError |
type |
basestring = __builtin__.basestring |
type |
bool = __builtin__.bool |
type |
complex = __builtin__.complex |
classobj |
DateTime = DateTime.DateTime.DateTime |
NotBindable |
delattr = <DocumentTemplate.DT_Util.NotBindable instance...
|
classobj |
DeprecationWarning = exceptions.DeprecationWarning |
GuardedDictType |
dict = <AccessControl.ZopeGuards.GuardedDictType instanc...
|
NotBindable |
enumerate = <DocumentTemplate.DT_Util.NotBindable instan...
|
classobj |
EnvironmentError = exceptions.EnvironmentError |
classobj |
EOFError = exceptions.EOFError |
classobj |
Exception = exceptions.Exception |
bool |
False = False
|
NotBindable |
filter = <DocumentTemplate.DT_Util.NotBindable instance ...
|
type |
float = __builtin__.float |
classobj |
FloatingPointError = exceptions.FloatingPointError |
classobj |
FutureWarning = exceptions.FutureWarning |
NotBindable |
hasattr = <DocumentTemplate.DT_Util.NotBindable instance...
|
classobj |
ImportError = exceptions.ImportError |
classobj |
IndentationError = exceptions.IndentationError |
classobj |
IndexError = exceptions.IndexError |
type |
int = __builtin__.int |
classobj |
IOError = exceptions.IOError |
NotBindable |
iter = <DocumentTemplate.DT_Util.NotBindable instance at...
|
classobj |
KeyboardInterrupt = exceptions.KeyboardInterrupt |
classobj |
KeyError = exceptions.KeyError |
GuardedListType |
list = <AccessControl.ZopeGuards.GuardedListType instanc...
|
type |
long = __builtin__.long |
classobj |
LookupError = exceptions.LookupError |
NotBindable |
map = <DocumentTemplate.DT_Util.NotBindable instance at ...
|
NotBindable |
max = <DocumentTemplate.DT_Util.NotBindable instance at ...
|
classobj |
MemoryError = exceptions.MemoryError |
NotBindable |
min = <DocumentTemplate.DT_Util.NotBindable instance at ...
|
classobj |
NameError = exceptions.NameError |
NoneType |
None = None |
classobj |
NotImplementedError = exceptions.NotImplementedError |
classobj |
OSError = exceptions.OSError |
classobj |
OverflowError = exceptions.OverflowError |
classobj |
OverflowWarning = exceptions.OverflowWarning |
classobj |
PendingDeprecationWarning = exceptions.PendingDeprecationWarning |
NotBindable |
reduce = <DocumentTemplate.DT_Util.NotBindable instance ...
|
classobj |
ReferenceError = exceptions.ReferenceError |
NotBindable |
reorder = <DocumentTemplate.DT_Util.NotBindable instance...
|
classobj |
RuntimeError = exceptions.RuntimeError |
classobj |
RuntimeWarning = exceptions.RuntimeWarning |
NotBindable |
same_type = <DocumentTemplate.DT_Util.NotBindable instan...
|
NotBindable |
setattr = <DocumentTemplate.DT_Util.NotBindable instance...
|
classobj |
StandardError = exceptions.StandardError |
classobj |
StopIteration = exceptions.StopIteration |
type |
str = __builtin__.str |
NotBindable |
sum = <DocumentTemplate.DT_Util.NotBindable instance at ...
|
classobj |
SyntaxError = exceptions.SyntaxError |
classobj |
SyntaxWarning = exceptions.SyntaxWarning |
classobj |
SystemError = exceptions.SystemError |
classobj |
SystemExit = exceptions.SystemExit |
classobj |
TabError = exceptions.TabError |
NotBindable |
test = <DocumentTemplate.DT_Util.NotBindable instance at...
|
bool |
True = True
|
type |
tuple = __builtin__.tuple |
classobj |
TypeError = exceptions.TypeError |
classobj |
UnboundLocalError = exceptions.UnboundLocalError |
type |
unicode = __builtin__.unicode |
classobj |
UnicodeDecodeError = exceptions.UnicodeDecodeError |
classobj |
UnicodeEncodeError = exceptions.UnicodeEncodeError |
classobj |
UnicodeError = exceptions.UnicodeError |
classobj |
UnicodeTranslateError = exceptions.UnicodeTranslateError |
classobj |
UserWarning = exceptions.UserWarning |
classobj |
ValueError = exceptions.ValueError |
classobj |
Warning = exceptions.Warning |
type |
xrange = __builtin__.xrange |
classobj |
ZeroDivisionError = exceptions.ZeroDivisionError |
Method Details |
---|
__init__()
__init__() -- Create a new empty multi-mapping
|
__call__(x,
...)
x.__call__(...) <==> x(...)
|
__delattr__(...)x.__delattr__('name') <==> del x.name
|
__getattribute__(...)x.__getattribute__('name') <==> x.name
|
__getitem__(x,
y)
x.__getitem__(y) <==> x[y]
|
__len__(x)
x.__len__() <==> len(x)
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__setattr__(...)x.__setattr__('name', value) <==> x.name = value
|
getitem(key, call=...)Normally, callable objects that can be called without arguments are called during retrieval. This can be suppressed by providing a second argument that is false. |
has_key(key)has_key(key) -- Test whether the mapping has the given key |
namespace(self, **kw)Create a tuple consisting of a single instance whose attributes are provided as keyword arguments. |
render(self, v)Render an object in the way done by the 'name' attribute |
SecurityCalledByExecutable(md)Return a boolean value indicating if this context was called by an executable |
SecurityCheckPermission(md, permission, object)Check whether the security context allows the given permission on the given object. Arguments: permission -- A permission name object -- The object being accessed according to the permission |
SecurityGetUser(md)Gen the current authenticated user |
SecurityValidate(md, inst, parent, name, value)Validate access. Arguments: accessed -- the object that was being accessed container -- the object the value was found in name -- The name used to access the value value -- The value retrieved though the access. The arguments may be provided as keyword arguments. Some of these arguments may be ommitted, however, the policy may reject access in some cases when arguments are ommitted. It is best to provide all the values possible. |
_pop()_pop() -- Remove and return the last data source added |
_push(mapping_object)_push(mapping_object) -- Add a data source |
Class Variable Details |
---|
__allow_access_to_unprotected_subobjects__
|
apply
|
delattr
|
dict
|
enumerate
|
False
|
filter
|
hasattr
|
iter
|
list
|
map
|
max
|
min
|
None
|
reduce
|
reorder
|
same_type
|
setattr
|
sum
|
test
|
True
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 | http://epydoc.sf.net |