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() – sprawdza istnienie obiektu PEAR_Error

Synopsis

require_once 'PEAR.php';

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

Description

isError() sprawdza czy zmienna jest obiektem PEAR_Error oraz - opcjonalnie - czy zawiera określoną wiadomość lub kod błędu.

Parameter

mixed $data

zmienna do sprawdzenia

mixed $msgcode

wiadomość lub kod błędu do sprawdzenia

Return value

mixed - zwraca TRUE, jeżeli zmienna jest obiektem PEAR_Error oraz, jeżeli podano, zawiera $msgcode

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.