Bitrix 24/Список сделок: различия между версиями

301 байт добавлено ,  7 месяцев назад
(dfdfdf)
 
// https://bxapi.ru/src/?module_id=crm&name=CCrmDeal::GetList
<tt>CCrmDeal :: GetList($arOrder = Array('DATE_CREATE' => 'DESC'), $arFilter = Array(), $arSelect = Array(), $nPageTop = false)</tt>
<source lang="PHP">$res = CCrmDeal::GetList(array(), array("UF_CRM_1385538384" => cptools::FormatPhoneNumber($arRes["MESSAGEFIELDS"]["COMMAND_PARAMS"]), "CHECK_PERMISSIONS" => "N"), array("ID","NAME", "TITLE", "DATE_CREATE", "STAGE_ID", "ASSIGNED_BY", "UF_CRM_566BD63BDD6BE"));
while($ob = $res->Fetch()){</source>
 
<tt>CCrmDeal :: GetListEx($arOrder = array(), $arFilter = array(), $arGroupBy = false, $arNavStartParams = false, $arSelectFields = array(), $arOptions = array())</tt>
<source lang="PHP">$dbResult = \CCrmDeal::GetListEx(array(), array('=ID' => $this->srcEntityID, 'CHECK_PERMISSIONS' => 'N'), false, false, array('*', 'UF_*'));
$result = $dbResult->Fetch();
1446

правок