1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
taskqueryparameter.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Integration\Tasks
;
4
5
class
TaskQueryParameter
6
{
7
public
const
TYPE_USER
=
'user'
;
8
public
const
TYPE_GROUP
=
'group'
;
9
10
private
int
$ownerId;
11
private
int
$userId;
12
private
string
$type =
''
;
13
14
public
function
__construct
(
int
$userId = 0)
15
{
16
$this->userId = $userId;
17
}
18
19
public
function
getOwnerId
(): int
20
{
21
return
$this->ownerId;
22
}
23
24
public
function
setOwnerId
(
int
$ownerId): static
25
{
26
$this->ownerId = $ownerId;
27
return
$this;
28
}
29
30
public
function
getUserId
(): int
31
{
32
return
$this->userId
;
33
}
34
35
public
function
getType
(): string
36
{
37
return
$this->type
;
38
}
39
40
public
function
setType
(
string
$type): static
41
{
42
$this->type = $type;
43
return
$this;
44
}
45
46
public
function
isUserType
(): bool
47
{
48
return
$this->type === static::TYPE_USER;
49
}
50
51
public
function
isGroupType
(): bool
52
{
53
return
$this->type === static::TYPE_GROUP;
54
}
55
}
$type
$type
Определения
options.php:106
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter
Определения
taskqueryparameter.php:6
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\isGroupType
isGroupType()
Определения
taskqueryparameter.php:51
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\getUserId
getUserId()
Определения
taskqueryparameter.php:30
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\setOwnerId
setOwnerId(int $ownerId)
Определения
taskqueryparameter.php:24
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\__construct
__construct(int $userId=0)
Определения
taskqueryparameter.php:14
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\isUserType
isUserType()
Определения
taskqueryparameter.php:46
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\TYPE_USER
const TYPE_USER
Определения
taskqueryparameter.php:7
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\getType
getType()
Определения
taskqueryparameter.php:35
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\getOwnerId
getOwnerId()
Определения
taskqueryparameter.php:19
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\TYPE_GROUP
const TYPE_GROUP
Определения
taskqueryparameter.php:8
Bitrix\Calendar\Integration\Tasks\TaskQueryParameter\setType
setType(string $type)
Определения
taskqueryparameter.php:40
Bitrix\Calendar\Integration\Tasks
Определения
taskqueryparameter.php:3
bitrix
modules
calendar
lib
integration
tasks
taskqueryparameter.php
Создано системой
1.14.0