MIOLO20
Toggle main menu visibility
Página principal
Estruturas de dados
Estruturas de dados
Hierarquia de classes
Campos de dados
Tudo
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Funções
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variáveis
$
a
b
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Ficheiros
Lista de ficheiros
Globais
Tudo
$
_
a
c
d
e
f
g
i
l
m
o
p
r
s
u
Funções
Variáveis
$
_
c
e
f
l
m
o
p
s
Exemplos
▼
MIOLO20
►
Estruturas de dados
▼
Ficheiros
▼
Lista de ficheiros
▼
classes
►
contrib
►
database
►
doc
▼
extensions
►
doctrine-dbal
►
jasper
►
spaw
►
class.phpmailer.php
►
class.smtp.php
►
cpaint.inc.php
►
cpaint_proxy.php
►
ezpdf
►
flow
►
interfaces
►
model
►
persistence
►
pslib
►
security
►
services
►
tests
►
ui
►
utils
►
compatibility.class
►
miolo.class
►
Globais
►
Exemplos
•
Tudo
Estruturas de dados
Namespaces
Ficheiros
Funções
Variáveis
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
}
26
function
cpaint_xml_return_data
() {
…
}
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
}
30
function
cpaint_xml_add_data
($dataname, $uniqueid, $datavalue) {
…
}
34
function
cpaint_xml_open_result
($uniqueid) {
35
global $cpaint_xml_result;
36
$cpaint_xml_result = $cpaint_xml_result .
"<AJAX-RESULT ID=\""
. $uniqueid .
"\">"
;
37
}
34
function
cpaint_xml_open_result
($uniqueid) {
…
}
38
function
cpaint_xml_close_result
() {
39
global $cpaint_xml_result;
40
$cpaint_xml_result = $cpaint_xml_result .
"</AJAX-RESULT>"
;
41
}
38
function
cpaint_xml_close_result
() {
…
}
42
43
}
23
class
cpaint
{
…
};
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