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


PHP MatchaModel類代碼示例

本文整理匯總了PHP中MatchaModel的典型用法代碼示例。如果您正苦於以下問題:PHP MatchaModel類的具體用法?PHP MatchaModel怎麽用?PHP MatchaModel使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


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

示例1: __construct

 function __construct()
 {
     if (!isset($this->OfficeNotes)) {
         $this->OfficeNotes = MatchaModel::setSenchaModel('App.model.miscellaneous.OfficeNotes');
     }
     return;
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:OfficeNotes.php

示例2: __construct

 function __construct()
 {
     if (!isset($this->m)) {
         $this->m = MatchaModel::setSenchaModel('App.model.patient.Medications');
     }
     $this->m->setOrFilterProperties(['id']);
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:Medications.php

示例3: __construct

 function __construct()
 {
     if (!isset($this->d)) {
         $this->d = MatchaModel::setSenchaModel('App.model.patient.PatientDocuments');
     }
     $this->encrypt = isset($_SESSION['globals']['enable_document_encryption']) && $_SESSION['globals']['enable_document_encryption'];
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:File.php

示例4: __construct

 function __construct()
 {
     if ($this->a == NULL) {
         $this->a = MatchaModel::setSenchaModel('App.model.miscellaneous.Amendment');
     }
     $this->a->setOrFilterProperties(['assigned_to_uid']);
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:Amendments.php

示例5: __construct

 function __construct()
 {
     if (!isset($this->v)) {
         $this->v = MatchaModel::setSenchaModel('App.model.patient.Vitals');
     }
     $this->User = new User();
 }
開發者ID:andrewbhandari,項目名稱:gaiaehr,代碼行數:7,代碼來源:Vitals.php

示例6: setInstructionModel

 function setInstructionModel()
 {
     if (isset($this->i)) {
         return $this->i;
     }
     return $this->i = MatchaModel::setSenchaModel('App.model.administration.MedicationInstruction');
 }
開發者ID:songhongji,項目名稱:gaiaehr,代碼行數:7,代碼來源:Rxnorm.php

示例7: getProviderCredentializationModel

 function getProviderCredentializationModel()
 {
     if (!isset($this->pc)) {
         $this->pc = MatchaModel::setSenchaModel('App.model.administration.ProviderCredentialization');
     }
     return $this->pc;
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:Providers.php

示例8: __construct

 function __construct()
 {
     $this->acl = new ACL();
     if (!isset($this->u)) {
         $this->u = MatchaModel::setSenchaModel('App.model.administration.User');
     }
 }
開發者ID:rrabadia89,項目名稱:gaiaehr,代碼行數:7,代碼來源:User.php

示例9: __construct

 function __construct()
 {
     $this->fp = MatchaModel::setSenchaModel('App.model.administration.FloorPlans');
     $this->fpz = MatchaModel::setSenchaModel('App.model.administration.FloorPlanZones');
     $this->patient = new Patient();
     $this->pool = new PoolArea();
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:FloorPlans.php

示例10: updateRolePerm

 /**
  * @param stdClass $params
  * @return array
  */
 public function updateRolePerm($params)
 {
     if ($this->arp == null) {
         $this->arp = MatchaModel::setSenchaModel('App.model.administration.AclRolePermissions');
     }
     if (is_array($params)) {
         foreach ($params as $param) {
             $this->saveRolePerm('front_office', $param->perm_key, $param->{'role-front_office'});
             $this->saveRolePerm('auditor', $param->perm_key, $param->{'role-auditor'});
             $this->saveRolePerm('clinician', $param->perm_key, $param->{'role-clinician'});
             $this->saveRolePerm('physician', $param->perm_key, $param->{'role-physician'});
             $this->saveRolePerm('administrator', $param->perm_key, $param->{'role-administrator'});
             $this->saveRolePerm('emergencyaccess', $param->perm_key, $param->{'role-emergencyaccess'});
             $this->saveRolePerm('referrer', $param->perm_key, $param->{'role-referrer'});
         }
         return $params;
     }
     $this->saveRolePerm('front_office', $params->perm_key, $params->{'role-front_office'});
     $this->saveRolePerm('auditor', $params->perm_key, $params->{'role-auditor'});
     $this->saveRolePerm('clinician', $params->perm_key, $params->{'role-clinician'});
     $this->saveRolePerm('physician', $params->perm_key, $params->{'role-physician'});
     $this->saveRolePerm('administrator', $params->perm_key, $params->{'role-administrator'});
     $this->saveRolePerm('emergencyaccess', $params->perm_key, $params->{'role-emergencyaccess'});
     $this->saveRolePerm('referrer', $params->perm_key, $params->{'role-referrer'});
     return $params;
 }
開發者ID:songhongji,項目名稱:gaiaehr,代碼行數:30,代碼來源:Roles.php

示例11: __construct

 function __construct()
 {
     $this->conn = Matcha::getConn();
     if (!isset($this->s)) {
         $this->s = MatchaModel::setSenchaModel('App.model.patient.EncounterService');
     }
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:7,代碼來源:Services.php

示例12: __construct

 function __construct()
 {
     $this->modulesDir = ROOT . '/modules/';
     if (!isset($this->m)) {
         $this->m = MatchaModel::setSenchaModel('App.model.administration.Modules');
     }
     $this->setNewModules();
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:8,代碼來源:Modules.php

示例13: __construct

 function __construct()
 {
     parent::__construct();
     if ($this->voucher == NULL) {
         $this->voucher = MatchaModel::setSenchaModel('App.model.account.Voucher');
     }
     return;
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:8,代碼來源:AccVoucher.php

示例14: __construct

 function __construct()
 {
     $this->conn = Matcha::getConn();
     $this->db = new MatchaHelper();
     if (!isset($this->LO)) {
         $this->LO = MatchaModel::setSenchaModel('App.model.administration.LabObservations');
     }
     return;
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:9,代碼來源:Laboratories.php

示例15: setModel

 /**
  * Set Model App.model.patient.PatientsOrders
  */
 private function setModel()
 {
     if (!isset($this->s)) {
         $this->s = MatchaModel::setSenchaModel('App.model.patient.PatientSocialHistory');
     }
     if (!isset($this->ss)) {
         $this->ss = MatchaModel::setSenchaModel('App.model.patient.SmokeStatus');
     }
 }
開發者ID:igez,項目名稱:gaiaehr,代碼行數:12,代碼來源:SocialHistory.php


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