Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
paymentpaysystemavailabletable.php
1
<?php
8
namespace
Bitrix\Sale\Internals
;
9
10
use
Bitrix\Main\Localization\Loc
;
11
use
Bitrix\Main\ORM\Data\DataManager
;
12
use
Bitrix\Main\ORM\Fields\IntegerField
;
13
use
Bitrix\Main\ORM\Fields\Relations\Reference
;
14
use
Bitrix\Main\ORM\Query\Join
;
15
16
Loc::loadMessages
(__FILE__);
17
34
class
PaymentPaySystemAvailableTable
extends
DataManager
35
{
36
public
static
function
getTableName
()
37
{
38
return
'b_sale_order_payment_ps_available'
;
39
}
40
44
public
static
function
getMap
()
45
{
46
return
[
47
'ID'
=>
new
IntegerField
(
'ID'
, [
48
'primary'
=>
true
,
49
'autocomplete'
=>
true
,
50
]),
51
'PAYMENT_ID'
=>
new
IntegerField
(
'PAYMENT_ID'
, [
52
'required'
=>
true
,
53
]),
54
'PAY_SYSTEM_ID'
=>
new
IntegerField
(
'PAY_SYSTEM_ID'
, [
55
'required'
=>
true
,
56
]),
57
//
58
new
Reference
(
'PAYMENT'
, PaymentTable::class, Join::on(
'this.PAYMENT_ID'
,
'ref.ID'
)),
59
new
Reference
(
'PAY_SYSTEM'
, PaySystemActionTable::class, Join::on(
'this.PAY_SYSTEM_ID'
,
'ref.ID'
)),
60
];
61
}
62
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\Reference
Definition
reference.php:26
Bitrix\Main\ORM\Query\Join
Definition
join.php:19
Bitrix\Sale\Internals\PaymentPaySystemAvailableTable
Definition
paymentpaysystemavailabletable.php:35
Bitrix\Sale\Internals\PaymentPaySystemAvailableTable\getMap
static getMap()
Definition
paymentpaysystemavailabletable.php:44
Bitrix\Sale\Internals\PaymentPaySystemAvailableTable\getTableName
static getTableName()
Definition
paymentpaysystemavailabletable.php:36
Bitrix\Sale\Internals
Definition
accountnumber.php:3
modules
sale
lib
internals
paymentpaysystemavailabletable.php
Создано системой
1.10.0