diff options
author | Stephan Richter <stephan.richter@gmail.com> | 2004-03-23 19:18:17 +0000 |
---|---|---|
committer | Stephan Richter <stephan.richter@gmail.com> | 2004-03-23 19:18:17 +0000 |
commit | 6aa72b43643eab5364b88be12fcd2cc177a0b7cc (patch) | |
tree | af34c8774634623e7a39086ebb8a2e82624db479 /interfaces.py | |
parent | 24a68683cb90144265d2efa6df109348b277d0f6 (diff) | |
download | zope-tal-6aa72b43643eab5364b88be12fcd2cc177a0b7cc.tar.gz |
Added getValue(name, default) to engine.
Diffstat (limited to 'interfaces.py')
-rw-r--r-- | interfaces.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/interfaces.py b/interfaces.py index 62cce46..630740c 100644 --- a/interfaces.py +++ b/interfaces.py @@ -141,6 +141,12 @@ class ITALExpressionEngine(Interface): The variable will be named 'name' and have the value 'value'. """ + def getValue(name, default=None): + """Get a variable by name. + + If the variable does not exist, return default. + """ + def setRepeat(name, compiled_expression): """Start a repetition, returning an ITALIterator. |