/** * @param String $usersTable */ public function setUsersTable($usersTable) { $usersTable = $this->connection->getEscapedString($usersTable); $this->usersTable = $usersTable; self::usersTableCheck($this->connection, $usersTable); $this->operations->setDefaultFrom($usersTable); }
/** * @param string $notificationsTable * @throws DatabaseException If the specified table name does not match any existing db table */ public function setNotificationsTable($notificationsTable) { $notificationsTable = $this->dbConnection->getEscapedString($notificationsTable); self::matchTable($this->dbOperations->showTables(), $notificationsTable); $this->notificationsTable = $notificationsTable; $this->dbOperations->setDefaultFrom($notificationsTable); }