[Handel] plugin for checkout
Jan Gerene
jan at gerene.be
Mon Aug 14 16:31:16 CEST 2006
Op zaterdag 12 augustus 2006 22:42, schreef Christopher H. Laco:
>
> We resolved this on IRC, but for the sake of the answer being here....
>
> Handel::Checkout loads plugins from Handel::Checkout::Plugin::*.
> To load plugins from different namespaces, you must add them to the ENV
> config variables, or during new:
>
>
> my $checkout = Handel::Checkout->new({
> addpluginpaths => 'UniBooks::Plugin',
> order => $order,
> phases => 'CHECKOUT_PHASE_VALIDATE'
> });
>
> -=Chis
This works fine, thx.
Is it possible to get to the catalyst context from within the plugin e.g. I
would like to use "$c->model('xxx')" and can't find how to do that.
Regards;
--
Jan Gerene
Heikant 99
2560 Bevel
gsm: +32-475406294
tel: +32-32191252
More information about the Handel
mailing list