[Zope] Pluggable Brains

Montagne, Michael montagne@BOORA.com
Tue, 7 Aug 2001 12:42:38 -0700


Thank you my friend.  It works now.

-mjm

-----Original Message-----
From: J. Cone [mailto:jcone@g8labs.com]
Sent: Tuesday, August 07, 2001 12:08 PM
To: Montagne, Michael; 'zope@zope.org'
Subject: Re: [Zope] Pluggable Brains


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>