1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
user.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Role;
4
5
use Bitrix\Calendar\Core\Base\BaseException;
6
7
class
User
extends
BaseRole
8
{
9
public
const
TYPE
=
'user'
;
10
14
public
static
array
$users
= [];
18
protected
string
$name
;
22
protected
?
int
$id
=
null
;
26
protected
?
string
$lastName
=
null
;
30
protected
?
string
$languageId
=
null
;
32
protected
?
string
$email
=
null
;
33
37
public
function
getFields
():
array
38
{
39
return
[
40
'name'
=>
$this->name
,
41
'lastName'
=>
$this->lastName
,
42
];
43
}
44
48
public
function
toString
(): string
49
{
50
return
$this->name
;
51
}
52
56
public
function
getName
(): string
57
{
58
return
$this->name
;
59
}
60
65
public
function
setLastName
(
string
$lastName
=
null
): self
66
{
67
$this->lastName =
$lastName
;
68
69
return
$this;
70
}
71
75
public
function
getLastName
(): ?string
76
{
77
return
$this->lastName
;
78
}
79
83
public
function
getFullName
(): string
84
{
85
return
$this->
getName
() .
' '
. $this->
getLastName
();
86
}
87
91
public
function
getLanguageId
(): ?string
92
{
93
return
$this->languageId
;
94
}
95
100
public
function
setLanguageId
(
string
$languageId
):
User
101
{
102
$this->languageId =
$languageId
;
103
104
return
$this;
105
}
106
111
public
function
setEmail
(?
string
$email
):
User
112
{
113
$this->email =
$email
;
114
115
return
$this;
116
}
117
}
Bitrix\Calendar\Core\Role\BaseRole
Определения
baserole.php:8
Bitrix\Calendar\Core\Role\User
Определения
user.php:8
Bitrix\Calendar\Core\Role\User\$lastName
string $lastName
Определения
user.php:26
Bitrix\Calendar\Core\Role\User\getFullName
getFullName()
Определения
user.php:83
Bitrix\Calendar\Core\Role\User\$id
int $id
Определения
user.php:22
Bitrix\Calendar\Core\Role\User\getName
getName()
Определения
user.php:56
Bitrix\Calendar\Core\Role\User\toString
toString()
Определения
user.php:48
Bitrix\Calendar\Core\Role\User\$name
string $name
Определения
user.php:18
Bitrix\Calendar\Core\Role\User\getLastName
getLastName()
Определения
user.php:75
Bitrix\Calendar\Core\Role\User\TYPE
const TYPE
Определения
user.php:9
Bitrix\Calendar\Core\Role\User\setEmail
setEmail(?string $email)
Определения
user.php:111
Bitrix\Calendar\Core\Role\User\setLanguageId
setLanguageId(string $languageId)
Определения
user.php:100
Bitrix\Calendar\Core\Role\User\$languageId
string $languageId
Определения
user.php:30
Bitrix\Calendar\Core\Role\User\$email
string $email
Определения
user.php:32
Bitrix\Calendar\Core\Role\User\getLanguageId
getLanguageId()
Определения
user.php:91
Bitrix\Calendar\Core\Role\User\$users
static array $users
Определения
user.php:14
Bitrix\Calendar\Core\Role\User\setLastName
setLastName(string $lastName=null)
Определения
user.php:65
Bitrix\Calendar\Core\Role\User\getFields
getFields()
Определения
user.php:37
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
calendar
lib
core
role
user.php
Создано системой
1.14.0