1: <?php
2: namespace Azalea\Selenium\EHR\UI\Settings;
3:
4: class Settings extends \Azalea\Selenium\EHR\UI\TabContainer
5: {
6: protected static $selector = "#settings_main";
7:
8: protected static $tabs = array(
9: "General" => "\Azalea\Selenium\EHR\UI\Settings\GeneralTab",
10: "Billing" => "\Azalea\Selenium\EHR\UI\Settings\BillingTab",
11: "Scheduler" => "\Azalea\Selenium\EHR\UI\Settings\SchedulerTab",
12: "Medical" => "\Azalea\Selenium\EHR\UI\Settings\MedicalTab",
13: "Patient" => "\Azalea\Selenium\EHR\UI\Settings\PatientTab",
14: "Inventory" => "\Azalea\Selenium\EHR\UI\Settings\InventoryTab",
15: );
16:
17: public static $GENERAL_TAB = "General";
18: public static $BILLING_TAB = "Billing";
19: public static $SCHEDULER_TAB = "Scheduler";
20: public static $MEDICAL_TAB = "Medical";
21: public static $PATIENT_TAB = "Patient";
22: public static $INVENTORY_TAB = "Inventory";
23:
24: public function openGeneral()
25: {
26: return $this->openTab(self::$GENERAL_TAB);
27: }
28:
29: public function openBilling()
30: {
31: return $this->openTab(self::$BILLING_TAB);
32: }
33:
34: public function openScheduler()
35: {
36: return $this->openTab(self::$SCHEDULER_TAB);
37: }
38:
39: public function openMedical()
40: {
41: return $this->openTab(self::$MEDICAL_TAB);
42: }
43:
44: public function openPatient()
45: {
46: return $this->openTab(self::$PATIENT_TAB);
47: }
48:
49: public function openInventory()
50: {
51: return $this->openTab(self::$INVENTORY_TAB);
52: }
53: }
54: ?>