当前位置: 首页>>代码示例>>PHP>>正文


PHP CIdSante400::countMatchingList方法代码示例

本文整理汇总了PHP中CIdSante400::countMatchingList方法的典型用法代码示例。如果您正苦于以下问题:PHP CIdSante400::countMatchingList方法的具体用法?PHP CIdSante400::countMatchingList怎么用?PHP CIdSante400::countMatchingList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CIdSante400的用法示例。


在下文中一共展示了CIdSante400::countMatchingList方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

 * @license    GNU General Public License, see http://www.gnu.org/licenses/gpl.html
 * @version    $Revision$
 */
CCanDo::checkAdmin();
global $can;
if (CAppUI::$user->_user_type = !1) {
    $can->redirect();
}
$patient_id = CValue::getOrSession("patient_id");
$naissance = CValue::getOrSession("naissance", array("day" => 1, "month" => 1, "year" => 1));
// Patient à analyser
$patient = new CPatient();
$idex = new CIdSante400();
$idex->object_class = "CPatient";
$idex->tag = CAppUI::conf("dPpatients CPatient tag_conflict_ipp") . CAppUI::conf("dPpatients CPatient tag_ipp");
$count_conflicts = $idex->countMatchingList();
$patient->load($patient_id);
// Liste des praticiens disponibles
$listPrat = array();
if ($patient->_id) {
    $listPrat = new CMediusers();
    $listPrat = $listPrat->loadPraticiens(PERM_READ);
    $patient->loadDossierComplet();
}
if ($patient->_id) {
    foreach ($patient->_ref_sejours as &$_sejour) {
        $_sejour->loadNDA();
    }
}
// Chargement des identifiants standards
$patient->loadIPP();
开发者ID:OpenXtrem,项目名称:mediboard-test,代码行数:31,代码来源:vw_identito_vigilance.php

示例2: CSmartyDP

// Chargement de la liste des id4Sante400 pour le filtre
$filter = new CIdSante400();
$filter->object_id = $object_id;
$filter->object_class = $object_class;
$filter->tag = $tag;
$filter->id400 = $id400;
$filter->nullifyEmptyFields();
// Chargement de la cible si objet unique
$target = null;
if ($filter->object_id && $filter->object_class) {
    $target = new $filter->object_class();
    $target->load($filter->object_id);
}
// Requête du filtre
$step = 25;
$idexs = $filter->loadMatchingList(null, "{$page}, {$step}");
foreach ($idexs as $_idex) {
    $_idex->loadRefs();
    $_idex->getSpecialType();
}
$total_idexs = $filter->countMatchingList();
// Création du template
$smarty = new CSmartyDP();
$smarty->assign("idexs", $idexs);
$smarty->assign("total_idexs", $total_idexs);
$smarty->assign("filter", $filter);
$smarty->assign("idex_id", $idex_id);
$smarty->assign("dialog", $dialog);
$smarty->assign("page", $page);
$smarty->assign("target", $target);
$smarty->display("inc_list_identifiants.tpl");
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_list_identifiants.php

示例3: countObjects

 /**
  * Count objects
  *
  * @return int
  */
 function countObjects()
 {
     $idex = new CIdSante400();
     $idex->tag = $this->tag;
     $this->_count_objects = $idex->countMatchingList();
     $where = array("tag" => " = '{$this->tag}'");
     return $this->_detail_objects = $idex->countMultipleList($where, null, "object_class", null, array("object_class"), "tag");
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:13,代码来源:CDomain.class.php


注:本文中的CIdSante400::countMatchingList方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。