Code Duplication    Length = 6-6 lines in 5 locations

admin_pages/other_services/Other_Services_Admin_Page.core.php 1 location

@@ 34-39 (lines=6) @@
31
class Other_Services_Admin_Page extends EE_Admin_Page {
32
33
34
	protected function _init_page_props() {
35
		$this->page_slug = EE_OTHER_SERVICES_PG_SLUG;
36
		$this->page_label = __('Extensions & Services', 'event_espresso');
37
		$this->_admin_base_url = EE_OTHER_SERVICES_ADMIN_URL;
38
		$this->_admin_base_path = EE_OTHER_SERVICES_ADMIN;
39
	}
40
41
42

admin_pages/payments/Payments_Admin_Page.core.php 1 location

@@ 53-58 (lines=6) @@
50
51
52
53
	protected function _init_page_props() {
54
		$this->page_slug = EE_PAYMENTS_PG_SLUG;
55
		$this->page_label = __('Payment Methods', 'event_espresso');
56
		$this->_admin_base_url = EE_PAYMENTS_ADMIN_URL;
57
		$this->_admin_base_path = EE_PAYMENTS_ADMIN;
58
	}
59
60
61

admin_pages/support/Support_Admin_Page.core.php 1 location

@@ 39-44 (lines=6) @@
36
37
38
39
	protected function _init_page_props() {
40
		$this->page_slug = EE_SUPPORT_PG_SLUG;
41
		$this->page_label = __('Help & Support', 'event_espresso');
42
		$this->_admin_base_url = EE_SUPPORT_ADMIN_URL;
43
		$this->_admin_base_path = EE_SUPPORT_ADMIN;
44
	}
45
46
47

admin_pages/transactions/Transactions_Admin_Page.core.php 1 location

@@ 69-74 (lines=6) @@
66
	 * 	_init_page_props
67
	 * @return void
68
	 */
69
	protected function _init_page_props() {
70
		$this->page_slug = TXN_PG_SLUG;
71
		$this->page_label = __('Transactions', 'event_espresso');
72
		$this->_admin_base_url = TXN_ADMIN_URL;
73
		$this->_admin_base_path = TXN_ADMIN;
74
	}
75
76
77

admin_pages/registration_form/Registration_Form_Admin_Page.core.php 1 location

@@ 81-86 (lines=6) @@
78
79
80
81
	protected function _init_page_props() {
82
		$this->page_slug = REGISTRATION_FORM_PG_SLUG;
83
		$this->page_label = __('Registration Form', 'event_espresso');
84
		$this->_admin_base_url = REGISTRATION_FORM_ADMIN_URL;
85
		$this->_admin_base_path = REGISTRATION_FORM_ADMIN;
86
	}
87
88
89