ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ 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
x
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
k
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.arConnectorMap.php
Go to the documentation of this file.
1
<?php
2
9
class
arConnectorMap
{
10
14
protected
static
$map
= array();
15
16
21
public
static
function
register
(
ActiveRecord
$ar,
arConnector
$connector) {
22
self::$map[get_class($ar)] = $connector;
23
}
24
25
31
public
static
function
get
(
ActiveRecord
$ar) {
32
if
(self::$map[get_class($ar)] instanceof
arConnector
) {
33
return
self::$map[get_class($ar)];
34
}
35
36
return
new
arConnectorDB
();
37
}
38
}
39
40
?>
arConnectorDB
Class arConnectorDB.
Definition:
class.arConnectorDB.php:12
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:23
arConnectorMap\$map
static $map
Definition:
class.arConnectorMap.php:14
arConnector
Class arConnector.
Definition:
class.arConnector.php:12
arConnectorMap
Class arConnectorMap.
Definition:
class.arConnectorMap.php:9
Services
ActiveRecord
Connector
class.arConnectorMap.php
Generated on Mon Apr 7 2025 19:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)