From: Marcus Boerger Date: Mon, 27 Sep 2004 09:11:40 +0000 (+0000) Subject: Fix Reflection_Class to ReflectionClass in docu/messages X-Git-Tag: PRE_NEW_VM_GEN_PATCH~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9291a7fa98c3ceab5aef75b7e6f99da7efca8581;p=php Fix Reflection_Class to ReflectionClass in docu/messages --- diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index d86ed75492..0e72bac6fa 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -2685,7 +2685,7 @@ ZEND_METHOD(reflection_class, getParentClass) } /* }}} */ -/* {{{ proto public bool ReflectionClass::isSubclassOf(string|reflection_class class) +/* {{{ proto public bool ReflectionClass::isSubclassOf(string|ReflectionClass class) Returns whether this class is a subclass of another class */ ZEND_METHOD(reflection_class, isSubclassOf) { @@ -2722,7 +2722,7 @@ ZEND_METHOD(reflection_class, isSubclassOf) /* no break */ default: zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, - "Parameter one must either be a string or a Reflection_Class object"); + "Parameter one must either be a string or a ReflectionClass object"); return; } @@ -2731,7 +2731,7 @@ ZEND_METHOD(reflection_class, isSubclassOf) } /* }}} */ -/* {{{ proto public bool ReflectionClass::implementsInterface(string|reflection_class interface_name) +/* {{{ proto public bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name) Returns whether this class is a subclass of another class */ ZEND_METHOD(reflection_class, implementsInterface) { @@ -2768,7 +2768,7 @@ ZEND_METHOD(reflection_class, implementsInterface) /* no break */ default: zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, - "Parameter one must either be a string or a Reflection_Class object"); + "Parameter one must either be a string or a ReflectionClass object"); return; } @@ -2795,7 +2795,7 @@ ZEND_METHOD(reflection_class, isIterateable) } /* }}} */ -/* {{{ proto public ReflectionExtension|NULL Reflection_Class::getExtension() +/* {{{ proto public ReflectionExtension|NULL ReflectionClass::getExtension() Returns NULL or the extension the class belongs to */ ZEND_METHOD(reflection_class, getExtension) { @@ -3347,7 +3347,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg /* }}} */ /* {{{ proto public ReflectionClass[] ReflectionExtension::getClasses() - Returns an array containing Reflection_Class objects for all classes of this extension */ + Returns an array containing ReflectionClass objects for all classes of this extension */ ZEND_METHOD(reflection_extension, getClasses) { reflection_object *intern; diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index d86ed75492..0e72bac6fa 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -2685,7 +2685,7 @@ ZEND_METHOD(reflection_class, getParentClass) } /* }}} */ -/* {{{ proto public bool ReflectionClass::isSubclassOf(string|reflection_class class) +/* {{{ proto public bool ReflectionClass::isSubclassOf(string|ReflectionClass class) Returns whether this class is a subclass of another class */ ZEND_METHOD(reflection_class, isSubclassOf) { @@ -2722,7 +2722,7 @@ ZEND_METHOD(reflection_class, isSubclassOf) /* no break */ default: zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, - "Parameter one must either be a string or a Reflection_Class object"); + "Parameter one must either be a string or a ReflectionClass object"); return; } @@ -2731,7 +2731,7 @@ ZEND_METHOD(reflection_class, isSubclassOf) } /* }}} */ -/* {{{ proto public bool ReflectionClass::implementsInterface(string|reflection_class interface_name) +/* {{{ proto public bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name) Returns whether this class is a subclass of another class */ ZEND_METHOD(reflection_class, implementsInterface) { @@ -2768,7 +2768,7 @@ ZEND_METHOD(reflection_class, implementsInterface) /* no break */ default: zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, - "Parameter one must either be a string or a Reflection_Class object"); + "Parameter one must either be a string or a ReflectionClass object"); return; } @@ -2795,7 +2795,7 @@ ZEND_METHOD(reflection_class, isIterateable) } /* }}} */ -/* {{{ proto public ReflectionExtension|NULL Reflection_Class::getExtension() +/* {{{ proto public ReflectionExtension|NULL ReflectionClass::getExtension() Returns NULL or the extension the class belongs to */ ZEND_METHOD(reflection_class, getExtension) { @@ -3347,7 +3347,7 @@ static int add_extension_class(zend_class_entry **pce, int num_args, va_list arg /* }}} */ /* {{{ proto public ReflectionClass[] ReflectionExtension::getClasses() - Returns an array containing Reflection_Class objects for all classes of this extension */ + Returns an array containing ReflectionClass objects for all classes of this extension */ ZEND_METHOD(reflection_extension, getClasses) { reflection_object *intern;