Xataface
2.0alpha2
Xataface Application Framework
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
actions
disabled
load_grid.php
Go to the documentation of this file.
1
<?php
2
class
dataface_actions_load_grid
{
3
function
handle
(&$params){
4
import
(
'Dataface/dhtmlxGrid/activegrid.php'
);
5
$app
=&
Dataface_Application::getInstance
();
6
$grid =& Dataface_dhtmlxGrid_activegrid::getGrid($_REQUEST[
'-gridid'
]);
7
if
( stristr(
$_SERVER
[
"HTTP_ACCEPT"
],
"application/xhtml+xml"
) ) {
8
header(
"Content-type: application/xhtml+xml"
); }
else
{
9
header(
"Content-type: text/xml"
);
10
}
11
echo(
"<?xml version=\"1.0\" encoding=\"{$app->_conf['oe']}\"?>\n"
);
12
echo $grid->toXML();
13
exit
;
14
}
15
}
16
17
?>
Generated on Fri Mar 22 2013 09:40:33 for Xataface by
1.8.1.2