[Cartoweb-dev] how to send data to "Tables plugin"

Oliver Christen oliver.christen at camptocamp.com
Thu Aug 30 02:53:30 EDT 2007


if you look inside ClientQuery.php, you will see in function initializeresult :

        $tablesPlugin = $this->cartoclient->getPluginManager()->tables;

which pass the result from the query to the table plugin (after some treatments)

$queryResult->tableGroup is an object of type TableGroup, look in ServerQuery.php, function handlePreDrawing, near the end, to see how it is populated with the query result data.


  ----- Original Message ----- 
  From: Redouane MANAA 
  To: cartoweb-dev at lists.maptools.org 
  Sent: Wednesday, August 29, 2007 11:50 AM
  Subject: [Cartoweb-dev] how to send data to "Tables plugin" 

  I'am working on a personal plugin to perform advanced queries on a postgressql database.

  I would like to know how to send the query result to the plugin named tables ?

  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


  Cartoweb-dev mailing list
  Cartoweb-dev at lists.maptools.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-dev/attachments/20070830/888e75fa/attachment.html

More information about the Cartoweb-dev mailing list