1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
persontype.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\Services\Company\Restrictions;
4
5
use Bitrix\Main\Localization\Loc;
6
use Bitrix\Sale\Services\Base;
7
use \Bitrix\Sale\Services\PaySystem\Restrictions;
8
9
Loc::loadMessages(__FILE__);
10
11
class
PersonType
extends
Restrictions\PersonType
12
{
17
public
static
function
getSeverity
($mode)
18
{
19
$result
=
Base\RestrictionManager::SEVERITY_STRICT
;
20
21
if
($mode ==
Base
\RestrictionManager::MODE_MANAGER)
22
return
Base\RestrictionManager::SEVERITY_SOFT
;
23
24
return
$result
;
25
}
26
}
Bitrix\Sale\PersonType
Определения
persontype.php:17
Bitrix\Sale\Services\Base\RestrictionManager\SEVERITY_SOFT
const SEVERITY_SOFT
Определения
restrictionmanager.php:30
Bitrix\Sale\Services\Base\RestrictionManager\SEVERITY_STRICT
const SEVERITY_STRICT
Определения
restrictionmanager.php:31
Bitrix\Sale\Services\Company\Restrictions\PersonType\getSeverity
static getSeverity($mode)
Определения
persontype.php:17
$result
$result
Определения
get_property_values.php:14
Bitrix\Sale\Services\Base
Определения
concreteproductrestriction.php:3
bitrix
modules
sale
lib
services
company
restrictions
persontype.php
Создано системой
1.14.0