Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
roombuilderfromrequest.php
1
<?php
2
namespace
Bitrix\Calendar\Core\Builders\Rooms
;
3
4
class
RoomBuilderFromRequest
extends
RoomBuilder
5
{
7
private
$request;
8
12
public
function
__construct
($request)
13
{
14
$this->request = $request;
15
}
16
17
function
getId
(): int
18
{
19
return
(
int
)$this->request->getPost(
'id'
);
20
}
21
22
function
getLocationId
(): int
23
{
24
return
(
int
)$this->request->getPost(
'location_id'
);
25
}
26
27
function
getCapacity
()
28
{
29
return
$this->request->getPost(
'capacity'
);
30
}
31
32
function
getNecessity
()
33
{
34
return
$this->request->getPost(
'necessity'
);
35
}
36
37
function
getName
()
38
{
39
return
$this->request->getPost(
'name'
);
40
}
41
42
function
getColor
()
43
{
44
return
$this->request->getPost(
'color'
);
45
}
46
47
function
getOwnerId
(): int
48
{
49
return
(
int
)$this->request->getPost(
'ownerId'
);
50
}
51
52
function
getAccess
()
53
{
54
return
$this->request->getPost(
'access'
);
55
}
56
57
function
getCategoryId
(): int
58
{
59
return
(
int
)$this->request->getPost(
'categoryId'
);
60
}
61
}
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest
Definition
roombuilderfromrequest.php:5
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getAccess
getAccess()
Definition
roombuilderfromrequest.php:52
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getId
getId()
Definition
roombuilderfromrequest.php:17
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getCapacity
getCapacity()
Definition
roombuilderfromrequest.php:27
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getName
getName()
Definition
roombuilderfromrequest.php:37
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getNecessity
getNecessity()
Definition
roombuilderfromrequest.php:32
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\__construct
__construct($request)
Definition
roombuilderfromrequest.php:12
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getLocationId
getLocationId()
Definition
roombuilderfromrequest.php:22
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getColor
getColor()
Definition
roombuilderfromrequest.php:42
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getOwnerId
getOwnerId()
Definition
roombuilderfromrequest.php:47
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilderFromRequest\getCategoryId
getCategoryId()
Definition
roombuilderfromrequest.php:57
Bitrix\Calendar\Core\Builders\Rooms\RoomBuilder
Definition
roombuilder.php:8
Bitrix\Calendar\Core\Builders\Rooms
modules
calendar
lib
core
builders
rooms
roombuilderfromrequest.php
Создано системой
1.10.0