@@ -14,24 +14,24 @@ |
||
14 | 14 | */ |
15 | 15 | interface EEI_Related_Scope |
16 | 16 | { |
17 | - /** |
|
18 | - * Used to return the related scope object. |
|
19 | - * @return object This may not necessarily be a EE_Base_Class object. |
|
20 | - */ |
|
21 | - public function get_related_scope_object(); |
|
17 | + /** |
|
18 | + * Used to return the related scope object. |
|
19 | + * @return object This may not necessarily be a EE_Base_Class object. |
|
20 | + */ |
|
21 | + public function get_related_scope_object(); |
|
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | - /** |
|
26 | - * Return the name representing the related_scope_object (i.e. Event Title, or Ticket Name). |
|
27 | - * @return string |
|
28 | - */ |
|
29 | - public function get_related_scope_name(); |
|
25 | + /** |
|
26 | + * Return the name representing the related_scope_object (i.e. Event Title, or Ticket Name). |
|
27 | + * @return string |
|
28 | + */ |
|
29 | + public function get_related_scope_name(); |
|
30 | 30 | |
31 | 31 | |
32 | - /** |
|
33 | - * Return the related scope ID. |
|
34 | - * @return mixed int|string |
|
35 | - */ |
|
36 | - public function get_ID(); |
|
32 | + /** |
|
33 | + * Return the related scope ID. |
|
34 | + * @return mixed int|string |
|
35 | + */ |
|
36 | + public function get_ID(); |
|
37 | 37 | } |
@@ -11,23 +11,23 @@ |
||
11 | 11 | */ |
12 | 12 | interface EEI_Event_Relation |
13 | 13 | { |
14 | - /** |
|
15 | - * Used to return the event object that can be derived from the EE_Base_Class object. |
|
16 | - * @return EE_Event |
|
17 | - */ |
|
18 | - public function get_related_event(); |
|
14 | + /** |
|
15 | + * Used to return the event object that can be derived from the EE_Base_Class object. |
|
16 | + * @return EE_Event |
|
17 | + */ |
|
18 | + public function get_related_event(); |
|
19 | 19 | |
20 | 20 | |
21 | - /** |
|
22 | - * Used to return the name of the event that can be derived from the EE_Base_Class object. |
|
23 | - * @return string |
|
24 | - */ |
|
25 | - public function get_event_name(); |
|
21 | + /** |
|
22 | + * Used to return the name of the event that can be derived from the EE_Base_Class object. |
|
23 | + * @return string |
|
24 | + */ |
|
25 | + public function get_event_name(); |
|
26 | 26 | |
27 | 27 | |
28 | - /** |
|
29 | - * Used to return the EVT_ID for the related event. |
|
30 | - * @return string |
|
31 | - */ |
|
32 | - public function get_event_ID(); |
|
28 | + /** |
|
29 | + * Used to return the EVT_ID for the related event. |
|
30 | + * @return string |
|
31 | + */ |
|
32 | + public function get_event_ID(); |
|
33 | 33 | } |
@@ -11,32 +11,32 @@ |
||
11 | 11 | */ |
12 | 12 | interface EEI_Admin_Links |
13 | 13 | { |
14 | - /** |
|
15 | - * Return the link to the admin details for the object. |
|
16 | - * @return string |
|
17 | - */ |
|
18 | - public function get_admin_details_link(); |
|
14 | + /** |
|
15 | + * Return the link to the admin details for the object. |
|
16 | + * @return string |
|
17 | + */ |
|
18 | + public function get_admin_details_link(); |
|
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | - /** |
|
24 | - * Returns the link to the editor for the object. Sometimes this is the same as the details. |
|
25 | - * @return string |
|
26 | - */ |
|
27 | - public function get_admin_edit_link(); |
|
23 | + /** |
|
24 | + * Returns the link to the editor for the object. Sometimes this is the same as the details. |
|
25 | + * @return string |
|
26 | + */ |
|
27 | + public function get_admin_edit_link(); |
|
28 | 28 | |
29 | 29 | |
30 | - /** |
|
31 | - * Returns the link to a settings page for the object. |
|
32 | - * @return string |
|
33 | - */ |
|
34 | - public function get_admin_settings_link(); |
|
30 | + /** |
|
31 | + * Returns the link to a settings page for the object. |
|
32 | + * @return string |
|
33 | + */ |
|
34 | + public function get_admin_settings_link(); |
|
35 | 35 | |
36 | 36 | |
37 | - /** |
|
38 | - * Returns the link to the "overview" for the object (typically the "list table" view). |
|
39 | - * @return string |
|
40 | - */ |
|
41 | - public function get_admin_overview_link(); |
|
37 | + /** |
|
38 | + * Returns the link to the "overview" for the object (typically the "list table" view). |
|
39 | + * @return string |
|
40 | + */ |
|
41 | + public function get_admin_overview_link(); |
|
42 | 42 | } |
@@ -10,16 +10,16 @@ |
||
10 | 10 | */ |
11 | 11 | interface EEI_Duplicatable |
12 | 12 | { |
13 | - /** |
|
14 | - * duplicate |
|
15 | - * |
|
16 | - * used for duplicating the current object and its related dependent data |
|
17 | - * |
|
18 | - * @access public |
|
19 | - * @param array $options key-value pairs of special options for duplicating, which varies by implemtor. |
|
20 | - * For example, it might have an option to duplicate related data or not, or to make a duplicate |
|
21 | - * with the exception of a particular attribute |
|
22 | - * @return object of the same class as what was called on |
|
23 | - */ |
|
24 | - public function duplicate($options = array()); |
|
13 | + /** |
|
14 | + * duplicate |
|
15 | + * |
|
16 | + * used for duplicating the current object and its related dependent data |
|
17 | + * |
|
18 | + * @access public |
|
19 | + * @param array $options key-value pairs of special options for duplicating, which varies by implemtor. |
|
20 | + * For example, it might have an option to duplicate related data or not, or to make a duplicate |
|
21 | + * with the exception of a particular attribute |
|
22 | + * @return object of the same class as what was called on |
|
23 | + */ |
|
24 | + public function duplicate($options = array()); |
|
25 | 25 | } |
@@ -5,67 +5,67 @@ |
||
5 | 5 | */ |
6 | 6 | interface EEI_Attendee |
7 | 7 | { |
8 | - public function fname(); |
|
8 | + public function fname(); |
|
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | - public function lname(); |
|
12 | + public function lname(); |
|
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | - public function full_name(); |
|
16 | + public function full_name(); |
|
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | - public function email(); |
|
20 | + public function email(); |
|
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | - public function phone(); |
|
24 | + public function phone(); |
|
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | - public function address(); |
|
28 | + public function address(); |
|
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | - public function address2(); |
|
32 | + public function address2(); |
|
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | - public function city(); |
|
36 | + public function city(); |
|
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | - public function state_ID(); |
|
40 | + public function state_ID(); |
|
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | - public function state_name(); |
|
44 | + public function state_name(); |
|
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | - /** |
|
49 | - * @return EE_State |
|
50 | - */ |
|
51 | - public function state_obj(); |
|
48 | + /** |
|
49 | + * @return EE_State |
|
50 | + */ |
|
51 | + public function state_obj(); |
|
52 | 52 | |
53 | 53 | |
54 | 54 | |
55 | - public function country_ID(); |
|
55 | + public function country_ID(); |
|
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | - public function country_name(); |
|
59 | + public function country_name(); |
|
60 | 60 | |
61 | 61 | |
62 | 62 | |
63 | - /** |
|
64 | - * @return EE_Country |
|
65 | - */ |
|
66 | - public function country_obj(); |
|
63 | + /** |
|
64 | + * @return EE_Country |
|
65 | + */ |
|
66 | + public function country_obj(); |
|
67 | 67 | |
68 | 68 | |
69 | 69 | |
70 | - public function zip(); |
|
70 | + public function zip(); |
|
71 | 71 | } |
@@ -5,17 +5,17 @@ |
||
5 | 5 | */ |
6 | 6 | interface EEI_Contact |
7 | 7 | { |
8 | - public function fname(); |
|
8 | + public function fname(); |
|
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | - public function lname(); |
|
12 | + public function lname(); |
|
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | - public function email(); |
|
16 | + public function email(); |
|
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | - public function phone(); |
|
20 | + public function phone(); |
|
21 | 21 | } |
@@ -5,28 +5,28 @@ |
||
5 | 5 | */ |
6 | 6 | interface EEI_Registration extends EEI_Base |
7 | 7 | { |
8 | - /** |
|
9 | - * Gets the registration code |
|
10 | - * |
|
11 | - * @return string |
|
12 | - */ |
|
13 | - public function reg_code(); |
|
8 | + /** |
|
9 | + * Gets the registration code |
|
10 | + * |
|
11 | + * @return string |
|
12 | + */ |
|
13 | + public function reg_code(); |
|
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | - /** |
|
18 | - * Gets the attendee corresponding to this registration |
|
19 | - * |
|
20 | - * @return EEI_Attendee |
|
21 | - */ |
|
22 | - public function attendee(); |
|
17 | + /** |
|
18 | + * Gets the attendee corresponding to this registration |
|
19 | + * |
|
20 | + * @return EEI_Attendee |
|
21 | + */ |
|
22 | + public function attendee(); |
|
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | - /** |
|
27 | - * Returns the event's name this registration is for |
|
28 | - * |
|
29 | - * @return string |
|
30 | - */ |
|
31 | - public function event_name(); |
|
26 | + /** |
|
27 | + * Returns the event's name this registration is for |
|
28 | + * |
|
29 | + * @return string |
|
30 | + */ |
|
31 | + public function event_name(); |
|
32 | 32 | } |
@@ -13,9 +13,9 @@ |
||
13 | 13 | */ |
14 | 14 | interface EEI_Has_Code |
15 | 15 | { |
16 | - /** |
|
17 | - * Return a code. |
|
18 | - * @return string |
|
19 | - */ |
|
20 | - public function code(); |
|
16 | + /** |
|
17 | + * Return a code. |
|
18 | + * @return string |
|
19 | + */ |
|
20 | + public function code(); |
|
21 | 21 | } |
@@ -11,9 +11,9 @@ |
||
11 | 11 | */ |
12 | 12 | interface EEI_Has_Icon |
13 | 13 | { |
14 | - /** |
|
15 | - * Return the icon representing the object (usually a WP dashicon). |
|
16 | - * @return string |
|
17 | - */ |
|
18 | - public function get_icon(); |
|
14 | + /** |
|
15 | + * Return the icon representing the object (usually a WP dashicon). |
|
16 | + * @return string |
|
17 | + */ |
|
18 | + public function get_icon(); |
|
19 | 19 | } |