On 10/3/05, Dave Howorth <[EMAIL PROTECTED]> wrote:
> David Baird wrote:
>
> > Maypole::call_authenticate() ends with this:
> >
> > $r->authenticate($r);   # Interface consistency is a Good Thing
> >
> > Can we drop the ($r)? What's it there for?
>
> I actually thought the comment explained it pretty well, especially in
> the context of the immediately preceding statement.
>
> If you add an authenticate method to a model class, it has two
> parameters: the invocant (the model class) and the request.
>
> So if you override the authenticate method in the driver class, it has
> the same two parameters: the invocant (the driver) and the request.
>
> Made sense to Simon C and it makes sense to me. It will make even more
> sense if we do eventually separate the driver and request :)
>
> Cheers, Dave

That does make a strange kind of sense.

d.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel

Reply via email to