Source for file xul.php
Documentation is available at xul.php
require_once 'Structures/DataGrid.php';
$options = array ('dsn' => 'mysql://username@localhost/mydatabase');
$datagrid->bind ("SELECT * FROM mytable", $options);
header('Content-type: application/vnd.mozilla.xul+xml');
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
echo "<?xml-stylesheet href=\"myStyle.css\" type=\"text/css\"?>\n";
echo "<window title=\"MyDataGrid\"
xmlns=\"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul\">\n";
$datagrid->render ('XUL');
Documentation generated on Mon, 11 Mar 2019 15:47:20 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|