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.