Re: PEAR_Info Documentation

From: Date: Sat, 26 Apr 2003 02:56:22 +0000
Subject: Re: PEAR_Info Documentation
References: 1 2 3 4 5  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-662@lists.php.net to get a copy of this message
the synopsis for using PEAR_Info::show() should be require('PEAR/Info.php'); ? seems odd as that isn't how its used. Also, I used () on require() cause thats how I write it, always. AFAIK the PEAR specs say those are optional. - Davey Alexander Merz wrote:
Pierre-Alain Joye wrote:
"require('PEAR/Info.php');",
This is correct without the brackets
And the last thing, the other two function (getPackages() and showCredits()) should never be called outside the class (they would be private if PHP4 supported that) how can I indicate that?
private functions are not a part of peardoc. both things a phpdoc bugs...


« previous php.pear.doc (#662) next »