1 | <?php |
||
16 | class Domain extends DomainBase implements CaffeinatedInterface |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * URL path component used to denote an API request |
||
21 | */ |
||
22 | const API_NAMESPACE = 'ee/v'; |
||
23 | |||
24 | /** |
||
25 | * Slug used for the context where a registration status is changed from a manual trigger in the Registration Admin |
||
26 | * Page ui. |
||
27 | */ |
||
28 | const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN |
||
29 | = 'manual_registration_status_change_from_registration_admin'; |
||
30 | |||
31 | const CONTEXT_REGISTRATION_STATUS_CHANGE_REGISTRATION_ADMIN_NOTIFY |
||
32 | = 'manual_registration_status_change_from_registration_admin_and_notify'; |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Whether or not EE core is the full premium version. |
||
37 | * @since 4.9.59.p |
||
38 | * @var bool |
||
39 | */ |
||
40 | private $caffeinated; |
||
41 | |||
42 | |||
43 | public function __construct(FilePath $plugin_file, Version $version) |
||
48 | |||
49 | /** |
||
50 | * Whether or not EE core is the full premium version. |
||
51 | * @since 4.9.59.p |
||
52 | * @return bool |
||
53 | */ |
||
54 | public function isCaffeinated() |
||
58 | |||
59 | |||
60 | /** |
||
61 | * Setter for $is_caffeinated property. |
||
62 | * @since 4.9.59.p |
||
63 | */ |
||
64 | private function setCaffeinated() |
||
69 | |||
70 | |||
71 | /** |
||
72 | * This should be used everywhere the Event Espresso brand name is referenced in public facing interfaces |
||
73 | * to allow for filtering the brand. |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public static function brandName() |
||
81 | } |
||
82 |