...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
- Класс: \CAllCrmActivity
- Вызов: CAllCrmActivity::GetFieldsInfo
static function GetFieldsInfo() { if(!self::$FIELD_INFOS) { self::$FIELD_INFOS = array( 'ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'OWNER_ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Immutable) ), 'OWNER_TYPE_ID' => array( 'TYPE' => 'crm_enum_ownertype', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Immutable) ), 'TYPE_ID' => array( 'TYPE' => 'crm_enum_activitytype', 'ATTRIBUTES' => array( CCrmFieldInfoAttr::Required, CCrmFieldInfoAttr::Immutable ) ), 'PROVIDER_ID' => array('TYPE' => 'string'), 'PROVIDER_TYPE_ID' => array('TYPE' => 'string'), 'PROVIDER_GROUP_ID' => array('TYPE' => 'string'), 'ASSOCIATED_ENTITY_ID' => array( 'TYPE' => 'integer', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'SUBJECT' => array( 'TYPE' => 'string', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Required) ), 'START_TIME' => array('TYPE' => 'datetime'), 'END_TIME' => array('TYPE' => 'datetime'), 'DEADLINE' => array('TYPE' => 'datetime'), 'COMPLETED' => array('TYPE' => 'char'), 'STATUS' => array('TYPE' => 'crm_enum_activitystatus'), 'RESPONSIBLE_ID' => array( 'TYPE' => 'user', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::Required) ), 'PRIORITY' => array('TYPE' => 'crm_enum_activitypriority'), 'NOTIFY_TYPE' => array('TYPE' => 'crm_enum_activitynotifytype'), 'NOTIFY_VALUE' => array('TYPE' => 'integer'), 'DESCRIPTION' => array('TYPE' => 'string'), 'DESCRIPTION_TYPE' => array('TYPE' => 'crm_enum_contenttype'), 'DIRECTION' => array('TYPE' => 'crm_enum_activitydirection'), 'LOCATION' => array('TYPE' => 'string'), 'CREATED' => array( 'TYPE' => 'datetime', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'AUTHOR_ID' => array( 'TYPE' => 'user', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'LAST_UPDATED' => array( 'TYPE' => 'datetime', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'EDITOR_ID' => array( 'TYPE' => 'user', 'ATTRIBUTES' => array(CCrmFieldInfoAttr::ReadOnly) ), 'SETTINGS' => array('TYPE' => 'object'), 'ORIGIN_ID' => array('TYPE' => 'string'), 'ORIGINATOR_ID' => array('TYPE' => 'string'), 'RESULT_STATUS' => array('TYPE' => 'integer'), 'RESULT_STREAM' => array('TYPE' => 'integer'), 'RESULT_SOURCE_ID' => array('TYPE' => 'string'), 'PROVIDER_PARAMS' => array('TYPE' => 'object'), 'PROVIDER_DATA' => array('TYPE' => 'string'), 'RESULT_MARK' => array('TYPE' => 'integer'), 'RESULT_VALUE' => array('TYPE' => 'double'), 'RESULT_SUM' => array('TYPE' => 'double'), 'RESULT_CURRENCY_ID' => array('TYPE' => 'string'), 'AUTOCOMPLETE_RULE' => array('TYPE' => 'integer'), ); } return self::$FIELD_INFOS; }