what does _. mean?
Thisis really basic, but in dtml that begins with _., such as _.SecurityGetUser, what does the _. represent? -- Bryan C. Andregg Duke University Medical Center Programmer Dept. of Anesthesiology e <bryan.andregg@duke.edu> p +1 919 684 6201
The underscore defines the "under namespace". See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvDTML.stx "DTML Namespace Utility Functions" for a detailed description. -aj ----- Original Message ----- From: "Bryan C. Andregg" <bryan.andregg@duke.edu> To: <zope@zope.org> Sent: Thursday, August 22, 2002 19:53 Subject: [Zope] what does _. mean?
On Thu, Aug 22, 2002 at 08:00:19PM +0200, Andreas Jung mailed:
The underscore defines the "under namespace". See http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvDTML.stx "DTML Namespace Utility Functions" for a detailed description.
-aj
ok, so in the case of an expression like, _['id'].threadMessageCount() The DTML namespace has a dictionary, and threadMessageCount() is a method called on the value for the key 'id'(?). Is this translateable AT ALL to ZPT? -- Bryan C. Andregg Duke University Medical Center Programmer Dept. of Anesthesiology e <bryan.andregg@duke.edu> p +1 919 684 6201
participants (2)
-
Andreas Jung -
Bryan C. Andregg