Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Sale\Delivery\ExtraServices\Base
Definition
base.php:10
Bitrix\Sale\PersonType
Definition
persontype.php:17
Bitrix\Sale\Services\Company\Restrictions\PersonType\getSeverity
static getSeverity($mode)
Definition
persontype.php:17
Bitrix\Sale\Services\Base
Definition
concreteproductrestriction.php:3
Bitrix\Sale\Services\Company\Restrictions
Definition
currency.php:2
modules
sale
lib
services
company
restrictions
persontype.php
Создано системой
1.10.0