[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/creole/drivers/mysql/ -> MySQLConnection.php (sommaire)

(pas de description)

Poids: 290 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

MySQLConnection:: (14 méthodes):
  connect()
  getDatabaseInfo()
  getIdGenerator()
  prepareStatement()
  prepareCall()
  createStatement()
  close()
  applyLimit()
  executeQuery()
  executeUpdate()
  beginTrans()
  commitTrans()
  rollbackTrans()
  getUpdateCount()


Classe: MySQLConnection  - X-Ref

MySQL implementation of Connection.

connect($dsninfo, $flags = 0)   X-Ref
Connect to a database and log in as the specified user.

param: $dsn the data source name (see DB::parseDSN for syntax)
param: $flags Any conneciton flags.
return: void

getDatabaseInfo()   X-Ref


getIdGenerator()   X-Ref


prepareStatement($sql)   X-Ref


prepareCall($sql)   X-Ref


createStatement()   X-Ref


close()   X-Ref


applyLimit(&$sql, $offset, $limit)   X-Ref


executeQuery($sql, $fetchmode = null)   X-Ref


executeUpdate($sql)   X-Ref


beginTrans()   X-Ref
Start a database transaction.

return: void

commitTrans()   X-Ref
Commit the current transaction.

return: void

rollbackTrans()   X-Ref
Roll back (undo) the current transaction.

return: void

getUpdateCount()   X-Ref
Gets the number of rows affected by the data manipulation
query.

return: int Number of rows affected by the last query.



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7