File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/catalog/lib/restview/document.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 Document extends Base { /** * Returns entity fields. * * @return array */ public function getFields() { return [ 'ID' => [ 'TYPE' => DataType::TYPE_INT, 'ATTRIBUTES' => [ Attributes::READONLY, ], ], 'DOC_TYPE' => [ 'TYPE' => DataType::TYPE_CHAR, 'ATTRIBUTES' => [ Attributes::IMMUTABLE, ], ], 'SITE_ID' => [ 'TYPE' => DataType::TYPE_CHAR, ], 'CONTRACTOR_ID' => [ 'TYPE' => DataType::TYPE_INT, ], 'RESPONSIBLE_ID' => [ 'TYPE' => DataType::TYPE_INT, 'ATTRIBUTES' => [ Attributes::REQUIRED, ], ], 'DATE_MODIFY' => [ 'TYPE' => DataType::TYPE_DATETIME, ], 'DATE_CREATE' => [ 'TYPE' => DataType::TYPE_DATETIME, 'ATTRIBUTES' => [ Attributes::IMMUTABLE, ], ], 'CREATED_BY' => [ 'TYPE' => DataType::TYPE_INT, 'ATTRIBUTES' => [ Attributes::IMMUTABLE, ], ], 'MODIFIED_BY' => [ 'TYPE' => DataType::TYPE_INT, ], 'CURRENCY' => [ 'TYPE' => DataType::TYPE_CHAR, 'ATTRIBUTES' => [ Attributes::REQUIRED, ], ], 'STATUS' => [ 'TYPE' => DataType::TYPE_CHAR, 'ATTRIBUTES' => [ Attributes::READONLY, ], ], 'DATE_STATUS' => [ 'TYPE' => DataType::TYPE_DATETIME, 'ATTRIBUTES' => [ Attributes::READONLY, ], ], 'DATE_DOCUMENT' => [ 'TYPE' => DataType::TYPE_DATETIME, ], 'STATUS_BY' => [ 'TYPE' => DataType::TYPE_INT, ], 'TOTAL' => [ 'TYPE' => DataType::TYPE_FLOAT, ], 'COMMENTARY' => [ 'TYPE' => DataType::TYPE_CHAR, ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings