protected function OAuthStorePDO::query_one in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_one()
- 7.2 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_one()
- 7.3 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_one()
- 7.4 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_one()
- 7.6 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::query_one()
* Perform a query, return the first column of the first row * *
Parameters
string sql: * @param vararg arguments (for sprintf) * @return mixed
Overrides OAuthStoreSQL::query_one
File
- lib/
oauth-php/ library/ store/ OAuthStorePDO.php, line 170
Class
Code
protected function query_one($sql) {
$sql = $this
->sql_printf(func_get_args());
$row = $this
->query_row($sql);
$val = array_pop($row);
return $val;
}