3 require_once(dirname(__FILE__
) . "/../../../library/classes/ORDataObject.class.php");
11 class FormPriorAuth
extends ORDataObject
{
29 var $prior_auth_number;
34 * Constructor sets all Form attributes to their default value
37 function FormPriorAuth($id= "", $_prefix = "") {
38 if (is_numeric($id)) {
44 $this->_table
= "form_prior_auth";
45 $this->date
= date("Y-m-d H:i:s");
47 $this->pid
= $GLOBALS['pid'];
48 $this->prior_auth_number
= "";
54 function toString($html = false) {
56 ."ID: " . $this->id
. "\n";
59 return nl2br($string);
65 function set_id($id) {
66 if (!empty($id) && is_numeric($id)) {
73 function set_pid($pid) {
74 if (!empty($pid) && is_numeric($pid)) {
81 function set_activity($tf) {
82 if (!empty($tf) && is_numeric($tf)) {
83 $this->activity
= $tf;
86 function get_activity() {
87 return $this->activity
;
91 function set_comments($string) {
92 $this->comments
= $string;
95 function get_comments() {
96 return $this->comments
;
99 function set_prior_auth_number($string) {
100 $this->prior_auth_number
= $string;
103 function get_prior_auth_number() {
104 return $this->prior_auth_number
;
108 function get_date() {