本文整理匯總了PHP中COperation::updateSalle方法的典型用法代碼示例。如果您正苦於以下問題:PHP COperation::updateSalle方法的具體用法?PHP COperation::updateSalle怎麽用?PHP COperation::updateSalle使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類COperation
的用法示例。
在下文中一共展示了COperation::updateSalle方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: foreach
$sejours = CStoredObject::massLoadFwdRef($listOp, "sejour_id");
CStoredObject::massLoadFwdRef($sejours, "patient_id");
foreach ($listOp as $key => $operation) {
$operation->loadRefPlageOp();
if ($operation->_datetime_best < $filter->_datetime_min || $operation->_datetime_best > $filter->_datetime_max) {
unset($listOp[$key]);
continue;
}
$operation->loadRefsConsultAnesth();
if ($no_consult_anesth && $operation->_ref_consult_anesth->_id) {
unset($listOp[$operation->_id]);
}
$operation->loadRefPraticien();
$operation->loadExtCodesCCAM();
$operation->updateHeureUS();
$operation->updateSalle();
$operation->loadAffectationsPersonnel();
$operation->loadRefCommande();
$sejour = $operation->loadRefSejour();
$sejour->loadRefsFwd();
if ($_print_ipp) {
$sejour->_ref_patient->loadIPP();
}
if ($_print_numdoss) {
$sejour->loadNDA();
}
if ($prestation_id) {
$sejour->loadLiaisonsForPrestation($prestation_id);
}
if ($format_print == "advanced") {
$operation->_liaisons_prestation = implode("|", $sejour->loadAllLiaisonsForDay(CMbDT::date($operation->_datetime_best)));
示例2: addUniteFonctionnelle
function addUniteFonctionnelle(DOMNode $elParent, COperation $operation)
{
$salle = $operation->updateSalle();
$nom = CMbString::removeDiacritics($salle->nom);
$nom = str_replace("'", "", $nom);
$nom = CMbString::convertHTMLToXMLEntities($nom);
$this->addCodeLibelle($elParent, "uniteFonctionnelle", substr($nom, 0, 10), "");
}