Class pgsqlDbConnection

Description

Located in /plugins/db/pgsql/pgsql.dbconnection.php (line 24)

jDbConnection
   |
   --pgsqlDbConnection
Variable Summary
mixed $_charsets
Method Summary
pgsqlDbConnection __construct ( $profil)
void __destruct ()
void commit ()
void errorCode ()
void errorInfo ()
void lastInsertId ([ $seqname = ''])
void prepare ( $query)
void rollback ()
void _autoCommitNotify ( $state)
void _connect ()
void _disconnect ()
void _doExec ( $query)
void _doLimitQuery ( $queryString,  $offset,  $number)
void _doQuery ( $queryString)
void _quote ( $text)
Variables
mixed $_charsets = array( 'UTF-8'=>'UNICODE', 'ISO-8859-1'=>'LATIN1') (line 25)
  • access: protected

Inherited Variables

Inherited from jDbConnection

jDbConnection::$dbms
jDbConnection::$lastQuery
jDbConnection::$msgError
jDbConnection::$profil
jDbConnection::$_connection
Methods
Constructor __construct (line 27)
pgsqlDbConnection __construct ( $profil)
  • $profil

Redefinition of:
jDbConnection::__construct()
do a connection to the database, using properties of the given profil
Destructor __destruct (line 42)
void __destruct ()

Redefinition of:
jDbConnection::__destruct()
beginTransaction (line 49)
  • access: public
void beginTransaction ()

Redefinition of:
jDbConnection::beginTransaction()
begin a transaction. Call it after doQuery, doLimitQuery, doExec,
commit (line 53)
  • access: public
void commit ()

Redefinition of:
jDbConnection::commit()
validate all queries and close a transaction
errorCode (line 76)
  • access: public
void errorCode ()

Redefinition of:
jDbConnection::errorCode()
errorInfo (line 72)
  • access: public
void errorInfo ()

Redefinition of:
jDbConnection::errorInfo()
lastInsertId (line 155)
  • access: public
void lastInsertId ([ $seqname = ''])
  • $seqname

Redefinition of:
jDbConnection::lastInsertId()
return the id value of the last inserted row.
prepare (line 61)
  • access: public
void prepare ( $query)
  • $query

Redefinition of:
jDbConnection::prepare()
prepare a query
rollback (line 57)
  • access: public
void rollback ()

Redefinition of:
jDbConnection::rollback()
cancel all queries of a transaction and close the transaction
_autoCommitNotify (line 174)
  • access: protected
void _autoCommitNotify ( $state)
  • $state

Redefinition of:
jDbConnection::_autoCommitNotify()
Notify the changes on autocommit
_connect (line 80)
  • access: protected
void _connect ()

Redefinition of:
jDbConnection::_connect()
return a connection identifier or false/null if there is an error
_disconnect (line 122)
  • access: protected
void _disconnect ()

Redefinition of:
jDbConnection::_disconnect()
do a disconnection
_doExec (line 137)
  • access: protected
void _doExec ( $query)
  • $query

Redefinition of:
jDbConnection::_doExec()
do a query which return nothing
_doLimitQuery (line 144)
  • access: protected
void _doLimitQuery ( $queryString,  $offset,  $number)
  • $queryString
  • $offset
  • $number

Redefinition of:
jDbConnection::_doLimitQuery()
do a query which return a limited number of results
_doQuery (line 126)
  • access: protected
void _doQuery ( $queryString)
  • $queryString

Redefinition of:
jDbConnection::_doQuery()
do a query which return results
_quote (line 179)
  • access: protected
void _quote ( $text)
  • $text

Redefinition of:
jDbConnection::_quote()
do the escaping of a string.

Inherited Methods

Inherited From jDbConnection

jDbConnection::__construct()
jDbConnection::beginTransaction()
jDbConnection::commit()
jDbConnection::errorCode()
jDbConnection::errorInfo()
jDbConnection::exec()
jDbConnection::getAttribute()
jDbConnection::hasTablePrefix()
jDbConnection::lastIdInTable()
jDbConnection::lastInsertId()
jDbConnection::limitQuery()
jDbConnection::prefixTable()
jDbConnection::prepare()
jDbConnection::query()
jDbConnection::quote()
jDbConnection::rollback()
jDbConnection::setAttribute()
jDbConnection::setAutoCommit()
jDbConnection::_autoCommitNotify()
jDbConnection::_connect()
jDbConnection::_disconnect()
jDbConnection::_doExec()
jDbConnection::_doLimitQuery()
jDbConnection::_doQuery()
jDbConnection::_quote()
jDbConnection::__destruct()

Documentation generated on Wed, 07 Sep 2011 13:48:26 +0200 by phpDocumentor 1.4.3