2 /** @package Openemr::Model::DAO */
6 * Copyright (C) 2016-2017 Jerry Padgett <sjpadgett@gmail.com>
8 * LICENSE: This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Affero General Public License as
10 * published by the Free Software Foundation, either version 3 of the
11 * License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Affero General Public License for more details.
18 * You should have received a copy of the GNU Affero General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 * @author Jerry Padgett <sjpadgett@gmail.com>
23 * @link http://www.open-emr.org
26 /** import supporting libraries */
27 require_once("verysimple/Phreeze/Phreezable.php");
28 require_once("UserMap.php");
31 * UserDAO provides object-oriented access to the users table. This
32 * class is automatically generated by ClassBuilder.
34 * WARNING: THIS IS AN AUTO-GENERATED FILE
36 * This file should generally not be edited by hand except in special circumstances.
37 * Add any custom business logic to the Model class which is extended from this DAO class.
38 * Leaving this file alone will allow easy re-generation of all DAOs in the event of schema changes
40 * @package Openemr::Model::DAO
41 * @author ClassBuilder
44 class UserDAO
extends Phreezable
77 public $Federaldrugid;
119 public $Organization;
179 public $SsiRelayhealth;
188 public $PwdExpirationDate;
197 public $DefaultWarehouse;
203 public $StateLicenseNumber;
206 public $NewcropUserRole;
212 public $PhysicianType;
216 * Returns a dataset of FormHearing objects with matching ExaminerId
220 public function GetExaminerFormHearings($criteria = null)
222 return $this->_phreezer
->GetOneToMany($this, "examinerlkup", $criteria);
226 * Returns a dataset of FormHearing objects with matching ReviewerId
230 public function GetReviewerFormHearings($criteria = null)
232 return $this->_phreezer
->GetOneToMany($this, "reviewerlkup", $criteria);