MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
cpaint.inc.php
Ir para a documentação deste ficheiro.
1
<?php
2
// CPAINT (Cross-Platform Asynchronous INterface Toolkit) - Version 1.2
3
// Copyright (c) 2005 Boolean Systems, Inc. - http://cpaint.sourceforge.net
4
5
/*
6
error_reporting (E_ALL ^ E_NOTICE);
7
global $cpaint_xml_result;
8
header ("Expires: Fri, 14 Mar 1980 20:53:00 GMT");
9
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
10
header ("Cache-Control: no-cache, must-revalidate");
11
header ("Pragma: no-cache");
12
if ($_GET['cpaint_returnxml'] == "true") header("Content-Type: text/xml");
13
if ($_POST['cpaint_returnxml'] == "true") header("Content-Type: text/xml");
14
if ($_GET['cpaint_function'] != "") {
15
print(call_user_func_array($_GET['cpaint_function'], $_GET['cpaint_argument']));
16
exit();
17
} elseif ($_POST['cpaint_function']) {
18
print(call_user_func_array($_POST['cpaint_function'], $_POST['cpaint_argument']));
19
exit();
20
}
21
*/
22
23
class
cpaint
24
{
25
26
function
cpaint_xml_return_data
() {
27
global $cpaint_xml_result;
28
return
"<?xml version=\"1.0\" standalone=\"yes\"?><AJAX-RESPONSE>"
. $cpaint_xml_result .
"</AJAX-RESPONSE>"
;
29
}
30
function
cpaint_xml_add_data
($dataname, $uniqueid, $datavalue) {
31
global $cpaint_xml_result;
32
$cpaint_xml_result = $cpaint_xml_result .
"<"
. strtoupper($dataname) .
" ID=\""
. $uniqueid .
"\">"
. $datavalue .
"</"
. strtoupper($dataname) .
">"
;
33
}
34
function
cpaint_xml_open_result
($uniqueid) {
35
global $cpaint_xml_result;
36
$cpaint_xml_result = $cpaint_xml_result .
"<AJAX-RESULT ID=\""
. $uniqueid .
"\">"
;
37
}
38
function
cpaint_xml_close_result
() {
39
global $cpaint_xml_result;
40
$cpaint_xml_result = $cpaint_xml_result .
"</AJAX-RESULT>"
;
41
}
42
43
}
44
?>
cpaint
Definição
cpaint.inc.php:24
cpaint\cpaint_xml_close_result
cpaint_xml_close_result()
Definição
cpaint.inc.php:38
cpaint\cpaint_xml_add_data
cpaint_xml_add_data($dataname, $uniqueid, $datavalue)
Definição
cpaint.inc.php:30
cpaint\cpaint_xml_open_result
cpaint_xml_open_result($uniqueid)
Definição
cpaint.inc.php:34
cpaint\cpaint_xml_return_data
cpaint_xml_return_data()
Definição
cpaint.inc.php:26
classes
extensions
cpaint.inc.php
Gerado por
1.10.0