[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/addon/creole/database/ -> sfCreoleDatabase.class.php (sommaire)

(pas de description)

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

Définit 1 class

sfCreoleDatabase:: (2 méthodes):
  connect()
  shutdown()


Classe: sfCreoleDatabase  - X-Ref

sfCreoleDatabase provides connectivity for the Creole database abstraction
layer.

<b>Optional parameters:</b>

# <b>classpath</b>      - [none]   - An absolute filesystem path to the main
Creole class file.
# <b>database</b>       - [none]   - The database name.
# <b>dsn</b>            - [none]   - The DSN formatted connection string.
# <b>host</b>           - [none]   - The database host specifications.
# <b>port</b>           - [none]   - The database port.
# <b>encoding</b>       - [none]   - The database encoding.
# <b>method</b>         - [normal] - How to read connection parameters.
Possible values are dsn, normal,
server, and env. The dsn method reads
them from the dsn parameter. The
normal method reads them from the
specified values. server reads them
from $_SERVER where the keys to
retrieve the values are what you
specify the value as in the settings.
env reads them from $_ENV and works
like $_SERVER.
# <b>no_assoc_lower</b> - [Off]    - Turn off portabilty of resultset
field names.
# <b>password</b>       - [none]   - The database password.
# <b>persistent</b>     - [No]     - Indicates that the connection should
persistent.
# <b>phptype</b>        - [none]   - The type of database (mysql, pgsql,
etc).
# <b>username</b>       - [none]   - The database username.

connect()   X-Ref
Connect to the database.


shutdown()   X-Ref
Pas de description



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