...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/livefeed.php
- Класс: \CCrmLiveFeedFilter
- Вызов: CCrmLiveFeedFilter::__construct
public function __construct($params) { if(!is_array($params)) { $params = array(); } $this->gridFormID = isset($params["GridFormID"]) ? $params["GridFormID"] : ""; $this->entityTypeID = isset($params["EntityTypeID"]) ? intval($params["EntityTypeID"]) : CCrmOwnerType::Undefined; $this->arCompanyItemsTop = array( "clearall" => array( "ID" => "clearall", "SORT" => 100, "NAME" => GetMessage("CRM_LF_COMPANY_PRESET_TOP") ), "extended" => array( "ID" => "extended", "SORT" => 100, "NAME" => GetMessage("CRM_LF_COMPANY_PRESET_TOP_EXTENDED") ) ); $this->arCommonItemsTop = array( "clearall" => array( "ID" => "clearall", "SORT" => 100, "NAME" => GetMessage("CRM_LF_COMMON_PRESET_MY") ), "all" => array( "ID" => "all", "SORT" => 200, "NAME" => GetMessage("CRM_LF_COMMON_PRESET_ALL") ) ); $this->arItems = array( "messages" => array( "ID" => "messages", "SORT" => 100, "NAME" => GetMessage("CRM_LF_PRESET_MESSAGES"), "FILTER" => array( "EVENT_ID" => array() ) ), "activities" => array( "ID" => "activities", "SORT" => 100, "NAME" => GetMessage("CRM_LF_PRESET_ACTIVITIES"), "FILTER" => array( "EVENT_ID" => array() ) ) ); }