Initial commit

This commit is contained in:
gustavooth
2026-07-23 22:56:30 -03:00
commit 22a1006598
1816 changed files with 410742 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
namespace FluentMail\App\Models;
class Model
{
protected $db = null;
protected $app = null;
protected $table = null;
public function __construct()
{
$this->app = fluentMail();
$this->db = $GLOBALS['wpdb'];
}
public function getTable()
{
return $this->table;
}
public function __call($method, $params)
{
return call_user_func_array([$this->db, $method], $params);
}
public function getDb()
{
return fluentMailDb();
}
}