1: <?php
2: namespace Azalea\Selenium\EHR\UI\Scheduler;
3:
4: class Scheduler extends \Azalea\Selenium\EHR\UI\TabContainer
5: {
6: protected static $hash = "/scheduler";
7: protected static $selector = "#scheduler_main";
8:
9: protected static $tabs = array(
10: "Scheduler" => "\Azalea\Selenium\EHR\UI\Scheduler\SchedulerTab",
11: "Recalls" => "\Azalea\Selenium\EHR\UI\Scheduler\RecallsTab",
12: "Appointments" => "\Azalea\Selenium\EHR\UI\Scheduler\AppointmentsTab",
13: "Appointments_Requests" => "\Azalea\Selenium\EHR\UI\Scheduler\AppointmentsRequestsTab"
14: );
15:
16: public static $SCHEDULER_TAB = "Scheduler";
17: public static $RECALLS_TAB = "Recalls";
18: public static $APPOINTMENTS_TAB = "Appointments";
19: public static $APPOINTMENTS_REQUESTS_TAB = "Appointments_Requests";
20:
21: public function openSchedulerTab()
22: {
23: return $this->openTab(self::$SCHEDULER_TAB);
24: }
25:
26: public function openRecallsTab()
27: {
28: return $this->openTab(self::$RECALLS_TAB);
29: }
30:
31: public function openAppointmentsTab()
32: {
33: return $this->openTab(self::$APPOINTMENTS_TAB);
34: }
35:
36: public function openAppointmentsRequestsTab()
37: {
38: return $this->openTab(self::$APPOINTMENTS_REQUESTS_TAB);
39: }
40: }
41: ?>