protected function OAuthStorePostgreSQL::sql_printf in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_printf()
- 7.3 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_printf()
- 7.4 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_printf()
- 7.5 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_printf()
- 7.6 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::sql_printf()
6 calls to OAuthStorePostgreSQL::sql_printf()
- OAuthStorePostgreSQL::query in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, ignore the results
- OAuthStorePostgreSQL::query_all_assoc in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return all rows
- OAuthStorePostgreSQL::query_insert_id in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Return the id of the last inserted row
- OAuthStorePostgreSQL::query_one in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return the first column of the first row
- OAuthStorePostgreSQL::query_row in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Perform a query, return the first row
File
- lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php, line 1915
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);
}