Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
productimage.php
1<?php
2
4
8
9final class ProductImage extends Base
10{
14 public function getFields()
15 {
16 return [
17 'ID' => [
18 'TYPE' => DataType::TYPE_INT,
19 'ATTRIBUTES' => [
20 Attributes::READONLY
21 ]
22 ],
23 'NAME' => [
24 'TYPE' => DataType::TYPE_STRING,
25 'ATTRIBUTES' => [
26 Attributes::READONLY
27 ]
28 ],
29 'PRODUCT_ID' => [
30 'TYPE' => DataType::TYPE_STRING,
31 'ATTRIBUTES' => [
32 Attributes::REQUIRED
33 ]
34 ],
35 'TYPE' => [
36 'TYPE' => DataType::TYPE_STRING,
37 ],
38 'CREATE_TIME' => [
39 'TYPE' => DataType::TYPE_DATETIME,
40 'ATTRIBUTES' => [
41 Attributes::READONLY
42 ]
43 ],
44 'DOWNLOAD_URL' => [
45 'TYPE' => DataType::TYPE_STRING,
46 'ATTRIBUTES' => [
47 Attributes::READONLY
48 ]
49 ],
50 'DETAIL_URL' => [
51 'TYPE' => DataType::TYPE_STRING,
52 'ATTRIBUTES' => [
53 Attributes::READONLY
54 ]
55 ],
56 ];
57 }
58}