Re: class packages

From: Date: Wed, 08 Sep 2004 14:51:57 +0000
Subject: Re: class packages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196127@lists.php.net to get a copy of this message
Oh - and naming conventions. Do you define the class?: class help.Search { } "Jed R. Brubaker" <jrb21398@hotmail.com> wrote in message news:20040908144344.457.qmail@pb1.pair.com... > As far as I can tell there is not an easy way yet to create packages in > PHP5. > > It seems the following is the best option: > include('classes/help/Search.inc'); > > // Inside Search.inc and in the same "package" > include('OtherClass.inc'); > include('AnotherClass.inc'); > > Is there a better way? > > Thanks!

« previous php.general (#196127) next »