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


PHP CMbDT::dateToLocale方法代码示例

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


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

示例1: updateFormFields

 /**
  * @see parent::updateFormFields()
  */
 function updateFormFields()
 {
     parent::updateFormFields();
     $this->_view = "Indisponibilité du " . CMbDT::dateToLocale($this->deb);
     if ($this->deb != $this->fin) {
         $this->_view .= " au " . CMbDT::dateToLocale($this->fin);
     }
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:11,代码来源:CIndispoRessource.class.php

示例2: foreach

            foreach ($_patient->_ext_codes_cim as $_ext_code_cim) {
                $dossier_medical .= "{$_ext_code_cim->code}: {$_ext_code_cim->libelle} \n";
            }
        }
        $object_view = "";
        if (isset($_patient->_distant_object)) {
            $object = $_patient->_distant_object;
            switch (get_class($object)) {
                case "CConsultation":
                    $object_view = "Consultation du " . CMbDT::dateToLocale($object->_ref_plageconsult->date) . " à " . CMbDT::format($object->heure, "%Hh:%M");
                    break;
                case "CSejour":
                    $object_view = "Séjour du " . CMbDT::dateToLocale(CMbDT::date($object->entree)) . "au " . CMbDT::dateToLocale(CMbDT::date($object->sortie));
                    break;
                case "COperation":
                    $object_view = "Intervention du " . CMbDT::dateToLocale(CMbDT::date($object->_datetime_best));
            }
        }
        $content_line = "";
        if (isset($_patient->_distant_line)) {
            $content_line = $_patient->_distant_line;
        }
        $data_line = array($_patient->_view . " (" . strtoupper($_patient->sexe) . ")", $_patient->_age_epoque, $dossier_medical, $object_view, $content_line->_view, $content_line->_ref_produit->_dci_view, $content_line->_ref_produit->_ref_ATC_5_code, $content_line->_ref_produit->_ref_ATC_5_libelle, $content_line->commentaire);
        $csv->writeLine($data_line);
    }
    $period = "du_" . ($from ? $from : "_") . "_au_" . ($to ? $to : "_");
    $csv->stream("dossiers_clinique_" . $period);
    CApp::rip();
}
// Création du template
$smarty = new CSmartyDP();
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_recherche_dossier_clinique.php

示例3: CViewAccessToken

try {
    $exchange_source->setRecipient($email);
    // Création du token
    $token = new CViewAccessToken();
    $token->ttl_hours = 24;
    $token->user_id = $praticien->_id;
    $token->params = "m=planningOp&a=vw_edit_urgence&operation_id={$operation_id}";
    if ($msg = $token->store()) {
        CAppUI::displayAjaxMsg($msg, UI_MSG_ERROR);
    }
    $url = $token->getUrl();
    // Lien vers la DHE
    $subject = CAppUI::conf("reservation subject_mail");
    $content = CAppUI::conf("reservation text_mail");
    $from = array("[URL]", "[PRATICIEN - NOM]", "[PRATICIEN - PRENOM]", "[DATE INTERVENTION]", "[HEURE INTERVENTION]");
    $to = array($url, $praticien->_user_last_name, $praticien->_user_first_name, CMbDT::dateToLocale(CMbDT::date($operation->_datetime_best)), CMbDT::transform($operation->_datetime_best, null, CAppUI::conf("time")));
    $subject = str_replace($from, $to, $subject);
    $exchange_source->setSubject($subject);
    $content = str_replace($from, $to, $content);
    $content = nl2br(utf8_encode($content));
    $exchange_source->setBody($content);
    $exchange_source->send();
    $operation->envoi_mail = CMbDT::dateTime();
    if ($msg = $operation->store()) {
        CAppUI::displayAjaxMsg($msg, UI_MSG_ERROR);
    }
    CAppUI::displayAjaxMsg("Message envoyé");
} catch (phpmailerException $e) {
    CAppUI::displayAjaxMsg($e->errorMessage(), UI_MSG_WARNING);
} catch (CMbException $e) {
    $e->stepAjax();
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_send_mail.php

示例4: CExtractPassages

    }
    // Statistiques  d'âge de patient
    $patient =& $_sejour->_ref_patient;
    if ($patient->_annees < "1") {
        $stats[$entree_patient]["less_than_1"]++;
    }
    if ($patient->_annees >= "75") {
        $stats[$entree_patient]["more_than_75"]++;
    }
}
$extractPassages = new CExtractPassages();
$extractPassages->date_extract = CMbDT::dateTime();
$extractPassages->type = "urg";
$extractPassages->debut_selection = $debut_selection;
$extractPassages->fin_selection = $fin_selection;
$extractPassages->group_id = CGroups::loadCurrent()->_id;
$extractPassages->store();
$doc_valid = null;
// Appel de la fonction d'extraction du RPUSender
$rpuSender = $extractPassages->getRPUSender();
if (!$rpuSender) {
    CAppUI::stepAjax("Aucun sender définit dans le module dPurgences.", UI_MSG_ERROR);
}
$extractPassages = $rpuSender->extractURG($extractPassages, $stats);
CAppUI::stepAjax("Extraction de {$count_sejour} séjours du " . CMbDT::dateToLocale($debut_selection) . " au " . CMbDT::dateToLocale($fin_selection) . " terminée.", UI_MSG_OK);
if (!$extractPassages->message_valide) {
    CAppUI::stepAjax("Le document produit n'est pas valide.", UI_MSG_WARNING);
} else {
    CAppUI::stepAjax("Le document produit est valide.", UI_MSG_OK);
}
echo "<script>RPU_Sender.extract_passages_id = {$extractPassages->_id};</script>";
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_extract_passages_urg.php

示例5: updateFormFields

 /**
  * @see parent::updateFormFields()
  */
 function updateFormFields()
 {
     parent::updateFormFields();
     $this->loadRefParturiente();
     $this->_view = "Terme du " . CMbDT::dateToLocale($this->terme_prevu);
     // Nombre de semaines (aménorrhée = 41, grossesse = 39)
     $this->_date_fecondation = CMbDT::date("-41 weeks", $this->terme_prevu);
     $this->_semaine_grossesse = ceil(CMbDT::daysRelative($this->_date_fecondation, CMbDT::date()) / 7);
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:12,代码来源:CGrossesse.class.php

示例6: completeLabelFields

 /**
  * @see parent::completeLabelFields()
  */
 function completeLabelFields(&$fields, $params)
 {
     if (!isset($this->_from_op)) {
         $this->loadRefLastOperation()->_from_sejour = 1;
         $this->_ref_last_operation->completeLabelFields($fields, $params);
     }
     $this->loadRefPatient()->completeLabelFields($fields, $params);
     $this->loadRefPraticien();
     $this->loadNDA();
     $this->loadNRA();
     $now = CMbDT::dateTime();
     $affectation = $this->getCurrAffectation($this->entree > $now ? $this->entree : null);
     $affectation->loadView();
     $affectation->loadRefService();
     $souhaits = array();
     if (CAppUI::conf("dPhospi prestations systeme_prestations", CGroups::loadCurrent()) == "expert") {
         /** @var CItemLiaison[] $items_liaisons */
         $items_liaisons = $this->loadBackRefs("items_liaisons", "date");
         CStoredObject::massLoadFwdRef($items_liaisons, "item_souhait_id");
         CStoredObject::massLoadFwdRef($items_liaisons, "sous_item_id");
         foreach ($items_liaisons as $_liaison) {
             $item_souhait = $_liaison->loadRefItem();
             if ($item_souhait->object_class == "CPrestationPonctuelle") {
                 continue;
             }
             $sous_item = $_liaison->loadRefSousItem();
             $nom = $item_souhait;
             if ($sous_item->_id) {
                 $nom = $sous_item->nom;
             }
             $souhaits[] = $nom;
         }
     }
     $meds_dispenses = array();
     if (isset($params["debut_dispensation"]) && isset($params["fin_dispensation"])) {
         $from = $params["debut_dispensation"];
         $to = $params["fin_dispensation"];
         $delivery = new CProductDelivery();
         $where = array("date_dispensation" => "BETWEEN '{$from}' AND '{$to}'", "sejour_id" => "= '{$this->_id}'");
         $deliveries = $delivery->loadList($where);
         $stocks = CStoredObject::massLoadFwdRef($deliveries, "stock_id");
         $products = CStoredObject::massLoadFwdRef($stocks, "product_id");
         /** @var CProduct $_product */
         foreach ($products as $_product) {
             $meds_dispenses[] = $_product->code . " " . $_product->name;
         }
     }
     $fields_sejour = array("DATE ENT" => CMbDT::dateToLocale(CMbDT::date($this->entree)), "HEURE ENT" => CMbDT::transform($this->entree, null, "%H:%M"), "DATE SORTIE" => CMbDT::dateToLocale(CMbDT::date($this->sortie)), "HEURE SORTIE" => CMbDT::transform($this->sortie, null, "%H:%M"), "PRAT RESPONSABLE" => $this->_ref_praticien->_view, "NDOS" => $this->_NDA, "NRA" => $this->_ref_NRA ? $this->_ref_NRA->id400 : "", "CODE BARRE NDOS" => "@BARCODE_" . $this->_NDA . "@", "CHAMBRE COURANTE" => $affectation->_view, "SERVICE COURANT" => $affectation->_ref_service->_view, "MEDICAMENTS DISPENSES" => implode("\n", $meds_dispenses));
     if (CAppUI::conf("dPhospi prestations systeme_prestations", CGroups::loadCurrent()) == "expert") {
         $fields_sejour["PRESTATIONS SOUHAITEES"] = implode(" - ", $souhaits);
     }
     $fields = array_merge($fields, $fields_sejour);
     if (CAppUI::conf("ref_pays") == 2) {
         $fields["NATURE SEJOUR"] = $this->getFormattedValue("_type_sejour");
         $fields["MODE TRT"] = $this->loadRefChargePriceIndicator()->code;
         $this->loadRefsFactureEtablissement();
         if ($this->_ref_last_facture) {
             $this->_ref_last_facture->loadRefAssurance();
             $fields["ASSUR MALADIE"] = $this->_ref_last_facture->_ref_assurance_maladie->nom;
             $fields["ASSUR ACCIDENT"] = $this->_ref_last_facture->_ref_assurance_accident->nom;
         }
     }
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:66,代码来源:CSejour.class.php

示例7: array

$names = array("nom" => "", "nom_jeune_fille" => "");
$prenom = null;
$PID5 = $xml->query("PID.5", $PID);
foreach ($PID5 as $_PID5) {
    // Nom(s)
    getNames($xml, $_PID5, $PID5, $names);
    // Prenom(s)
    $prenom = getFirstNames($xml, $_PID5);
}
$queries = array("Message" => array("control_id" => $xml->queryTextNode("MSH.10", $MSH), "datetime" => CMbDT::dateToLocale($xml->queryTextNode("MSH.7/TS.1", $MSH))), "EVN" => array("planned_event" => CMbDT::dateToLocale($xml->queryTextNode("EVN.2/TS.1", $EVN)), "event_occurred" => CMbDT::dateToLocale($xml->queryTextNode("EVN.6/TS.1", $EVN))), "CPatient" => array("nom" => $names["nom"], "nom_jeune_fille" => $names["nom_jeune_fille"], "prenom" => $prenom, "naissance" => CMbDT::dateToLocale($xml->queryTextNode("PID.7", $PID)), "_IPP" => CValue::read($data["personIdentifiers"], "PI")), "CSejour" => array("type" => $xml->queryTextNode("PV1.2", $PV1), "entree_prevue" => CMbDT::dateToLocale($xml->queryTextNode("PV2.8/TS.1", $PV2)), "entree_reelle" => CMbDT::dateToLocale($xml->queryTextNode("PV1.44/TS.1", $PV1)), "sortie_prevue" => CMbDT::dateToLocale($xml->queryTextNode("PV2.9/TS.1", $PV2)), "sortie_reelle" => CMbDT::dateToLocale($xml->queryTextNode("PV1.45/TS.1", $PV1)), "_NDA" => CValue::read($data["personIdentifiers"], "AN")));
if ($ZBE) {
    $movement_id = null;
    foreach ($xml->queryNodes("ZBE.1", $ZBE) as $ZBE_1) {
        $movement_id .= $xml->queryTextNode("EI.1", $ZBE_1) . "\n";
    }
    $queries_ZBE = array("CMovement" => array("movement_id" => $movement_id, "start_of_movement" => CMbDT::dateToLocale($xml->queryTextNode("ZBE.2/TS.1", $ZBE))));
    $queries = array_merge($queries, $queries_ZBE);
}
function getNames(CHL7v2MessageXML $xml, DOMNode $node, DOMNodeList $PID5, &$names = array())
{
    $fn1 = $xml->queryTextNode("XPN.1/FN.1", $node);
    switch ($xml->queryTextNode("XPN.7", $node)) {
        case "D":
            $names["nom"] = $fn1;
            break;
        case "L":
            // Dans le cas où l'on a pas de nom de nom de naissance le legal name
            // est le nom du patient
            if ($PID5->length > 1) {
                $names["nom_jeune_fille"] = $fn1;
            } else {
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_show_fast_queries.php

示例8: completeLabelFields

 function completeLabelFields(&$fields, $params)
 {
     $this->loadIPP();
     $medecin_traitant = new CMedecin();
     $medecin_traitant->load($this->medecin_traitant);
     $this->loadRefsCorrespondantsPatient();
     $prevenir = new CCorrespondantPatient();
     if (count($this->_ref_cp_by_relation["prevenir"])) {
         $prevenir = reset($this->_ref_cp_by_relation["prevenir"]);
     }
     $fields = array_merge($fields, array("DATE NAISS" => CMbDT::dateToLocale($this->naissance), "IPP" => $this->_IPP, "LIEU NAISSANCE" => $this->lieu_naissance, "NOM" => $this->nom, "NOM JF" => $this->nom_jeune_fille, "FORMULE NOM JF" => $this->sexe == "f" && $this->nom_jeune_fille ? "née {$this->nom_jeune_fille}" : "", "PRENOM" => $this->prenom, "SEXE" => strtoupper($this->sexe), "CIVILITE" => $this->civilite, "CIVILITE LONGUE" => $this->_civilite_long, "ACCORD GENRE" => $this->sexe == "f" ? "e" : "", "CODE BARRE IPP" => "@BARCODE_" . $this->_IPP . "@", "ADRESSE" => "{$this->adresse} \n{$this->cp} {$this->ville}", "MED. TRAITANT" => "Dr {$medecin_traitant->nom} {$medecin_traitant->prenom}", "TEL" => $this->getFormattedValue("tel"), "TEL PORTABLE" => $this->getFormattedValue("tel2"), "TEL ETRANGER" => $this->getFormattedValue("tel_autre"), "PAYS" => $this->getFormattedValue("pays"), "PREVENIR - NOM" => $prevenir->nom, "PREVENIR - PRENOM" => $prevenir->prenom, "PREVENIR - ADRESSE" => $prevenir->adresse, "PREVENIR - TEL" => $prevenir->getFormattedValue("tel"), "PREVENIR - PORTABLE" => $prevenir->getFormattedValue("mob"), "PREVENIR - CP VILLE" => "{$prevenir->cp} {$prevenir->ville}"));
     switch (CAppUI::conf("ref_pays")) {
         case 1:
             $fields["NUM SECU"] = $this->matricule;
             break;
         case 2:
             $fields["AVS"] = $this->getFormattedValue("avs");
     }
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:19,代码来源:CPatient.class.php

示例9: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $sejour = $this->loadRefSejour();
     $patient = $sejour->loadRefPatient();
     if ($this->seance_collective_id) {
         $this->loadRefSeanceCollective();
         $this->debut = $this->_ref_seance_collective->debut;
         $this->duree = $this->_ref_seance_collective->duree;
     }
     $this->_view = "{$patient->_view} - " . CMbDT::dateToLocale(CMbDT::date($this->debut));
     $this->loadRefsActesCdARR();
     $this->loadRefsActesCsARR();
     if (!$this->sejour_id) {
         $this->loadRefsEvenementsSeance();
         foreach ($this->_ref_evenements_seance as $_evt_seance) {
             $_evt_seance->loadRefSejour()->loadRefPatient();
         }
     }
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:23,代码来源:CEvenementSSR.class.php

示例10: updateDeathDate

 /**
  * Update the death date to a datetime
  *
  * @return bool
  */
 function updateDeathDate()
 {
     $ds = $this->ds;
     $query = "SELECT `patient_id`, `deces` FROM `patients` WHERE `deces` IS NOT NULL;";
     $patients = $ds->loadList($query);
     $query = "ALTER TABLE `patients`\r\n                CHANGE `deces` `deces` DATETIME;";
     $ds->exec($query);
     $query = "UPDATE `patients` SET `deces`=REPLACE(`deces`, '-00', '-01') WHERE `deces` IS NOT NULL;";
     $ds->exec($query);
     $now = CMbDT::dateTime();
     $insert = array();
     foreach ($patients as $_patient) {
         $patient_id = $_patient["patient_id"];
         $deces = $_patient["deces"];
         $deces_after = CMbDT::dateToLocale(str_replace("-00", "-01", $deces));
         $deces = CMbDT::dateToLocale($deces);
         $insert[] = array("object_id" => $patient_id, "object_class" => "CPatient", "date" => $now, "libelle" => "Date décès", "text" => "Changement automatique de {$deces} à {$deces_after} 00:00:00");
     }
     $ds->insertMulti("note", $insert, 100);
     return true;
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:26,代码来源:setup.php

示例11: getReleaseInfo

 static function getReleaseInfo()
 {
     $svn_status_file = __DIR__ . "/../tmp/svnstatus.txt";
     $root_release_file = __DIR__ . "/../release.xml";
     $applicationVersion = array("releaseTitle" => null, "releaseDate" => null, "releaseCode" => null, "releaseRev" => null, "revision" => null, "date" => null, "relative" => null, "title" => "");
     // Release information
     if (is_readable($root_release_file)) {
         $releaseInfoDOM = new DOMDocument();
         $releaseInfoDOM->load($root_release_file);
         $releaseElement = $releaseInfoDOM->documentElement;
         $releaseCode = $releaseElement->getAttribute("code");
         list($year, $month) = explode("_", $releaseCode);
         $title = strftime("%B", mktime(0, 0, 0, $month, 10)) . " " . $year;
         $applicationVersion["releaseTitle"] = $title;
         $applicationVersion["releaseDate"] = CMbDT::dateTimeFromXMLDuration($releaseElement->getAttribute("date"));
         $applicationVersion["releaseCode"] = $releaseCode;
         $applicationVersion["releaseRev"] = $releaseElement->getAttribute("rev");
         $applicationVersion["title"] = "Branche de " . $applicationVersion["releaseTitle"];
     }
     // Revision information
     if (is_readable($svn_status_file)) {
         $svnInfo = file($svn_status_file);
         $revision = array("revision" => explode(": ", $svnInfo[0]), "date" => explode(": ", $svnInfo[1]));
         $applicationVersion["revision"] = trim($revision["revision"][1]);
         $applicationVersion["date"] = CMbDT::dateTime(trim($revision["date"][1]));
         $applicationVersion["relative"] = CMbDate::relative($applicationVersion["date"]);
         $applicationVersion["title"] .= "\n" . "Mise à jour le " . CMbDT::dateToLocale($applicationVersion["date"]) . "\n" . "Révision : " . $applicationVersion["revision"];
     }
     return $applicationVersion;
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:30,代码来源:CApp.class.php

示例12: completeLabelFields

 function completeLabelFields(&$fields, $params)
 {
     $fields = array_merge($fields, array("DATE COURANTE" => CMbDT::dateToLocale(CMbDT::date()), "HEURE COURANTE" => CMbDT::format(null, "%H:%M")));
 }
开发者ID:fbone,项目名称:mediboard4,代码行数:4,代码来源:CModeleEtiquette.class.php

示例13: CRPU

$rpu = new CRPU();
/** @var CRPU[] $rpus */
$rpus = $rpu->loadList($where, $order, null, null, $leftjoin);
if (count($rpus) == 0) {
    CAppUI::stepAjax("Aucun RPU à extraire.", UI_MSG_ERROR);
}
foreach ($rpus as $_rpu) {
    $sejour = $_rpu->_ref_sejour;
    $sejour->loadExtDiagnostics();
    $sejour->loadDiagnosticsAssocies(false);
    $sejour->loadRefsConsultations();
}
// Appel de la fonction d'extraction du RPUSender
$rpuSender = $extractPassages->getRPUSender();
if (!$rpuSender) {
    CAppUI::stepAjax("Aucun sender définit dans le module dPurgences.", UI_MSG_ERROR);
}
$extractPassages = $rpuSender->extractRPU($extractPassages, $rpus);
CAppUI::stepAjax("Extraction de " . count($rpus) . " RPUs du " . CMbDT::dateToLocale($debut_selection) . " au " . CMbDT::dateToLocale($fin_selection) . " terminée.", UI_MSG_OK);
if (!$extractPassages->message_valide) {
    CAppUI::stepAjax("Le document produit n'est pas valide.", UI_MSG_WARNING);
} else {
    CAppUI::stepAjax("Le document produit est valide.", UI_MSG_OK);
}
foreach ($rpus as $_rpu) {
    $rpu_passage = new CRPUPassage();
    $rpu_passage->rpu_id = $_rpu->_id;
    $rpu_passage->extract_passages_id = $extractPassages->_id;
    $rpu_passage->store();
}
echo "<script>RPU_Sender.extract_passages_id = {$extractPassages->_id};</script>";
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_extract_passages_rpu.php

示例14: array

$where = array();
$ljoin = array();
$where["duree_uscpo"] = "> 0";
$where["annulee"] = "!= '1'";
$where[] = "operations.passage_uscpo = '1' or operations.passage_uscpo IS NULL";
if ($service_id) {
    $ljoin["sejour"] = "sejour.sejour_id = operations.sejour_id";
    $where["sejour.service_id"] = "= '{$service_id}'";
}
$day = $date_min;
$dates = array();
$series = array();
$serie = array('data' => array(), 'label' => utf8_encode("Nombre de nuits prévues"));
$today = CMbDT::date();
while ($day <= $date_max) {
    $display = CMbDT::dateToLocale($day);
    // On préfixe d'une étoile si c'est le jour courant
    if ($day == $today) {
        $display = "* " . $display;
    }
    $dates[] = array(count($dates), $display);
    $day_min = CMbDT::date("-{$max_uscpo} DAY", $day);
    $where[10] = "operations.date BETWEEN '{$day_min}' AND '{$day}'";
    $where[11] = "DATE_ADD(operations.date, INTERVAL duree_uscpo DAY) > '{$day}'";
    $count = $operation->countList($where, null, $ljoin);
    $day = CMbDT::date("+1 day", $day);
    $serie['data'][] = array(count($serie['data']) - 0.2, $count);
}
$series[] = $serie;
$day = $date_min;
$serie = array('data' => array(), 'label' => utf8_encode("Nombre de nuits placées"));
开发者ID:fbone,项目名称:mediboard4,代码行数:31,代码来源:ajax_vw_stats_uscpo.php

示例15: completeLabelFields

 /**
  * @see parent::completeLabelFields()
  */
 function completeLabelFields(&$fields, $params)
 {
     if (!isset($this->_from_sejour)) {
         $this->loadRefSejour()->_from_op = 1;
         $this->_ref_sejour->completeLabelFields($fields, $params);
     }
     $this->loadRefPlageOp();
     $this->loadRefAnesth();
     $new_fields = array("ANESTH" => $this->_ref_anesth->_view, "LIBELLE" => $this->libelle, "DATE" => $this->_id ? CMbDT::dateToLocale(CMbDT::date($this->_datetime_best)) : "", "COTE" => $this->getFormattedValue("cote"));
     $fields = array_merge($fields, $new_fields);
 }
开发者ID:OpenXtrem,项目名称:mediboard-test,代码行数:14,代码来源:COperation.class.php


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