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.ilERP_none.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
33
require_once
'./Services/Payment/classes/class.ilERP.php'
;
34
35
class
ilERP_none
extends
ilERP
36
{
37
private
$agreement
;
38
private
$product
;
39
private
$terms
;
40
private
$layout
;
41
private
$code
;
42
43
private
static
$instance
= null;
44
45
public
$client
;
46
47
const
erp_id
=
ERP_NONE
;
48
const
name
=
"none"
;
49
50
public
function
__construct
()
51
{
52
$this->
loadSettings
(0);
53
}
54
55
56
63
public
static
function
_getInstance
()
64
{
65
if
(isset(self::$instance) and self::$instance)
66
{
67
return
self::$instance;
68
}
69
return
self::$instance =
new
ilERP_eco
();
70
71
}
72
73
80
public
function
getSettings
(
$erps_id
= 0)
81
{
82
return
parent::getSettings();
83
84
}
85
86
public
function
connect
()
87
{
88
$this->connection_ok =
true
;
89
}
90
public
function
disconnect
()
91
{
92
$this->connection_ok =
false
;
93
}
94
95
public
function
getName
()
96
{
97
return
"none"
;
98
}
99
100
101
102
103
109
public
function
setSettings
( $a )
110
{
111
parent::setSettings($a);
112
}
113
120
public
function
looksValid
()
121
{
122
return
true
;
123
}
124
125
126
132
public
function
loadSettings
(
$erps_id
= 0)
133
{
134
}
135
136
137
138
}
139
?>
ilERP_none\name
const name
Definition:
class.ilERP_none.php:48
ilERP_none\$layout
$layout
Definition:
class.ilERP_none.php:40
ilERP_none\$code
$code
Definition:
class.ilERP_none.php:41
ilERP_none\$agreement
$agreement
Definition:
class.ilERP_none.php:37
ilERP_none\getName
getName()
Definition:
class.ilERP_none.php:95
ilERP_none\erp_id
const erp_id
Definition:
class.ilERP_none.php:47
ilERP_none\$instance
static $instance
Definition:
class.ilERP_none.php:43
ERP_NONE
const ERP_NONE
Definition:
class.ilERP.php:31
ilERP_none\$product
$product
Definition:
class.ilERP_none.php:38
ilERP\$erps_id
$erps_id
Definition:
class.ilERP.php:43
ilERP_none\$terms
$terms
Definition:
class.ilERP_none.php:39
ilERP_none\setSettings
setSettings( $a)
Sets e-conomic settings.
Definition:
class.ilERP_none.php:109
ilERP_none\connect
connect()
Definition:
class.ilERP_none.php:86
ilERP_none
Definition:
class.ilERP_none.php:35
ilERP_none\disconnect
disconnect()
Definition:
class.ilERP_none.php:90
ilERP
Definition:
class.ilERP.php:36
ilERP_none\loadSettings
loadSettings($erps_id=0)
Called from constructor to fetch settings from database.
Definition:
class.ilERP_none.php:132
ilERP_none\_getInstance
static _getInstance()
Static method to get the singleton instance.
Definition:
class.ilERP_none.php:63
ilERP_none\$client
$client
Definition:
class.ilERP_none.php:45
ilERP_eco
Definition:
class.ilERP_eco.php:35
ilERP_none\looksValid
looksValid()
Returns true if the e-conomic settings looks valid to the interface Done without testing conection et...
Definition:
class.ilERP_none.php:120
ilERP_none\getSettings
getSettings($erps_id=0)
Return e-conomic settings as an array.
Definition:
class.ilERP_none.php:80
ilERP_none\__construct
__construct()
Definition:
class.ilERP_none.php:50
Services
Payment
erp
class.ilERP_none.php
Generated on Mon Dec 21 2020 19:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)