本文整理匯總了PHP中COperation::guessActesAssociation方法的典型用法代碼示例。如果您正苦於以下問題:PHP COperation::guessActesAssociation方法的具體用法?PHP COperation::guessActesAssociation怎麽用?PHP COperation::guessActesAssociation使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類COperation
的用法示例。
在下文中一共展示了COperation::guessActesAssociation方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: COperation
// @todo bloc n'est pas forcément actif
global $can;
$can->read |= CModule::getActive("dPbloc")->_can->read;
$can->needsRead();
$operation_id = CValue::getOrSession("operation_id", null);
$operation = new COperation();
$operation->load($operation_id);
$operation->loadRefsAnesthPerops();
$operation->loadRefsFwd();
$operation->loadRefsActesCCAM();
foreach ($operation->_ref_actes_ccam as $acte) {
$acte->loadRefsFwd();
}
$operation->loadAffectationsPersonnel();
if (CAppUI::conf('dPccam CCodeCCAM use_new_association_rules')) {
$operation->guessActesAssociation();
} else {
foreach ($operation->_ref_actes_ccam as $acte) {
$acte->guessAssociation();
}
}
$operation->loadRefSortieLocker()->loadRefFunction();
$sejour = $operation->_ref_sejour;
$sejour->loadRefsFwd();
$sejour->loadRefPrescriptionSejour();
/** @var CAdministration[] $administrations */
$administrations = array();
$prescription_id = null;
if (CModule::getActive("dPprescription")) {
$prescription_id = $sejour->_ref_prescription_sejour->_id;
if ($prescription_id) {