File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/catalog/lib/restview/productimage.php
Back
<?php namespace Bitrix\Catalog\RestView; use Bitrix\Rest\Integration\View\Attributes; use Bitrix\Rest\Integration\View\DataType; use Bitrix\Rest\Integration\View\Base; final class ProductImage extends Base { /** * @return array[] */ public function getFields() { return [ 'ID' => [ 'TYPE' => DataType::TYPE_INT, 'ATTRIBUTES' => [ Attributes::READONLY ] ], 'NAME' => [ 'TYPE' => DataType::TYPE_STRING, 'ATTRIBUTES' => [ Attributes::READONLY ] ], 'PRODUCT_ID' => [ 'TYPE' => DataType::TYPE_STRING, 'ATTRIBUTES' => [ Attributes::REQUIRED ] ], 'TYPE' => [ 'TYPE' => DataType::TYPE_STRING, ], 'CREATE_TIME' => [ 'TYPE' => DataType::TYPE_DATETIME, 'ATTRIBUTES' => [ Attributes::READONLY ] ], 'DOWNLOAD_URL' => [ 'TYPE' => DataType::TYPE_STRING, 'ATTRIBUTES' => [ Attributes::READONLY ] ], 'DETAIL_URL' => [ 'TYPE' => DataType::TYPE_STRING, 'ATTRIBUTES' => [ Attributes::READONLY ] ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings