Re: class packages
| From: | Jason Davidson | Date: | Wed, 08 Sep 2004 14:45:51 +0000 |
| Subject: | Re: class packages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196126@lists.php.net to get a copy of this message | ||
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
>
>