Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
entitybasemethods.php
1
<?php
2
namespace
Bitrix\Forum\Internals
;
3
trait EntityBaseMethods
4
{
6
// protected $id = 0;
8
// protected $data = [];
9
10
public
function
getId()
11
{
12
return
$this->id;
13
}
14
15
public
function
getData()
16
{
17
return
$this->data;
18
}
19
20
public
function
offsetExists
($offset)
21
{
22
return
array_key_exists($offset, $this->data);
23
}
24
25
public
function
offsetGet
($offset)
26
{
27
return
$this->data[$offset];
28
}
29
30
public
function
offsetSet
($offset, $value)
31
{
32
33
}
34
35
public
function
offsetUnset
($offset)
36
{
37
38
}
39
}
Bitrix\Forum\Internals
Definition
conversionhandlers.php:3
Bitrix\Main\Session\offsetUnset
offsetUnset($offset)
Definition
arrayaccesswithreferences.php:90
Bitrix\Main\Session\offsetExists
offsetExists($offset)
Definition
arrayaccesswithreferences.php:63
Bitrix\Main\Session\offsetGet
& offsetGet($offset)
Definition
arrayaccesswithreferences.php:71
Bitrix\Main\Session\offsetSet
offsetSet($offset, $value)
Definition
arrayaccesswithreferences.php:76
modules
forum
lib
internals
entitybasemethods.php
Создано системой
1.10.0