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
xml_list.php
Go to the documentation of this file.
1
<?php
2
class
dataface_actions_xml_list
{
3
4
function
handle
(&$params){
5
6
import
(
'Dataface/XMLTool.php'
);
7
$xml =
new
Dataface_XMLTool
();
8
$app
=&
Dataface_Application::getInstance
();
9
$query =&
$app
->getQuery();
10
$table
=&
Dataface_Table::loadTable
($query[
'-table'
]);
11
echo $xml->header();
12
$auth =&
Dataface_AuthenticationTool::getInstance
();
13
echo
"<![CDATA["
;
14
print_r($_SESSION);
15
echo
"]]>"
;
16
echo
"<user>"
.$auth->getLoggedInUsername().
"</user>"
;
17
echo $xml->toXML(
$table
);
18
//echo $xml->toXML($app->getRecord());
19
echo $xml->toXML(
$app
->getResultSet());
20
echo $xml->footer();
21
exit
;
22
}
23
}
24
25
?>
Generated on Fri Mar 22 2013 09:40:33 for Xataface by
1.8.1.2