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


PHP MatchaModel::setSenchaModel方法代码示例

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


在下文中一共展示了MatchaModel::setSenchaModel方法的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: 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

示例3: __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

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

 function getProviderCredentializationModel()
 {
     if (!isset($this->pc)) {
         $this->pc = MatchaModel::setSenchaModel('App.model.administration.ProviderCredentialization');
     }
     return $this->pc;
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:7,代码来源:Providers.php

示例6: __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

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

示例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()
 {
     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

示例10: __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

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

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

示例15: __construct

 function __construct()
 {
     if (!isset($this->p)) {
         $this->p = MatchaModel::setSenchaModel('App.model.administration.TemplatePanel');
     }
     if (!isset($this->i)) {
         $this->i = MatchaModel::setSenchaModel('App.model.administration.TemplatePanelTemplate');
     }
 }
开发者ID:igez,项目名称:gaiaehr,代码行数:9,代码来源:TemplatePanels.php


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