From fb0e3fe0880d06cd67d108964f31c393c058a18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 22 Oct 2024 14:40:02 +0200 Subject: [PATCH 1/2] Document `ReflectionClassConstant::isDeprecated()` --- .../reflectionclassconstant/isdeprecated.xml | 94 +++++++++++++++++++ reference/reflection/versions.xml | 1 + 2 files changed, 95 insertions(+) create mode 100644 reference/reflection/reflectionclassconstant/isdeprecated.xml diff --git a/reference/reflection/reflectionclassconstant/isdeprecated.xml b/reference/reflection/reflectionclassconstant/isdeprecated.xml new file mode 100644 index 000000000000..264e6fb2207d --- /dev/null +++ b/reference/reflection/reflectionclassconstant/isdeprecated.xml @@ -0,0 +1,94 @@ + + + + + ReflectionClassConstant::isDeprecated + Checks if deprecated + + + + &reftitle.description; + + public boolReflectionClassConstant::isDeprecated + + + + Checks whether the class constant is deprecated. + + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + &true; if it's deprecated, otherwise &false; + + + + + &reftitle.examples; + + + + <methodname>ReflectionClassConstant::isDeprecated</methodname> example + + +isDeprecated()); +?> +]]> + + &example.outputs; + + + + + + + + + &reftitle.seealso; + + + Deprecated + ReflectionClassConstant::getDocComment + + + + + + diff --git a/reference/reflection/versions.xml b/reference/reflection/versions.xml index c9306527d28e..ad96fa88cc28 100644 --- a/reference/reflection/versions.xml +++ b/reference/reflection/versions.xml @@ -268,6 +268,7 @@ + From b605b13060eaf3c23a1b9dfbeec388178f2898d0 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Tue, 12 Nov 2024 14:24:50 +0000 Subject: [PATCH 2/2] Review --- .../reflectionclassconstant/isdeprecated.xml | 40 +++++++++---------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/reference/reflection/reflectionclassconstant/isdeprecated.xml b/reference/reflection/reflectionclassconstant/isdeprecated.xml index 264e6fb2207d..0fa5d36cb186 100644 --- a/reference/reflection/reflectionclassconstant/isdeprecated.xml +++ b/reference/reflection/reflectionclassconstant/isdeprecated.xml @@ -12,9 +12,9 @@ public boolReflectionClassConstant::isDeprecated - + Checks whether the class constant is deprecated. - + @@ -25,19 +25,18 @@ &reftitle.returnvalues; - + &true; if it's deprecated, otherwise &false; - + &reftitle.examples; - - - - <methodname>ReflectionClassConstant::isDeprecated</methodname> example - - + + + <methodname>ReflectionClassConstant::isDeprecated</methodname> example + + isDeprecated()); ?> ]]> - - &example.outputs; - + + &example.outputs; + - - - + + &reftitle.seealso; - - - Deprecated - ReflectionClassConstant::getDocComment - - + + Deprecated + ReflectionClassConstant::getDocComment +