From 7276e351978b2c9c5724cc61792bbbde64d23255 Mon Sep 17 00:00:00 2001 From: Aidan Lister Date: Sat, 25 Sep 2004 09:06:35 +0000 Subject: [PATCH] Added simple example Cleaned initial example Added links to autoload git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169150 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/classobj/functions/class-exists.xml | 68 ++++++++++++------- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/reference/classobj/functions/class-exists.xml b/reference/classobj/functions/class-exists.xml index df29fd6f1c..c00359663a 100644 --- a/reference/classobj/functions/class-exists.xml +++ b/reference/classobj/functions/class-exists.xml @@ -1,5 +1,5 @@ - + @@ -8,26 +8,37 @@ Description - - boolclass_exists - stringclass_name - boolautoload - - - - The autoload parameter was added in PHP 5 - - + + boolclass_exists + stringclass_name + boolautoload + This function returns &true; if the class given by class_name has been defined, &false; otherwise. - class_exists will attempt to call __autoload by - default, if you don't want class_exists to - call __autoload(), you can set the parameter autoload - to &false;. + + <function>class_exists</function> example + + +]]> + + + + + class_exists will attempt to call &link.autoload; by + default, if you don't want class_exists to + call &link.autoload;, you can set the parameter autoload + to &false;. @@ -35,26 +46,33 @@ ]]> + + + The autoload parameter was added in PHP 5 + + - See also get_declared_classes. + See also interface_exists, and + get_declared_classes.