Class intuitionDbConnection

Description

Located in /plugins/db/intuition/intuition.dbconnection.php (line 22)

jDbConnection
   |
   --intuitionDbConnection
Method Summary
void commit ()
void errorCode ()
void errorInfo ()
string getAttribute (integer $id)
void lastInsertId ([ $fromSequence = ''])
void prepare ( $query)
void rollback ()
void setAttribute (integer $id, string $value)
void _autoCommitNotify ( $state)
void _connect ()
void _disconnect ()
void _doExec ( $query)
void _doLimitQuery ( $queryString,  $offset,  $number)
void _doQuery ( $queryString)
void _quote ( $text,  $binary)
Variables
Methods
beginTransaction (line 30)
  • access: public
void beginTransaction ()

Redefinition of:
jDbConnection::beginTransaction()
begin a transaction. Call it before query, limitQuery, exec
commit (line 34)
  • access: public
void commit ()

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

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

Redefinition of:
jDbConnection::errorInfo()
getAttribute (line 158)
  • return: the attribute value
  • see: PDO::getAttribute()
  • access: public
string getAttribute (integer $id)
  • integer $id: the attribut id

Redefinition of:
jDbConnection::getAttribute()
lastInsertId (line 133)
  • access: public
void lastInsertId ([ $fromSequence = ''])
  • $fromSequence

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

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

Redefinition of:
jDbConnection::rollback()
cancel all queries of a transaction and close the transaction
setAttribute (line 168)
  • see: PDO::setAttribute()
  • access: public
void setAttribute (integer $id, string $value)
  • integer $id: the attribut id
  • string $value: the attribute value

Redefinition of:
jDbConnection::setAttribute()
_autoCommitNotify (line 139)
  • access: protected
void _autoCommitNotify ( $state)
  • $state

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

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

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

Redefinition of:
jDbConnection::_doExec()
do a query which return nothing
_doLimitQuery (line 115)
  • 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 93)
  • access: protected
void _doQuery ( $queryString)
  • $queryString

Redefinition of:
jDbConnection::_doQuery()
do a query which return results
_quote (line 148)
  • todo: support of binary strings
  • access: protected
void _quote ( $text,  $binary)
  • $text
  • $binary

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

Inherited Methods

Inherited From jDbConnection

jDbConnection::__construct()
jDbConnection::beginTransaction()
jDbConnection::commit()
jDbConnection::encloseFieldName()
jDbConnection::encloseName()
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::quote2()
jDbConnection::rollback()
jDbConnection::schema()
jDbConnection::setAttribute()
jDbConnection::setAutoCommit()
jDbConnection::tools()
jDbConnection::_autoCommitNotify()
jDbConnection::_connect()
jDbConnection::_disconnect()
jDbConnection::_doExec()
jDbConnection::_doLimitQuery()
jDbConnection::_doQuery()
jDbConnection::_quote()
jDbConnection::__destruct()
Class Constants

Documentation generated on Mon, 19 Sep 2011 14:11:46 +0200 by phpDocumentor 1.4.3