3declare(strict_types=1);
5namespace Bitrix\Socialnetwork\Collab\Onboarding\Command\Type;
8use Bitrix\Main\Validation\Rule\AtLeastOnePropertyNotEmpty;
9use Bitrix\Socialnetwork\Collab\Onboarding\Command\AbstractCommand;
10use Bitrix\Socialnetwork\Collab\Onboarding\Command\Handler\DeleteJobCollectionHandler;
11use Bitrix\Socialnetwork\Collab\Onboarding\Internals\Validation\Rule\ArrayOfJobTypes;
12use Bitrix\Socialnetwork\Collab\Onboarding\Internals\Validation\Rule\ArrayOfPositiveNumbers;
14#[AtLeastOnePropertyNotEmpty(['jobIds', 'userIds', 'collabIds'])]
17 #[ArrayOfPositiveNumbers]
23 #[ArrayOfPositiveNumbers]
26 #[ArrayOfPositiveNumbers]
40 $this->jobIds =
$filter[
'JOB_IDS'] ?? [];
41 $this->jobTypes =
$filter[
'JOB_TYPES'] ?? [];
42 $this->userIds =
$filter[
'USER_IDS'] ?? [];
43 $this->collabIds =
$filter[
'COLLAB_IDS'] ?? [];
45 parent::__construct();
52 return $handler($this);
__construct(array $filter=[])
readonly array $collabIds
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)