...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmTimelineCommentRestProxy
- Вызов: CCrmTimelineCommentRestProxy::getFieldsInfo
protected function getFieldsInfo() { if(!$this->FIELDS_INFO) { $this->FIELDS_INFO = array( 'ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'CREATED' => array( 'TYPE' => 'datetime', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'ENTITY_ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array( CCrmFieldInfoAttr::Required, CCrmFieldInfoAttr::Immutable ) ), 'ENTITY_TYPE' => array( 'TYPE' => 'string', 'ATTRIBUTES' => array( CCrmFieldInfoAttr::Required, CCrmFieldInfoAttr::Immutable ) ), 'AUTHOR_ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array( CCrmFieldInfoAttr::Immutable ) ), 'COMMENT' => array( 'TYPE' => 'string' ), 'FILES' => array( 'TYPE' => 'attached_diskfile', 'ALIAS' => 'CRM_TIMELINE', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Multiple), ) ); foreach ($this->FIELDS_INFO as $code=>&$field) { $field['CAPTION'] = Loc::getMessage("CRM_REST_TIMELINE_COMMENT_FIELD_".$code); } } return $this->FIELDS_INFO; }