本文整理汇总了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;
}
示例2: __construct
function __construct()
{
if (!isset($this->m)) {
$this->m = MatchaModel::setSenchaModel('App.model.patient.Medications');
}
$this->m->setOrFilterProperties(['id']);
}
示例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'];
}
示例4: __construct
function __construct()
{
if ($this->a == NULL) {
$this->a = MatchaModel::setSenchaModel('App.model.miscellaneous.Amendment');
}
$this->a->setOrFilterProperties(['assigned_to_uid']);
}
示例5: __construct
function __construct()
{
if (!isset($this->v)) {
$this->v = MatchaModel::setSenchaModel('App.model.patient.Vitals');
}
$this->User = new User();
}
示例6: setInstructionModel
function setInstructionModel()
{
if (isset($this->i)) {
return $this->i;
}
return $this->i = MatchaModel::setSenchaModel('App.model.administration.MedicationInstruction');
}
示例7: getProviderCredentializationModel
function getProviderCredentializationModel()
{
if (!isset($this->pc)) {
$this->pc = MatchaModel::setSenchaModel('App.model.administration.ProviderCredentialization');
}
return $this->pc;
}
示例8: __construct
function __construct()
{
$this->acl = new ACL();
if (!isset($this->u)) {
$this->u = MatchaModel::setSenchaModel('App.model.administration.User');
}
}
示例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();
}
示例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;
}
示例11: __construct
function __construct()
{
$this->conn = Matcha::getConn();
if (!isset($this->s)) {
$this->s = MatchaModel::setSenchaModel('App.model.patient.EncounterService');
}
}
示例12: __construct
function __construct()
{
$this->modulesDir = ROOT . '/modules/';
if (!isset($this->m)) {
$this->m = MatchaModel::setSenchaModel('App.model.administration.Modules');
}
$this->setNewModules();
}
示例13: __construct
function __construct()
{
parent::__construct();
if ($this->voucher == NULL) {
$this->voucher = MatchaModel::setSenchaModel('App.model.account.Voucher');
}
return;
}
示例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;
}
示例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');
}
}