[Catalyst] Context from CDBI triggers
Sebastian Riedel
sri at oook.de
Mon Jun 13 20:55:01 CEST 2005
Am 13.06.2005 um 19:39 schrieb Christopher Heschong:
> Hi, another question to which there is probably a simple answer:
>
> Is there any way to access the $c object from within a Class::DBI
> trigger
> (as defined within a Catalyst::Model::CDBI::Plain class)?
>
> I'd like to have it do a shift->muser($c->req->user) to set the
> current
> user in a before_update trigger.
Catalyst::Plugin::Singleton
--
sebastian
More information about the Catalyst
mailing list