1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
C:/bitrix/modules/socialnetwork/lib/Collab/Onboarding/Command/Type/DeleteJobsCommand.php
Аргументы
array$filter

[ 'JOB_IDS' => [1, 2, 3], 'USER_IDS' => [1, 2, 3], 'COLLAB_IDS' => [1, 2, 3], ]

<?php
declare(strict_types=1);
#[AtLeastOnePropertyNotEmpty(['jobIds', 'userIds', 'collabIds'])]
class DeleteJobsCommand extends AbstractCommand
{
#[ArrayOfPositiveNumbers]
public readonly array $jobIds;
#[ArrayOfJobTypes]
public readonly array $jobTypes;
#[ArrayOfPositiveNumbers]
public readonly array $userIds;
#[ArrayOfPositiveNumbers]
public readonly array $collabIds;
public function __construct(array $filter = [])
{
$this->jobIds = $filter['JOB_IDS'] ?? [];
$this->jobTypes = $filter['JOB_TYPES'] ?? [];
$this->userIds = $filter['USER_IDS'] ?? [];
$this->collabIds = $filter['COLLAB_IDS'] ?? [];
parent::__construct();
}
protected function execute(): Result
{
$handler = new DeleteJobCollectionHandler();
return $handler($this);
}
}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$filter
Определения iblock_catalog_list.php:54