[Fwd: Custom DataSource drivers for DataGrid]

From: Date: Fri, 07 Jan 2005 06:39:41 +0000
Subject: [Fwd: Custom DataSource drivers for DataGrid]
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16768@lists.php.net to get a copy of this message
-------- Original Message -------- Subject: Custom DataSource drivers for DataGrid From: <daniel@electroteque.org> Date: Fri, January 7, 2005 5:27 pm To: <pear-general@lists.php.net> I have hit a wall on creating a custom DataSource driver for DataGrid and trying to get DataGrid touse it, i know where the drivers are but i need to work out how to tell DataGrid on to use thatparticular driver. Any ideas ? Found it its in the code, yet again I had to read the source to find it. * $driver =& Structures_DataGrid_DataSource::create($source, $type, $option s); its switched around though should be * $driver =& Structures_DataGrid_DataSource::create($source, $options, $type); therefore * $driver =& Structures_DataGrid_DataSource::create($do, false,'MyDrive'); :) I hope this is right

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