ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
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
z
+
Functions
_
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
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilFO2PDF.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
24
33
include_once
'Services/WebServices/RPC/classes/class.ilRPCServerAdapter.php'
;
34
35
define(
"MODE_FO2PDF"
,1);
36
37
class
ilFO2PDF
extends
ilRPCServerAdapter
38
{
39
var
$log
= null;
40
var
$mode
=
MODE_FO2PDF
;
41
var
$fo_string
=
''
;
42
43
function
ilFO2PDF
()
44
{
45
global
$ilLog
;
46
47
parent::ilRPCServerAdapter();
48
49
}
50
51
function
setFOString
($a_fo)
52
{
53
$this->fo_string = $a_fo;
54
}
55
function
getFOString
()
56
{
57
return
$this->fo_string
;
58
}
59
60
61
function
setMode
($a_mode)
62
{
63
$this->mode = $a_mode;
64
}
65
function
getMode
()
66
{
67
return
$this->mode
;
68
}
69
70
function
send
()
71
{
72
$this->
__initClient
();
73
switch
($this->
getMode
())
74
{
75
case
MODE_FO2PDF
:
76
$this->
__prepareFO2PDFParams
();
77
break
;
78
79
default
:
80
$this->log->write(
'ilFO2PDF(): No valid mode given'
);
81
return
false
;
82
83
}
84
return
parent::send();
85
}
86
function
__prepareFO2PDFParams
()
87
{
88
$this->
__initMessage
(
'RPCTransformationHandler.ilFO2PDF'
,array(
new
XML_RPC_Value($this->
getFOString
(),
"string"
)));
89
90
return
true
;
91
}
92
}
93
?>
ilFO2PDF\getFOString
getFOString()
Definition:
class.ilFO2PDF.php:55
ilRPCServerAdapter
Definition:
class.ilRPCServerAdapter.php:37
ilRPCServerAdapter\__initMessage
__initMessage($a_message_name, $params)
Create RPC message object.
Definition:
class.ilRPCServerAdapter.php:129
MODE_FO2PDF
const MODE_FO2PDF
Definition:
class.ilFO2PDF.php:35
ilFO2PDF
Definition:
class.ilFO2PDF.php:37
ilFO2PDF\$log
$log
Definition:
class.ilFO2PDF.php:39
$ilLog
$ilLog
Definition:
inc.setup_header.php:126
ilFO2PDF\ilFO2PDF
ilFO2PDF()
Definition:
class.ilFO2PDF.php:43
ilFO2PDF\setFOString
setFOString($a_fo)
Definition:
class.ilFO2PDF.php:51
ilRPCServerAdapter\__initClient
__initClient()
Create RPC client object.
Definition:
class.ilRPCServerAdapter.php:107
ilFO2PDF\send
send()
Definition:
class.ilFO2PDF.php:70
ilFO2PDF\$fo_string
$fo_string
Definition:
class.ilFO2PDF.php:41
ilFO2PDF\setMode
setMode($a_mode)
Definition:
class.ilFO2PDF.php:61
ilFO2PDF\getMode
getMode()
Definition:
class.ilFO2PDF.php:65
ilFO2PDF\__prepareFO2PDFParams
__prepareFO2PDFParams()
Definition:
class.ilFO2PDF.php:86
ilFO2PDF\$mode
$mode
Definition:
class.ilFO2PDF.php:40
Services
Transformation
classes
class.ilFO2PDF.php
Generated on Mon Dec 21 2020 19:01:25 for ILIAS by
1.8.13 (using
Doxyfile
)