Lines Matching refs:connection

64      * @param connection $connection This must be an established
78 function Auth_OpenID_SQLStore($connection, argument
87 if (!(is_object($connection) &&
88 (is_subclass_of($connection, 'db_common') ||
89 is_subclass_of($connection,
92 "object (got ".get_class($connection).")",
97 $this->connection = $connection;
104 if (is_subclass_of($this->connection, 'db_common')) {
105 $this->connection->setFetchMode(DB_FETCHMODE_ASSOC);
123 $this->connection->autoCommit(false);
158 $this->connection->query(
201 $this->connection->query(sprintf("DELETE FROM %s",
204 $this->connection->query(sprintf("DELETE FROM %s",
288 $this->connection->autoCommit(true);
291 $this->connection->autoCommit(false);
303 $r = $this->connection->query($this->sql['nonce_table']);
312 $r = $this->connection->query($this->sql['assoc_table']);
324 return $this->connection->query($this->sql['set_assoc'],
345 $this->connection->commit();
347 $this->connection->rollback();
356 $result = $this->connection->getRow($this->sql['get_assoc'],
370 $result = $this->connection->getAll($this->sql['get_assocs'],
386 if ($this->resultToBool($this->connection->query(
389 $this->connection->commit();
391 $this->connection->rollback();
457 $result = $this->connection->query($sql, array($server_url,
461 $this->connection->rollback();
463 $this->connection->commit();
541 $this->connection->query($this->sql['clean_nonce'], array($v));
542 $num = $this->connection->affectedRows();
543 $this->connection->commit();
549 $this->connection->query($this->sql['clean_assoc'],
551 $num = $this->connection->affectedRows();
552 $this->connection->commit();