LayerQueryTable Class Reference

List of all members.

Public Member Functions

 LayerQueryTable ($layer, $attributes=NULL)
 addRows ()
 toHtml ()

Public Attributes

 $objLayer = null
 $arrIdFields

Detailed Description

Table to display the results from a queried layer


Constructor & Destructor Documentation

LayerQueryTable::LayerQueryTable layer,
attributes = NULL
 

Return a LayerQueryTable object.

Parameters:
$layer is the Mapscript layer that contains the query results.
$attributes is the optional array containing HTML_Table attributes.
Returns:
The LayerQueryTable object.


Member Function Documentation

LayerQueryTable::addRows  ) 
 

Add the query results to the table.

Returns:
Nothing.

LayerQueryTable::toHtml  ) 
 

Return the HTML representation of the table.

Returns:
A string containing the HTML code.


Member Data Documentation

LayerQueryTable::$arrIdFields
 

Initial value:

 array("Maintenance" =>
     "maintenance.php?action=viewworkorder&id=", "Landmark" =>
     "landmark.php?action=view&gid=", 
     'PendingWorkorders' => 'workorderpage.php?action=view&id=')
The layers for which context-sensitive links will be added for the ID field

LayerQueryTable::$objLayer = null
 

The Mapscript layer that contains the query results


The documentation for this class was generated from the following file:
Generated on Sat Jul 1 21:19:42 2006 for DCMMS by  doxygen 1.4.6-NO