當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CMbObject::loadView方法代碼示例

本文整理匯總了PHP中CMbObject::loadView方法的典型用法代碼示例。如果您正苦於以下問題:PHP CMbObject::loadView方法的具體用法?PHP CMbObject::loadView怎麽用?PHP CMbObject::loadView使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CMbObject的用法示例。


在下文中一共展示了CMbObject::loadView方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadRefExClassField();
     $this->loadRefExClassTriggered();
     $this->_view = $this->_ref_ex_class_field->_view . " > " . $this->_ref_ex_class_triggered->_view;
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:10,代碼來源:CExClassFieldTrigger.class.php

示例2: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     if (!$this->_id) {
         return;
     }
     $field = $this->loadRefExClassField();
     $this->_value = "";
     if ($this->operator != "hasValue" && $this->operator != "hasNoValue") {
         $_ex_class_id = $field->loadRefExGroup()->ex_class_id;
         $_spec = $field->getSpecObject();
         $_obj = (object) array("_class" => "CExObject_{$_ex_class_id}", $field->name => $this->value);
         $this->_value = $_spec->getValue($_obj);
     }
     $this->_view = $field->_view . " " . $this->_specs["operator"]->_locales[$this->operator] . " " . $this->_value;
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:19,代碼來源:CExClassFieldPredicate.class.php

示例3: loadView

 function loadView()
 {
     if (!$this->_id) {
         return;
     }
     parent::loadView();
     $this->loadMasterDomain();
     if (!$this->_object_class) {
         return;
     }
     $object = new $this->_object_class();
     $this->_view = self::formatValue($object, $this->pattern, $this->value);
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:13,代碼來源:CIncrementer.class.php

示例4: loadView

 public function loadView()
 {
     parent::loadView();
     $this->loadPraticien()->loadRefFunction();
     $this->loadCodable();
     $this->loadActesCCAM();
     foreach ($this->_ref_actes_ccam as &$_acte) {
         $_acte->getTarif();
         $_activite = $_acte->_ref_code_ccam->activites[$_acte->code_activite];
         $_phase = $_activite->phases[$_acte->code_phase];
         /* Verification des modificateurs codés */
         foreach ($_phase->_modificateurs as $modificateur) {
             $position = strpos($_acte->modificateurs, $modificateur->code);
             if ($position !== false) {
                 if ($modificateur->_double == "1") {
                     $modificateur->_checked = $modificateur->code;
                 } elseif ($modificateur->_double == "2") {
                     $modificateur->_checked = $modificateur->code . $modificateur->_double;
                 } else {
                     $modificateur->_checked = null;
                 }
             } else {
                 $modificateur->_checked = null;
             }
         }
         self::precodeModifiers($_phase->_modificateurs, $_acte, $this->_ref_codable);
     }
     if ($this->_ref_praticien->isAnesth()) {
         $this->_codage_sibling = self::get($this->_ref_codable, $this->praticien_id, $this->activite_anesth ? 1 : 4, $this->date);
         $this->_codage_sibling->loadActesCCAM();
     }
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:32,代碼來源:CCodageCCAM.class.php

示例5: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->getConsumption("-3 MONTHS");
 }
開發者ID:OpenXtrem,項目名稱:mediboard-test,代碼行數:8,代碼來源:CProduct.class.php

示例6: loadObjectRefs

 /**
  * Load object useful references
  *
  * @param CMbObject $object Object to load the references of
  *
  * @return void
  */
 function loadObjectRefs(CMbObject $object)
 {
     if (isset($object->_object_refs_loaded)) {
         return;
     }
     if (!$object instanceof CAdministration && !$object instanceof CPrescriptionLine && !$object instanceof CPrescription) {
         $object->loadView();
     }
     if ($object instanceof CPrescriptionLineMedicament) {
         $object->isHorsT2A();
         $object->loadClasseATC();
     }
     $object->_object_refs_loaded = true;
 }
開發者ID:OpenXtrem,項目名稱:mediboard-test,代碼行數:21,代碼來源:CExClassConstraint.class.php

示例7: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadRefItems();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:8,代碼來源:CExListItemsOwner.class.php

示例8: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadClassification();
 }
開發者ID:OpenXtrem,項目名稱:mediboard-test,代碼行數:8,代碼來源:CExamenLabo.class.php

示例9: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->countProducts();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:8,代碼來源:CProductCategory.class.php

示例10: loadView

 function loadView()
 {
     parent::loadView();
     $this->loadRefMediuser()->loadRefFunction();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:5,代碼來源:CSearchItem.class.php

示例11: 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

示例12: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadRefsFwd();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:8,代碼來源:CFunctions.class.php

示例13: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadRefPreparateur();
     $this->loadRefValidateur();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:9,代碼來源:CProductDelivery.class.php

示例14: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->loadRefsActesCCAM();
     $this->loadExtCodesCCAM();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:9,代碼來源:CCodable.class.php

示例15: loadView

 /**
  * @see parent::loadView()
  */
 function loadView()
 {
     parent::loadView();
     $this->_ref_consultation = $this->_fwd["consultation_id"];
     $this->_ref_consultation->loadView();
 }
開發者ID:fbone,項目名稱:mediboard4,代碼行數:9,代碼來源:CConsultAnesth.class.php


注:本文中的CMbObject::loadView方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。