1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
factory.php
См. документацию.
1<?php
2
3
4namespace Bitrix\Sale\Exchange\Integration\Service\Internal\Entity;
5
6
7use Bitrix\Sale\Exchange\Integration\CRM\EntityType;
8
9class Factory
10{
11 static public function create($type, array $values = null)
12 {
14 {
15 return new Activity($values);
16 }
18 {
19 return new Deal($values);
20 }
22 {
23 return new Company($values);
24 }
26 {
27 return new Contact($values);
28 }
29 else
30 {
31 throw new \Bitrix\Main\NotSupportedException("BuilderEntity type: '".$type."' is not supported in current context");
32 }
33 }
34}
$type
Определения options.php:106
static create($type, array $values=null)
Определения factory.php:11
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if( $daysToExpire >=0 &&$daysToExpire< 60 elseif)( $daysToExpire< 0)
Определения prolog_main_admin.php:393