1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
CollabDeleteEvent.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Collab\Control\Event;
6
7
use Bitrix\Main\Event;
8
use Bitrix\Socialnetwork\Collab\Collab;
9
use Bitrix\Socialnetwork\Collab\Control\Command\CollabDeleteCommand;
10
11
class
CollabDeleteEvent
extends
Event
12
{
13
public
function
__construct
(
CollabDeleteCommand
$command,
Collab
$collab)
14
{
15
$parameters
= [
16
'command'
=> $command,
17
'collab'
=> $collab,
18
];
19
20
parent::__construct(
'socialnetwork'
,
'OnCollabDelete'
,
$parameters
);
21
}
22
23
public
function
getCommand
():
CollabDeleteCommand
24
{
25
return
$this->parameters[
'command'
];
26
}
27
28
public
function
getCollab
():
Collab
29
{
30
return
$this->parameters[
'collab'
];
31
}
32
}
Bitrix\Main\Event
Определения
event.php:5
Bitrix\Main\Event\$parameters
$parameters
Определения
event.php:8
Bitrix\Socialnetwork\Collab\Collab
Определения
Collab.php:16
Bitrix\Socialnetwork\Collab\Control\Command\CollabDeleteCommand
Определения
CollabDeleteCommand.php:13
Bitrix\Socialnetwork\Collab\Control\Event\CollabDeleteEvent
Определения
CollabDeleteEvent.php:12
Bitrix\Socialnetwork\Collab\Control\Event\CollabDeleteEvent\getCommand
getCommand()
Определения
CollabDeleteEvent.php:23
Bitrix\Socialnetwork\Collab\Control\Event\CollabDeleteEvent\__construct
__construct(CollabDeleteCommand $command, Collab $collab)
Определения
CollabDeleteEvent.php:13
Bitrix\Socialnetwork\Collab\Control\Event\CollabDeleteEvent\getCollab
getCollab()
Определения
CollabDeleteEvent.php:28
bitrix
modules
socialnetwork
lib
Collab
Control
Event
CollabDeleteEvent.php
Создано системой
1.14.0