# notificationx/3.2.7/includes/Core/GetData.php

NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner &amp; Floating Notification Bar, version 3.2.7. 33 lines.

- Page: https://pluginprobe.com/plugins/notificationx/3.2.7/code/includes/Core/GetData.php
- Raw: https://pluginprobe.com/plugins/notificationx/3.2.7/raw/includes/Core/GetData.php
- Modified: 2024-03-24T09:38:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/notificationx/3.2.7/code/includes/Core/GetData.php#L10-L20`.

```php
<?php
/**
 * Extension Factory
 *
 * @package NotificationX\Extensions
 */

namespace NotificationX\Core;

use NotificationX\Admin\Settings;
use NotificationX\GetInstance;

/**
 * GetData Class
 */
class GetData extends \ArrayObject {

    public function __get($name) {
        if ($this->offsetExists($name)) {
            return $this->offsetGet($name);
        }
        trigger_error('Undefined property: ' . $name);
    }

    #[\ReturnTypeWillChange]
    public function offsetGet ($name){
        if(parent::offsetExists($name)){
            return parent::offsetGet($name);
        }
    }

}

```
