MDB::isError()

MDB::isError() -- checks for an error

概要

require_once 'MDB.php';

boolean MDB::isError (mixed $value)

説明

Checks whether a result code from a MDB method is a MDB_Error object or not.

パラメータ

mixed $value

Variable to check

返り値

boolean - TRUE, if $value is a MDB_Error object

注意

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