DB (Previous) (Next) DB::isError()

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB::connect()

DB::connect() -- データベースに接続する

説明

新しい DB 接続オブジェクトを作成し、指定したデータベースに接続します。

パラメータ

string あるいは array $dsn

データソース名。文字列形式については DSN の節、 配列形式については "導入 - 接続" の節で説明されています。

array $options

オプションの引数に、このパッケージのための実行時設定項目を 含めることができます。指定可能な項目の詳細は、 setOption() を参照ください。

返り値

object - 新しい DB オブジェクト、 あるいは失敗時には DB_Error オブジェクトを返します。

注意

この関数は、スタティックにコール されます。

DB (Previous) (Next) DB::isError()

Download Documentation Last updated: Sun, 29 Jun 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.