[Zope] Pluggable Brains
J. Cone
jcone@g8labs.com
Tue, 07 Aug 2001 20:08:05 +0100
Suggest you try:
python Employee.py
in the extensions directory and see if you get better information cheaper.
At 11:54 07/08/01 -0700, Montagne, Michael wrote:
>I'm trying to create a Pluggable Brain so I can incorporate various
>functions involving employees from my ZSQL Method.
>
<snip>
>This is the Employee.py file in the Extensions folder:
>"""Employee class for extra innformation"""
>class Employee:
> def fullName(self):
> """Returns full name for employee using nickname if any"""
> if self.nickname:
> return self.nickname + ' ' + self.emplastn
> else:
> return self.empfirstn + ' ' + self.emplastn
<snip>