14 public static function getList($parameters)
16 return Internals\CompanyTable::getList($parameters);
26 return Internals\CompanyTable::getById($id);
39 'filter' =>
array(
'ACTIVE' =>
'Y')
42 while ($company =
$dbRes->fetch())
47 if ($checkServiceResult !=
Restrictions\Manager::SEVERITY_STRICT)
49 if ($checkServiceResult ==
Restrictions\Manager::SEVERITY_SOFT)
50 $company[
'RESTRICTED'] = $checkServiceResult;
51 $result[$company[
'ID']] = $company;
57 $result[$company[
'ID']] = $company;
72 'select' =>
array(
'ID'),
73 'filter' =>
array(
'=ACTIVE' =>
'Y'),
74 'order' =>
array(
'SORT' =>
'ASC')
77 while ($company =
$dbRes->fetch())
83 return $company[
'ID'];
88 return $company[
'ID'];
101 return 'Bitrix\Sale\Internals\CompanyLocation';
111 static $list =
array();
113 if (empty($list[$id]))
115 $list[$id] =
array();
117 $groups = \CUser::GetUserGroup($id);
119 $filterCompany =
array(
129 '\Bitrix\Sale\Internals\CompanyGroupTable',
131 '=this.ID' =>
'ref.COMPANY_ID',
135 'order' =>
array(
'ID'),
138 $resCompany = Internals\CompanyTable::getList($filterCompany);
139 while($companyData = $resCompany->fetch())
141 $list[$id][] = $companyData[
'ID'];
static getList(array $parameters=[])
static checkService($serviceId, Entity $entity, $mode=self::MODE_CLIENT)
static getLocationConnectorEntityName()
static getUserCompanyList($id)
static getListWithRestrictions(Internals\Entity $entity, $mode=Restrictions\Manager::MODE_CLIENT)
static getAvailableCompanyIdByEntity(Internals\Entity $entity, $mode=Restrictions\Manager::MODE_CLIENT)
static getList($parameters)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)