Re: extending Auth DB container

From: Date: Wed, 20 Mar 2002 18:12:20 +0000
Subject: Re: extending Auth DB container
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1003@lists.php.net to get a copy of this message
On Wed, 20 Mar 2002 19:00:42 +0100, Wolfram Kriesing wrote: >May be it would be good to add the feature that the $driver can also be a >complete path to an external class, so people can extend the Auth-containers >as they might want to implement some proprietary functionality inside!? >(remember Martin, i suggested that once too) > >I think it makes sense implemeting something like this >then the Auth instance would be created somehoe like this: > new Auth( '/my/class/file.php' , $options ); How would the name of the container class then be? I can only think of such a system, if the name of the container class is equal to the basename of the passed filename ("file" in your example). But generally, this is no bad idea. - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

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