1: <?php
2: namespace Azalea\Selenium\EHR\UI\Settings\General\Locations;
3:
4: use \Azalea\Selenium\EHR\UI\PopupConfirm as PopupConfirm;
5:
6: class LocationRow extends \Azalea\Selenium\EHR\UI\GridRow
7: {
8:
9: protected static $selector = "";
10: protected static $title = "";
11: protected static $title_selector = "";
12:
13: 14: 15: 16:
17: public function verify($args = array())
18: {
19: $this->byCss(static::$selector . " td.loc_name");
20: $this->byCss(static::$selector . " td.loc_mnemonic");
21: $this->byCss(static::$selector . " td.loc_address1");
22: $this->byCss(static::$selector . " td.loc_city");
23: $this->byCss(static::$selector . " td.loc_state");
24: $this->byCss(static::$selector . " td.loc_phone");
25: $this->byCss(static::$selector . " td.loc_clia_num");
26: return true;
27: }
28:
29: public function clickRow($delay = 2)
30: {
31: parent::clickRow($delay);
32: }
33:
34: public function getName()
35: {
36: return $this->byCss(static::$selector . " td.loc_name")->text();
37: }
38:
39: public function getMnemonic()
40: {
41: return $this->byCss(static::$selector . " td.loc_mnemonic")->text();
42: }
43:
44: public function getAddress()
45: {
46: return $this->byCss(static::$selector . " td.loc_address1")->text();
47: }
48:
49: public function getCity()
50: {
51: return $this->byCss(static::$selector . " td.loc_city")->text();
52: }
53:
54: public function getState()
55: {
56: return $this->byCss(static::$selector . " td.loc_state")->text();
57: }
58:
59: public function getPhone()
60: {
61: return $this->byCss(static::$selector . " td.loc_phone")->text();
62: }
63:
64: public function getCLIA()
65: {
66: return $this->byCss(static::$selector . " td.loc_clia_num")->text();
67: }
68: }