public function __construct($app = null)
{
if (!defined('EMPTY_MOD_STR')) {
define('EMPTY_MOD_STR', "<div class='mw-empty-module '>{module_title} {type}</div>");
}
if (!is_object($this->app)) {
if (is_object($app)) {
$this->app = $app;
} else {
$this->app = mw();
}
}
$this->set_table_names();
}