You are here

protected function OAuthStoreAnymeta::query_one in Lingotek Translation 7.7

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

* Perform a query, return the first column of the first row * *

Parameters

string sql: * @param vararg arguments (for sprintf) * @return mixed

Overrides OAuthStoreMySQL::query_one

File

lib/oauth-php/library/store/OAuthStoreAnyMeta.php, line 220

Class

OAuthStoreAnymeta

Code

protected function query_one($sql) {
  list($sql, $args) = $this
    ->sql_args(func_get_args());
  return any_db_query_one($sql, $args);
}