Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
site.php
1
<?php
2
namespace
Bitrix\Sale\Services\PaySystem\Restrictions
;
3
4
use
Bitrix\Main\Localization\Loc
;
5
use
Bitrix\Sale
;
6
use
Bitrix\Sale\Services\Base
;
7
8
Loc::loadMessages
(__FILE__);
9
14
class
Site
extends
Base\SiteRestriction
15
{
20
protected
static
function
getOrder
(
Sale
\Internals\
Entity
$entity)
21
{
22
if
(!($entity instanceof
Sale
\
Payment
))
23
{
24
return
null
;
25
}
26
28
$collection = $entity->getCollection();
29
30
return
$collection->getOrder();
31
}
32
}
Bitrix\Main\Context\Site
Definition
site.php:14
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Sale\Payment
Definition
payment.php:19
Bitrix\Sale\Services\Base\SiteRestriction\getOrder
static getOrder(Entity $entity)
Definition
siterestriction.php:62
Bitrix\Sale\Services\Base
Definition
concreteproductrestriction.php:3
Bitrix\Sale\Services\PaySystem\Restrictions
Definition
concreteproduct.php:3
Bitrix\Sale
Sale
modules
sale
lib
services
paysystem
restrictions
site.php
Создано системой
1.10.0