Пример #1
0
 public function __construct()
 {
     $this->db = WealthbotMysqlSqliteConnection::getInstance();
     $this->fpdo = new FluentPDO($this->db->getPdo());
     //$this->fpdo->debug = true;
     $options = $this->getOptions();
     $this->table = $options['table_name'];
 }
Пример #2
0
 public function __construct()
 {
     $this->db = WealthbotMysqlSqliteConnection::getInstance();
     $this->initAvailableTables();
     $this->validateOptions();
     $options = $this->getOptions();
     $this->table = $options['table_name'];
 }