ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.arStorageRecord.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'./Services/ActiveRecord/_Examples/StorageRecord/class.arStorageRecordStorage.php'
);
3
require_once(
'./Services/ActiveRecord/Storage/int.arStorageInterface.php'
);
4
14
class
arStorageRecord
implements
arStorageInterface
15
{
16
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
{
59
$this->
id
=
$id
;
60
$this->storage = arStorageRecordStorage::getInstance($this);
61
$this->storage->installDB();
62
}
63
64
65
public
function
create
()
66
{
67
$this->storage->create();
68
}
69
70
71
public
function
update
()
72
{
73
$this->storage->update();
74
}
75
76
77
public
function
delete
()
78
{
79
$this->storage->delete();
80
}
81
82
86
public
function
setDescription
(
$description
)
87
{
88
$this->description =
$description
;
89
}
90
91
95
public
function
getDescription
()
96
{
97
return
$this->description
;
98
}
99
100
104
public
function
setId
(
$id
)
105
{
106
$this->
id
=
$id
;
107
}
108
109
113
public
function
getId
()
114
{
115
return
$this->id
;
116
}
117
118
122
public
function
setTitle
(
$title
)
123
{
124
$this->title =
$title
;
125
}
126
127
131
public
function
getTitle
()
132
{
133
return
$this->title
;
134
}
135
136
140
public
function
setUsrIds
(
$usr_ids
)
141
{
142
$this->usr_ids =
$usr_ids
;
143
}
144
145
149
public
function
getUsrIds
()
150
{
151
return
$this->usr_ids
;
152
}
153
154
158
public
function
setStorage
(
$storage
)
159
{
160
$this->storage =
$storage
;
161
}
162
163
167
public
function
getStorage
()
168
{
169
return
$this->storage
;
170
}
171
}
arStorageRecord\update
update()
Definition:
class.arStorageRecord.php:71
arStorageRecord\setStorage
setStorage($storage)
Definition:
class.arStorageRecord.php:158
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:140
arStorageRecord\setDescription
setDescription($description)
Definition:
class.arStorageRecord.php:86
arStorageRecord\__construct
__construct($id=0)
Definition:
class.arStorageRecord.php:57
arStorageRecord\getTitle
getTitle()
Definition:
class.arStorageRecord.php:131
arStorageRecord\setTitle
setTitle($title)
Definition:
class.arStorageRecord.php:122
arStorageRecord\$id
$id
Definition:
class.arStorageRecord.php:26
arStorageRecord\setId
setId($id)
Definition:
class.arStorageRecord.php:104
arStorageRecord\create
create()
Definition:
class.arStorageRecord.php:65
arStorageRecord\getUsrIds
getUsrIds()
Definition:
class.arStorageRecord.php:149
arStorageRecord\getDescription
getDescription()
Definition:
class.arStorageRecord.php:95
arStorageRecord\getId
getId()
Definition:
class.arStorageRecord.php:113
arStorageRecord\getStorage
getStorage()
Definition:
class.arStorageRecord.php:167
php
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 Thu Jan 30 2025 19:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)