Re: Proposal: File_HtDigest
| From: | Michael Wallner | Date: | Tue, 16 Sep 2003 18:15:51 +0000 |
| Subject: | Re: Proposal: File_HtDigest | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21587@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Mika Tuupola, you wrote:
> If you're talking about constructor, constructor can't return
> anything else but instance of class itself. (Or can, or
> atleast could in older versions of PHP, but this is considered
> a bug and not a feature).
No, sorry if that was not that clear.
Now the method Ht(Passwd|Digest|Group)::setFile() returns a
PEAR_Error, if *$auto_load* isset true and the _directory_ of the
supplied path _doesn't exist_.
However, when supplying the filepath at instantiation time, this
error will never reach the user...
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)
iD8DBQE/Z1NX3645gzRPvy8RAoPZAKCEly3sos8rbfHUyQ14IsxAsSQXYQCfXrDk
zD0WT95FVvKS477cZAkX9No=
=1u6h
-----END PGP SIGNATURE-----