For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > January 2005 > Re: [PEAR] Re: Structures_DataGrid_Renderer - doesnt' allow custom renderers outside









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Re: Structures_DataGrid_Renderer - doesnt' allow custom renderers outside
Justin Patrin

2005-01-28, 3:59 pm

On Fri, 28 Jan 2005 13:39:58 -0500, Andrew Nagy <asnagy@webitecture.org> wrote:
>
> I agree, but then I thought about those who are using a hosting company
> who has the pear libraries available, but would obviosuly not have
> access to the pear directory.
>


True, which is why a class_exists call before the include makes sense.
This also stops you from possibly calling include on an already
included file...which is what the _once is for, but...

And there is also the option of using a local directory structure set
the same way and changing your include path.

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com