-
Notifications
You must be signed in to change notification settings - Fork 1
/
controller.php
52 lines (50 loc) · 2.02 KB
/
controller.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?PHP
require_once('custom/modules/REG_Patient/REG_PatientListView.php');
require_once('include/MVC/View/views/view.list.php');
//require_once('custom/modules/REG_Patient/RiskEvaluation.php');
require_once('custom/modules/REG_Patient/TreatmentPlan.php');
class REG_PatientController extends SugarController {
/*** when we call MassUpdate with $addAllBeanFields then it will use this in the query.
*
* @param
*/
function action_listview() {
$this->view = 'toplist';
//$GLOBALS['log']->fatal('in controller');
$this->bean = new REG_PatientListView();
}
function action_topcare() {
$this->view = 'list';
//$GLOBALS['log']->fatal('in controller');
$this->bean = new REG_PatientListView();
}
//function action_riskevaluation() {
// $this->view = 'riskevaluation';
//$GLOBALS['log']->fatal('in controller');
//$this->bean = new REG_PatientRiskView();
// $this->bean = new RiskEvaluation();
//}
function action_academicdetail() { $this->view = 'academicdetail'; //$GLOBALS['log']->fatal('in controller'); //$this->bean = new REG_PatientRiskView(); //$this->bean = new RiskEvaluation();
}
function action_treatmentplan() {
$this->view = 'treatmentplan';
$this->bean = new TreatmentPlan();
}
function action_report1() { $this->view = 'reports1'; }
function action_report2(){ $this->view = 'reports2'; }
function action_report3(){ $this->view = 'reports3'; }
function action_report4(){ $this->view = 'reports4'; }
function action_report5(){ $this->view = 'reports5'; }
function action_report6(){ $this->view = 'reports6'; }
//<<<<<<< HEAD
function action_test7(){ $this->view = 'test7';}
//=======
function action_reportuts(){ $this->view = 'reportsuts'; }
function action_utsentry() { $this->view = 'utsentry'; }
function action_riskevaluation() { $this->view = 'commscore'; }
function action_testmed() { $this->view = 'testmed'; }
function action_reportmain() { $this->view = 'reportmain';}
function action_reportmedd() { $this->view = 'reportmedd';}
//>>>>>>> 3097a71433de82fec730df252659026274347e46
}
?>