Re: cvs: phpdoc /phpbook/phpbook-xsl common.xsl
| From: | Roman Neuhauser | Date: | Mon, 05 Feb 2007 22:54:05 +0000 |
| Subject: | Re: cvs: phpdoc /phpbook/phpbook-xsl common.xsl | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969375311@lists.php.net to get a copy of this message | ||
# bjori@php.net / 2007-02-06 00:36:25 +0100:
> On 2/5/07, Roman Neuhauser <neuhauser@sigpipe.cz> wrote:
> ># bjori@php.net / 2007-02-05 23:11:46 -0000:
> >> bjori Mon Feb 5 23:11:46 2007 UTC
> >>
> >> Modified files:
> >> /phpdoc/phpbook/phpbook-xsl common.xsl
> >> Log:
> >> constructors can be void, too
> >
> >I thought the type of a constructor is always the name of the containing
> >class. In what sense can be a constructor void?
>
> Hi Roman
>
> Sorry for the confusing commit message,
> the constructor doesn't need any arguments - just as any other
> ordinary method/function.
>
> This commit fixes
> http://php.net/function.dom-domimplementation-construct for
> instance.
Aha! Hmm... How about avoiding the overload on "void" by using "nullary"
for functions taking no parameters?
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991