public function DatabaseTransaction::name

public DatabaseTransaction::name()

Retrieves the name of the transaction or savepoint.

File

includes/database/database.inc, line 1948
Core systems for the database layer.

Class

DatabaseTransaction
A wrapper class for creating and managing database transactions.

Code

public function name() {
  return $this->name;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!database.inc/function/DatabaseTransaction::name/7.x