PHPDoc global var comments

From: Date: Fri, 26 Jan 2001 14:57:32 +0000
Subject: PHPDoc global var comments
Groups: php.pear 
Request: Send a blank email to php-pear+get-1182@lists.php.net to get a copy of this message
I am using PHPDoc and have been able to get documentation generated as expected with the exception of global variables that are instances of classes (objects). This is what I have in my function header: @global object MyObjectName $myvarname Description of variable here. PHPDoc is giving me the following message: PHPDoc found 1 syntax error(s) in the tag list. Tag: '@global object MyObjectName $myvarname Description of variable here.' - General syntax error, syntax: '@global (object objectname|type) $varname [description]'.. I have tried many things and don't know what I am doing wrong. I was able to not get the error if I replace "MyObjectName" with "string" but that isn't what I want... Thanks, Stacy ------------------------------------------------------------ --== Sent via Deja.com ==-- http://www.deja.com/

« previous php.pear (#1182) next »