[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/database/ -> sfPostgreSQLDatabase.class.php (sommaire)

(pas de description)

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

Définit 1 class

sfPostgreSQLDatabase:: (3 méthodes):
  connect()
  loadParameters()
  shutdown()


Classe: sfPostgreSQLDatabase  - X-Ref

sfPostgreSQLDatabase provides connectivity for the PostgreSQL brand database.

<b>Optional parameters:</b>

# <b>database</b>   - [none]      - The database name.
# <b>host</b>       - [localhost] - The database host.
# <b>method</b>     - [normal]    - How to read connection parameters.
Possible values are normal, server, and
env. 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>password</b>   - [none]      - The database password.
# <b>persistent</b> - [No]        - Indicates that the connection should be
persistent.
# <b>port</b>       - [none]      - TCP/IP port on which PostgreSQL is
listening.
# <b>username</b>       - [none]  - The database username.

connect()   X-Ref
Connects to the database.


loadParameters(&$array)   X-Ref
Loads connection parameters from an existing array.

return: string A connection string

shutdown()   X-Ref
Executes the shutdown procedure.




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