public function initTables() { if (!$this->sqlTableExists()) { if (!$this->sqlCreateTable()) { $this->setError(sprintf('[%s - %s] %s', __METHOD__, __LINE__, $this->getError())); return false; } } // memos installieren $dbMemos = new dbKITmemos($this->create_tables); if ($dbMemos->isError()) { $this->setError(sprintf('[%s - %s] %s', __METHOD__, __LINE__, $dbMemos->getError())); return false; } return true; }