# firebox/3.1.14/Inc/Core/Tables.php

FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin &amp; Cart Abandonment, version 3.1.14. 48 lines.

- Page: https://pluginprobe.com/plugins/firebox/3.1.14/code/Inc/Core/Tables.php
- Raw: https://pluginprobe.com/plugins/firebox/3.1.14/raw/Inc/Core/Tables.php
- Modified: 2026-10-02T13:37:30+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/firebox/3.1.14/code/Inc/Core/Tables.php#L10-L20`.

```php
<?php
/**
 * @package         FireBox
 * @version         3.1.14 Free
 * 
 * @author          FirePlugins <info@fireplugins.com>
 * @link            https://www.fireplugins.com
 * @copyright       Copyright © 2026 FirePlugins All Rights Reserved
 * @license         GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/

namespace FireBox\Core;

if (!defined('ABSPATH'))
{
	exit; // Exit if accessed directly.
}

class Tables
{
	/**
	 * Caches the FireBox tables.
	 * 
	 * @var  array
	 */
	private $tables = [];
	
	public function __get($table = '')
	{
		if (isset($this->tables[$table]))
		{
			return $this->tables[$table];
		}
		
        $table_class = '\FireBox\Core\Tables\\' . ucfirst(strtolower($table));

        if (!class_exists($table_class))
        {
            return false;
        }

		$class = new $table_class();
		
		$this->tables[$table] = $class;

		return $this->tables[$table];
	}
}
```
