/** * Retrieves the table names of the current DB and stores them in * self::$tableNameCache. * * This function does nothing if the table names already have been * retrieved. * * @return void */ private static function retrieveTableNames() { if (!empty(self::$tableNameCache)) { return; } self::$tableNameCache = self::getDatabaseConnection()->admin_get_tables(); }