<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>if you look inside ClientQuery.php, you will see in function 
initializeresult :</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $tablesPlugin = 
$this-&gt;cartoclient-&gt;getPluginManager()-&gt;tables;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
$tablesPlugin-&gt;addTableGroups($queryResult-&gt;tableGroup);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR></FONT></DIV>
<DIV><FONT size=2>which pass the result from the query to the table plugin 
(after some treatments)</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>$queryResult-&gt;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.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;</DIV></FONT>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=redouane_manaa@yahoo.fr 
  href="mailto:redouane_manaa@yahoo.fr">Redouane MANAA</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=cartoweb-dev@lists.maptools.org 
  href="mailto:cartoweb-dev@lists.maptools.org">cartoweb-dev@lists.maptools.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 29, 2007 11:50 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-dev] how to send data 
  to "Tables plugin" </DIV>
  <DIV><BR></DIV>
  <DIV>I'am working on a personal plugin to perform advanced queries on a 
  postgressql database.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I would like to know how to send the query result to the plugin named 
  tables ?</DIV>
  <P>
  <HR SIZE=1>
  Ne gardez plus qu'une seule adresse mail ! <A 
  href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</A> vers Yahoo! 
  Mail 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Cartoweb-dev mailing 
  list<BR><A 
  href="mailto:Cartoweb-dev@lists.maptools.org">Cartoweb-dev@lists.maptools.org</A><BR><A 
  href="http://lists.maptools.org/mailman/listinfo/cartoweb-dev">http://lists.maptools.org/mailman/listinfo/cartoweb-dev</A><BR></BLOCKQUOTE></BODY></HTML>