本文整理匯總了PHP中CSearch::loadAggregationObject方法的典型用法代碼示例。如果您正苦於以下問題:PHP CSearch::loadAggregationObject方法的具體用法?PHP CSearch::loadAggregationObject怎麽用?PHP CSearch::loadAggregationObject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CSearch
的用法示例。
在下文中一共展示了CSearch::loadAggregationObject方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: foreach
} else {
$array_highlights[] = "";
}
}
// traitement des auteurs
foreach ($author_ids as $author) {
$authors[$author] = CMbObject::loadFromGuid("CMediusers-{$author}");
$authors[$author]->loadRefFunction();
}
// traitement des patients
foreach ($patient_ids as $_patient) {
$patients[$_patient] = CMbObject::loadFromGuid("CPatient-{$_patient}");
}
//traitement des contextes référents si aggregation est cochée
if ($aggregate) {
$objects_refs = $client_index->loadAggregationObject($results_query->getAggregations("ref_class"));
}
} catch (Exception $e) {
CAppUI::displayAjaxMsg("La requête est mal formée", UI_MSG_ERROR);
mbLog($e->getMessage());
}
$rss_items = array();
$items = array();
if ($contexte == "pmsi" && CModule::getActive("atih")) {
$rss = new CRSS();
$rss->sejour_id = $sejour_id;
$rss->loadMatchingObject();
$rss_items = $rss->loadRefsSearchItems();
foreach ($rss_items as $_items) {
$items[] = $_items->search_class . "-" . $_items->search_id;
}