Class sqliteDbConnection

Description

Located in /plugins/db/sqlite/sqlite.dbconnection.php (line 17)

jDbConnection
   |
   --sqliteDbConnection
Method Summary
sqliteDbConnection __construct ( $profil)
void commit ()
void errorCode ()
void errorInfo ()
void lastInsertId ([ $fromSequence = ''])
void prepare ( $query)
void rollback ()
void _autoCommitNotify (boolean $state)
void _connect ()
void _disconnect ()
void _doExec ( $query)
void _doLimitQuery ( $queryString,  $offset,  $number)
void _doQuery ( $query)
void _quote ( $text)
Variables
Methods
Constructor __construct (line 19)
sqliteDbConnection __construct ( $profil)
  • $profil

Redefinition of:
jDbConnection::__construct()
do a connection to the database, using properties of the given profil
beginTransaction (line 29)

begin a transaction

  • access: public
void beginTransaction ()

Redefinition of:
jDbConnection::beginTransaction()
begin a transaction. Call it after doQuery, doLimitQuery, doExec,
commit (line 36)

Commit since the last begin

  • access: public
void commit ()

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

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

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

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

Redefinition of:
jDbConnection::prepare()
prepare a query
rollback (line 43)

Rollback since the last BEGIN

  • access: public
void rollback ()

Redefinition of:
jDbConnection::rollback()
cancel all queries of a transaction and close the transaction
_autoCommitNotify (line 106)

tell mysql to be autocommit or not

  • access: protected
void _autoCommitNotify (boolean $state)
  • boolean $state: state the state of the autocommit value

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

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

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

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

Redefinition of:
jDbConnection::_doQuery()
do a query which return results
_quote (line 114)

renvoi une chaine avec les caractères spéciaux échappés

  • 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:30 +0200 by phpDocumentor 1.4.3