Re: class packages

From: Date: Wed, 08 Sep 2004 14:54:27 +0000
Subject: Re: class packages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196129@lists.php.net to get a copy of this message
Well, my OO experience comes from Java and ActionScript2.0, so there is compilation going on and classes get refered to as named that assume files (as you probably know). As I just added to my original post, I am also wondering about naming conventions: Quote: ---------------------------------- Do you define the class?: class help.Search { } ---------------------------------- "Jason Davidson" <jdavidson@zworg.com> wrote in message news:23591.1094654751@zworg.com... > Out of curiosity, how would you prefer it? > > the way you mentioend is basically how i do though. > > Jason > > "Jed R. Brubaker" <jrb21398@hotmail.com> wrote: >> >> 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! >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >>

« previous php.general (#196129) next »