本文整理汇总了PHP中COperation::loadlist方法的典型用法代码示例。如果您正苦于以下问题:PHP COperation::loadlist方法的具体用法?PHP COperation::loadlist怎么用?PHP COperation::loadlist使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类COperation
的用法示例。
在下文中一共展示了COperation::loadlist方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: implode
$where_libelle = "`libelle` LIKE '%{$libelle_intervention}%'";
$where_intervention[] = $where_libelle;
}
if ($ccam_intervention) {
$where_ccam = "`codes_ccam` LIKE '%{$ccam_intervention}%'";
$where_intervention[] = $where_ccam;
}
if ($where_intervention) {
$where_intervention = implode(" OR ", $where_intervention);
}
}
$order_intervention = "rques";
$total_intervs = null;
if ($where_intervention) {
$total_intervs = $intervention->countList($where_intervention);
$interventions = $intervention->loadlist($where_intervention, $order_intervention, "{$page_interv}, 30");
}
foreach ($interventions as &$intervention) {
$intervention->loadRefSejour();
$intervention->_ref_sejour->loadRefPatient();
}
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("dossierMedical", $dossierMedical);
$smarty->assign("canCabinet", $canCabinet);
$smarty->assign("canPlanningOp", $canPlanningOp);
$smarty->assign("sejours", $sejours);
$smarty->assign("page_sejour", $page_sejour);
$smarty->assign("total_sejours", $total_sejours);
$smarty->assign("interventions", $interventions);
$smarty->assign("page_interv", $page_interv);