Re: RE: PHP and aggregated Objects

Marek Lewczuk <[email protected]>
Newsgroups gmane.text.doxygen.devel
Organization LEWCZUK.COM
Message-ID <[email protected]>
Sönke Ruempler napisał(a):
> Hi Jens,
> 
> 
> Thx for your answer. I tried several methods inspired from your example, but
> doxygen ignores everything except writing the type between visibilty and the
> variable name. And that's no valid PHP syntax :-/

Try this:

class TestClass {
	
	/**
	 * Brief description.
	 *
	 * Detailed description.
	 */
	public $someVar;
	
	/**
	 * Some method.
	 */
	public static function f2 () {
	}
}


As you see Doxygen will generate documentation for $someVar, however you 
cannot put "@var" tag. It seems like a bug, because when you put "@var 
$someVar" doxygen looks for TestClass::someVar member.

ML

 


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.