You are here

protected function OAuthStoreMySQL::query_insert_id in Lingotek Translation 7.4

Same name and namespace in other branches
  1. 7.7 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query_insert_id()
  2. 7.2 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query_insert_id()
  3. 7.3 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query_insert_id()
  4. 7.5 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query_insert_id()
  5. 7.6 lib/oauth-php/library/store/OAuthStoreMySQL.php \OAuthStoreMySQL::query_insert_id()

* Return the id of the last inserted row * *

Return value

int

Overrides OAuthStoreSQL::query_insert_id

2 methods override OAuthStoreMySQL::query_insert_id()
OAuthStoreAnymeta::query_insert_id in lib/oauth-php/library/store/OAuthStoreAnyMeta.php
* Return the id of the last inserted row * *
OAuthStoreMySQLi::query_insert_id in lib/oauth-php/library/store/OAuthStoreMySQLi.php
* Return the id of the last inserted row * *

File

lib/oauth-php/library/store/OAuthStoreMySQL.php, line 189

Class

OAuthStoreMySQL

Code

protected function query_insert_id() {
  return mysql_insert_id($this->conn);
}