DB
[ class tree: DB ] [ index: DB ] [ all elements ]
Packages:
DB


Classes:
DB
DB_common
DB_dbase
DB_Error
DB_fbsql
DB_ibase
DB_ifx
DB_msql
DB_mssql
DB_mysql
DB_mysqli
DB_oci8
DB_odbc
DB_pgsql
DB_result
DB_row
DB_sqlite
DB_storage
DB_sybase
Files:
common.php
DB.php
dbase.php
fbsql.php
ibase.php
ifx.php
msql.php
mssql.php
mysql.php
mysqli.php
oci8.php
odbc.php
pgsql.php
sqlite.php
storage.php
sybase.php

Class: DB_Error

Source Location: /DB-1.9.2/DB.php

Class Overview

PEAR_Error
 |
 --DB_Error

DB_Error implements a class for reporting portable database error messages


Author(s):

Version:

  • Release: 1.9.2

Copyright:

  • 1997-2007 The PHP Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 947]
DB_Error implements a class for reporting portable database error messages


[ Top ]


Method Detail

__construct (Constructor) [line 962]

DB_Error __construct( [mixed $code = DB_ERROR], [int $mode = PEAR_ERROR_RETURN], [int $level = E_USER_NOTICE], [mixed $debuginfo = null])

DB_Error constructor
  • See: PEAR_Error

Parameters:

mixed $code — DB error code, or string with error message
int $mode — what "error mode" to operate in
int $level — what error level to use for $mode & PEAR_ERROR_TRIGGER
mixed $debuginfo — additional debug info, such as the last query

[ Top ]

__call [line 979]

void __call( $method, $arguments)

Workaround to both avoid the "Redefining already defined constructor"

PHP error and provide backward compatibility in case someone is calling DB_Error() dynamically

  • Access: public

Parameters:

$method
$arguments

[ Top ]


Documentation generated on 2019年3月11日 16:04:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /