previousPEAR::registerShutdownFunc() (Previous) (Next) PEAR::raiseError()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR::isError()

PEAR::isError() – megvizsgálja, hogy az átadott paraméter PEAR_Error objektum-e

Synopsis

require_once 'PEAR.php';

boolean PEAR::isError ( mixed $data , mixed $msgcode )

Description

Az isError() függvény megvizsgálja, hogy az átadott paraméter PEAR_Error objektum-e, és tartalmazza-e (opcionális) a megadott hibaüzenetet vagy kódot

Parameter

mixed $data

a vizsgálandó változó

mixed $msgcode

keresendő hibaüzenet, vagy hibakód

Return value

mixed - visszatérési értéke TRUE, ha a változó egy PEAR_Error objektumot, az $msgcode a hibakódot tartalmazza (amennyiben ilyen hibakód meg van adva).

previousPEAR::registerShutdownFunc() (Previous) (Next) PEAR::raiseError()next

Download Documentation Last updated: Sun, 18 Oct 2009
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.