Re: Re: Structures_DataGrid_Renderer - doesnt' allow custom renderers outside of PEAR directory tree

From: Date: Fri, 28 Jan 2005 18:46:02 +0000
Subject: Re: Re: Structures_DataGrid_Renderer - doesnt' allow custom renderers outside of PEAR directory tree
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17249@lists.php.net to get a copy of this message
On Fri, 28 Jan 2005 13:39:58 -0500, Andrew Nagy <asnagy@webitecture.org> wrote: > > Additionally, to the OP, it's prefectly reasonable to put your own > > file in the PEAR directories. I've been doing this with DB drivers and > > HTML_QuickForm elements for a while. > > 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

« previous php.pear.general (#17249) next »