Re: TEMP fields behaviour

[prev] [thread] [next] [Date index for 2005/01/17]

From: Peter Speltz
Subject: Re: TEMP fields behaviour
Date: 18:13 on 17 Jan 2005
--- Hartmaier Alexander <Alexander.Hartmaier@xxxxxxxxx.xx> wrote:

> 
> I'm still looking for an example how to subclass an Class::DBI class...
> 
> -Alex
> 

AS far as I know its just like any other subclassing, i haven't tried where a
class inherits from something other than my abstract base.  However if you want
the table and all declarations it should be the same and something like this
beolow will give you a Manager that's based on the table that Employee  is
based on (i'm guessing).  CDBI classes can use the same table if they want. it
doesn't care.

package CDBI::Manager;
use base qw/CDBI::Employee/; 
#override what you want. modify/add triggers , has_a etc,
# etc

HTH



=====
pjs

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

TEMP fields behaviour
Hartmaier Alexander 08:07 on 14 Jan 2005

Re: TEMP fields behaviour
Peter Speltz 08:26 on 14 Jan 2005

Re: TEMP fields behaviour
Perrin Harkins 14:05 on 14 Jan 2005

Re: TEMP fields behaviour
Perrin Harkins 14:03 on 14 Jan 2005

Re: TEMP fields behaviour
Hartmaier Alexander 15:19 on 14 Jan 2005

Re: TEMP fields behaviour
Cees Hek 15:38 on 14 Jan 2005

Re: TEMP fields behaviour
Hartmaier Alexander 13:41 on 17 Jan 2005

RE: TEMP fields behaviour
Brian Doig 17:56 on 17 Jan 2005

Re: TEMP fields behaviour
Peter Speltz 18:13 on 17 Jan 2005

Generated at 17:42 on 27 Jan 2005 by mariachi v0.52