protected function OAuthStorePDO::sql_printf in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.2 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::sql_printf()
- 7.3 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::sql_printf()
- 7.4 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::sql_printf()
- 7.5 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::sql_printf()
- 7.6 lib/oauth-php/library/store/OAuthStorePDO.php \OAuthStorePDO::sql_printf()
Overrides OAuthStoreSQL::sql_printf
5 calls to OAuthStorePDO::sql_printf()
- OAuthStorePDO::query in lib/
oauth-php/ library/ store/ OAuthStorePDO.php - * Perform a query, ignore the results * *
- OAuthStorePDO::query_all_assoc in lib/
oauth-php/ library/ store/ OAuthStorePDO.php - * Perform a query, ignore the results * *
- OAuthStorePDO::query_one in lib/
oauth-php/ library/ store/ OAuthStorePDO.php - * Perform a query, return the first column of the first row * *
- OAuthStorePDO::query_row in lib/
oauth-php/ library/ store/ OAuthStorePDO.php - * Perform a query, return the first row * *
- OAuthStorePDO::query_row_assoc in lib/
oauth-php/ library/ store/ OAuthStorePDO.php - * Perform a query, return the first row * *
File
- lib/
oauth-php/ library/ store/ OAuthStorePDO.php, line 199
Class
Code
protected function sql_printf($args) {
$sql = array_shift($args);
if (count($args) == 1 && is_array($args[0])) {
$args = $args[0];
}
$args = array_map(array(
$this,
'sql_escape_string',
), $args);
return vsprintf($sql, $args);
}