RE: [PEAR-DEV] Re: Package proposal Science_Weather
| From: | LIMBOURG Arnaud | Date: | Fri, 22 Aug 2003 07:01:44 +0000 |
| Subject: | RE: [PEAR-DEV] Re: Package proposal Science_Weather | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20362@lists.php.net to get a copy of this message | ||
> /**
> * Sets the neccessary account-information for weather.com
> *
> * @param string $partnerID
> * @param string $licenseKey
> * @access public
> */
> function setAccountData($partnerID, $licenseKey)
Which brings me to a question greg.
I notice you write the parameter variable like $partnerID in the phpdoc.
However, when it's not there but the @param tags are in the same order as
they appear in the function() definition, phpdocumentor parses this
intelligently.
So what is the ways to go ?
@param string $var blah
or just
@param string blah
I switched to the last one since it works very well.
Arnaud.