Re: New Class: OS
| From: | Stig S. Bakken | Date: | Sun, 27 Jan 2002 20:02:55 +0000 |
| Subject: | Re: New Class: OS | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4218@lists.php.net to get a copy of this message | ||
On Sat, 2002-01-26 at 18:42, Sterling Hughes wrote:
> Hey all,
>
> I've written a new OS class (currently very-beta, I wrote it in the
> past 1/2 hour :). Which will give you information about the current
> operating system that your using.
>
> The source code is available at:
> http://www.bumblebury.com/OS.phps,
> and a test script is available at:
> http://www.bumblebury.com/tst.phps.
>
> I'll add this in a day or so, unless someone speaks up (is there
> some sort of "process" for module acceptance, since I've last posted
> here? :)
The only process is for picking the right name, but I guess "OS" is
pretty obvious for this one. Just create a package on pear.php.net (go
to /?devme first, then reload /).
If OS is meant for only static methods, there's no point in inheriting
the PEAR class though...
- Stig