PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.10
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.10
3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 All 156 releases
notificationx / includes / Core / GetData.php

GetData.php in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 3.2.10, at includes/Core/GetData.php

33 lines 602 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Extension Factory
4 *
5 * @package NotificationX\Extensions
6 */
7
8 namespace NotificationX\Core;
9
10 use NotificationX\Admin\Settings;
11 use NotificationX\GetInstance;
12
13 /**
14 * GetData Class
15 */
16 class GetData extends \ArrayObject {
17
18 public function __get($name) {
19 if ($this->offsetExists($name)) {
20 return $this->offsetGet($name);
21 }
22 trigger_error('Undefined property: ' . $name);
23 }
24
25 #[\ReturnTypeWillChange]
26 public function offsetGet ($name){
27 if(parent::offsetExists($name)){
28 return parent::offsetGet($name);
29 }
30 }
31
32 }
33