10 class FormPriorAuth
extends ORDataObject
{
28 var $prior_auth_number;
33 * Constructor sets all Form attributes to their default value
36 function FormPriorAuth($id= "", $_prefix = "") {
37 if (is_numeric($id)) {
43 $this->_table
= "form_prior_auth";
44 $this->date
= date("Y-m-d H:i:s");
46 $this->pid
= $GLOBALS['pid'];
47 $this->prior_auth_number
= "";
53 function toString($html = false) {
55 ."ID: " . $this->id
. "\n";
58 return nl2br($string);
64 function set_id($id) {
65 if (!empty($id) && is_numeric($id)) {
72 function set_pid($pid) {
73 if (!empty($pid) && is_numeric($pid)) {
80 function set_activity($tf) {
81 if (!empty($tf) && is_numeric($tf)) {
82 $this->activity
= $tf;
85 function get_activity() {
86 return $this->activity
;
90 function set_comments($string) {
91 $this->comments
= $string;
94 function get_comments() {
95 return $this->comments
;
98 function set_prior_auth_number($string) {
99 $this->prior_auth_number
= $string;
102 function get_prior_auth_number() {
103 return $this->prior_auth_number
;
107 function get_date() {