Re: [studs-user] Error messages in Actions
Status: Beta
Brought to you by:
mojavelinux
|
From: Dan A. <dan...@gm...> - 2005-07-27 16:39:46
|
> Discard that. I've worked it out. I'm an idiot :)
I would still be interested in hearing how you worked it out as it may
be helpful for others. I notice that you are using PHP 5 exception
handling with Studs. How cool! That is something I never thought of.
Studs is basically doing hybrid exception handling at that point.=20
Wicked.
/dan
p.s. I noticed that you are using the snippet:
$id =3D & $request->getParameter('id');
You definitely don't need that reference symbol since parameters are
just strings. You only need to use =3D& when you need the exact copy
(reference) of the data (and not a copy). I should probably wiki on
this.
|