class Transaction in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
- 8 core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php \Drupal\Core\Database\Driver\sqlite\Transaction
- 8 core/lib/Drupal/Core/Database/Driver/pgsql/Transaction.php \Drupal\Core\Database\Driver\pgsql\Transaction
- 8 core/lib/Drupal/Core/Database/Driver/mysql/Transaction.php \Drupal\Core\Database\Driver\mysql\Transaction
- 8 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Transaction.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Transaction
- 8 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Transaction.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Transaction
MySQL implementation of \Drupal\Core\Database\Transaction.
Hierarchy
- class \Drupal\Core\Database\Transaction
- class \Drupal\Core\Database\Driver\mysql\Transaction
Expanded class hierarchy of Transaction
1 file declares its use of Transaction
- Transaction.php in core/
modules/ system/ tests/ modules/ driver_test/ src/ Driver/ Database/ DrivertestMysql/ Transaction.php
1 string reference to 'Transaction'
- Connection::startTransaction in core/
lib/ Drupal/ Core/ Database/ Connection.php - Returns a new DatabaseTransaction object on this connection.
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Transaction.php, line 10
Namespace
Drupal\Core\Database\Driver\mysqlView source
class Transaction extends DatabaseTransaction {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Transaction:: |
protected | property | The connection object for this transaction. | |
Transaction:: |
protected | property | The name of the transaction. | |
Transaction:: |
protected | property | A boolean value to indicate whether this transaction has been rolled back. | |
Transaction:: |
public | function | Retrieves the name of the transaction or savepoint. | |
Transaction:: |
public | function | Rolls back the current transaction. | |
Transaction:: |
public | function | ||
Transaction:: |
public | function |