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.arStorageRecord.php
Go to the documentation of this file.
1
<?php
2
require_once(
'./Customizing/global/plugins/Libraries/ActiveRecord/Demo/StorageRecord/class.arStorageRecordStorage.php'
);
3
require_once(
'./Customizing/global/plugins/Libraries/ActiveRecord/Storage/int.arStorageInterface.php'
);
4
14
class
arStorageRecord
implements
arStorageInterface
{
15
26
protected
$id
= 0;
33
protected
$title
=
''
;
40
public
$description
=
''
;
47
protected
$usr_ids
= array();
51
protected
$storage
;
52
53
57
public
function
__construct
(
$id
= 0) {
58
$this->
id
=
$id
;
59
$this->storage = arStorageRecordStorage::getInstance($this);
60
$this->storage->installDB();
61
}
62
63
64
public
function
create
() {
65
$this->storage->create();
66
}
67
68
69
public
function
update
() {
70
$this->storage->update();
71
}
72
73
74
public
function
delete
() {
75
$this->storage->delete();
76
}
77
78
82
public
function
setDescription
(
$description
) {
83
$this->description =
$description
;
84
}
85
86
90
public
function
getDescription
() {
91
return
$this->description
;
92
}
93
94
98
public
function
setId
(
$id
) {
99
$this->
id
=
$id
;
100
}
101
102
106
public
function
getId
() {
107
return
$this->id
;
108
}
109
110
114
public
function
setTitle
(
$title
) {
115
$this->title =
$title
;
116
}
117
118
122
public
function
getTitle
() {
123
return
$this->title
;
124
}
125
126
130
public
function
setUsrIds
(
$usr_ids
) {
131
$this->usr_ids =
$usr_ids
;
132
}
133
134
138
public
function
getUsrIds
() {
139
return
$this->usr_ids
;
140
}
141
142
146
public
function
setStorage
(
$storage
) {
147
$this->storage =
$storage
;
148
}
149
150
154
public
function
getStorage
() {
155
return
$this->storage
;
156
}
157
}
158
159
?>
arStorageRecord\update
update()
Definition:
class.arStorageRecord.php:69
arStorageRecord\setStorage
setStorage($storage)
Definition:
class.arStorageRecord.php:146
arStorageInterface
Class arStorageInterface.
Definition:
int.arStorageInterface.php:10
arStorageRecord\$storage
$storage
Definition:
class.arStorageRecord.php:51
arStorageRecord\$description
$description
Definition:
class.arStorageRecord.php:40
arStorageRecord\setUsrIds
setUsrIds($usr_ids)
Definition:
class.arStorageRecord.php:130
arStorageRecord\setDescription
setDescription($description)
Definition:
class.arStorageRecord.php:82
arStorageRecord\__construct
__construct($id=0)
Definition:
class.arStorageRecord.php:57
arStorageRecord\getTitle
getTitle()
Definition:
class.arStorageRecord.php:122
arStorageRecord\setTitle
setTitle($title)
Definition:
class.arStorageRecord.php:114
arStorageRecord\$id
$id
Definition:
class.arStorageRecord.php:26
arStorageRecord\setId
setId($id)
Definition:
class.arStorageRecord.php:98
arStorageRecord\create
create()
Definition:
class.arStorageRecord.php:64
arStorageRecord\getUsrIds
getUsrIds()
Definition:
class.arStorageRecord.php:138
arStorageRecord\getDescription
getDescription()
Definition:
class.arStorageRecord.php:90
arStorageRecord\getId
getId()
Definition:
class.arStorageRecord.php:106
arStorageRecord\getStorage
getStorage()
Definition:
class.arStorageRecord.php:154
arStorageRecord
Class arTestRecord.
Definition:
class.arStorageRecord.php:14
arStorageRecord\$title
$title
Definition:
class.arStorageRecord.php:33
arStorageRecord\$usr_ids
$usr_ids
Definition:
class.arStorageRecord.php:47
Services
ActiveRecord
_Examples
StorageRecord
class.arStorageRecord.php
Generated on Mon Apr 7 2025 19:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)