MDB::isError()
MDB::isError() – checks for an error
Synopsis
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.
Parameter
-
mixed
$value
-
Variable to check
Return value
boolean
- TRUE, if
$value
is a MDB_Error object
Замечание
This function should be called statically.