Re: Callbacks
| From: | Philip Olson | Date: | Sun, 22 Jun 2003 20:32:49 +0000 |
| Subject: | Re: Callbacks | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969354779@lists.php.net to get a copy of this message | ||
On Sun, 22 Jun 2003, Davey wrote:
> Gabor Hojtsy wrote:
> >> As you can see, one is using <type>callback</type> the other
> >> <type>mixed</type>, the reasons being obvious - a callback is just a
> >> string or an array... so the question here is, do we respect the
> >> callback type as its own which consists of 'mixed' data, or do we use
> >> mixed? I personally feel that callback is more descriptive. as I am
> >> going through all callback functions anyways, I will change them all
> >> to have the same, whatever is decided. I'm not entirely bothered which
> >> is chosen, so long as one is, and its stuck too.
> >
> >
> > I am fine with the callback type, and the "handler" name to use for
> > callback paramater names.
> >
> > Goba
> >
>
> It seems that "callback" and "handler" are well recieved, would you like
> for me to go through and change all functions which use callbacks to
> have this? I am going to go through all the functions anyways as I
> mentioned in my original e-mail, doing this is little extra work I don't
> mind doing. Just tell me when you gurus have reached a final decision on
> what should be used and I'll get right on it :)
Go for it :)
Regards,
Philip