Re: [Maypole] Access to $r in CDBI before_create trigger ?
[prev]
[thread]
[next]
[Date index for 2004/11/24]
> > However, adding a before_create trigger to an object doesn't make a lot
> > of sense as the object won't exist, in order to add the trigger, until
> > you have already called create() on it ...
>
Yeah. I was just being lazy. I have a lot of composite objects and rather than
write a do_create sub with my runtime before create actions , and making
do_edit call that instead of create, i thought it'd be easier if a
before_create trigger could use runtime data and just make triggers for ones
that need it.
=====
pjs
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
|
Re: [Maypole] Access to $r in CDBI before_create trigger ?
Peter Speltz 19:08 on 24 Nov 2004
|