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

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

- Page: https://pluginprobe.com/plugins/notificationx/3.3.1/code/includes/Core/GetData.php
- Raw: https://pluginprobe.com/plugins/notificationx/3.3.1/raw/includes/Core/GetData.php
- Modified: 2026-07-20T12:33:40+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.3.1/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);
        }
        // Mirrors PHP's own undefined-property notice for this ArrayAccess wrapper;
        // dropping it would make a mistyped property silently read as null.
        // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error
        trigger_error( esc_html( 'Undefined property: ' . $name ) );
    }

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

}

```
