protected function OAuthStorePostgreSQL::query in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::query()
- 7.3 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::query()
- 7.4 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::query()
- 7.5 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::query()
- 7.6 lib/oauth-php/library/store/OAuthStorePostgreSQL.php \OAuthStorePostgreSQL::query()
Perform a query, ignore the results
Parameters
string sql:
vararg arguments (for sprintf):
16 calls to OAuthStorePostgreSQL::query()
- OAuthStorePostgreSQL::addConsumerRequestToken in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Add an unautorized request token to our server.
- OAuthStorePostgreSQL::addLog in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Add an entry to the log table
- OAuthStorePostgreSQL::addServerToken in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Add a request token we obtained from a server.
- OAuthStorePostgreSQL::authorizeConsumerRequestToken in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Upgrade a request token to be an authorized request token.
- OAuthStorePostgreSQL::checkServerNonce in lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php - Check an nonce/timestamp combination. Clears any nonce combinations that are older than the one received.
File
- lib/
oauth-php/ library/ store/ OAuthStorePostgreSQL.php, line 1758
Class
Code
protected function query($sql) {
$sql = $this
->sql_printf(func_get_args());
if (!($res = pg_query($this->conn, $sql))) {
$this
->sql_errcheck($sql);
}
$this->_lastAffectedRows = pg_affected_rows($res);
if (is_resource($res)) {
pg_free_result($res);
}
}