Re: Maildir Class

From: Date: Sun, 01 Aug 2004 01:03:38 +0000
Subject: Re: Maildir Class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32363@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 31 July 2004 03:56 pm, Andrew Boothman wrote: > > I was wondering is it preferred that classes use 'resource IDs' in the > way that the mysql_* functions and Mail_Mbox do at the moment to keep > track of which Maildir is being edited, or could I use the class > constructor to set the path to the Maildir and the user would simply > instantiate new objects for each Maildir? > I believe that simply using the path to the mail directory is the correct way of doing it. > Also, is there anything special I need to do to write a PHP5 compatible > class? > I don't believe so, but I'd suggest that you test with it to make sure. > Does my class need to be PHP5 compatible for it to be suitable > for inclusion? > No. It is my preference that packages be both forwards- and backwards-compatible, though that view is definitely not shared by everyone. > Apologies for these questions, but I've never submitted code to an Open > Source project like PEAR before, and I've not been using PHP for that long. > Glad to have you on board. Please make sure your package follows the PEAR coding standards: http://pear.php.net/manual/en/standards.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDEF2xuUdPD6j2IMRAj96AJ9aH6qLqHq3gTMFAnVNXJraWIvhFgCgyIXt wcRp1+t8hwla0/X2DpLSaWI= =U95c -----END PGP SIGNATURE-----

« previous php.pear.dev (#32363) next »