From f197380855452e3f816128f583d7c9efa579980a Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 27 Jun 2024 14:32:33 +0000 Subject: [PATCH] TASK: Update references [skip ci] --- .../References/CommandReference.rst | 2 +- .../References/ViewHelpers/FluidAdaptor.rst | 2 +- .../References/ViewHelpers/Form.rst | 2 +- .../References/ViewHelpers/Media.rst | 2 +- .../References/ViewHelpers/Neos.rst | 2 +- .../References/ViewHelpers/TYPO3Fluid.rst | 52 ++++++++++++++++++- 6 files changed, 56 insertions(+), 6 deletions(-) diff --git a/Neos.Neos/Documentation/References/CommandReference.rst b/Neos.Neos/Documentation/References/CommandReference.rst index 976466fd9ec..24872658d28 100644 --- a/Neos.Neos/Documentation/References/CommandReference.rst +++ b/Neos.Neos/Documentation/References/CommandReference.rst @@ -19,7 +19,7 @@ commands that may be available, use:: ./flow help -The following reference was automatically generated from code on 2024-06-23 +The following reference was automatically generated from code on 2024-06-27 .. _`Neos Command Reference: NEOS.FLOW`: diff --git a/Neos.Neos/Documentation/References/ViewHelpers/FluidAdaptor.rst b/Neos.Neos/Documentation/References/ViewHelpers/FluidAdaptor.rst index e043b0e465e..a818502a09e 100644 --- a/Neos.Neos/Documentation/References/ViewHelpers/FluidAdaptor.rst +++ b/Neos.Neos/Documentation/References/ViewHelpers/FluidAdaptor.rst @@ -3,7 +3,7 @@ FluidAdaptor ViewHelper Reference ################################# -This reference was automatically generated from code on 2024-06-23 +This reference was automatically generated from code on 2024-06-27 .. _`FluidAdaptor ViewHelper Reference: f:debug`: diff --git a/Neos.Neos/Documentation/References/ViewHelpers/Form.rst b/Neos.Neos/Documentation/References/ViewHelpers/Form.rst index 70faf013625..88f27d204b2 100644 --- a/Neos.Neos/Documentation/References/ViewHelpers/Form.rst +++ b/Neos.Neos/Documentation/References/ViewHelpers/Form.rst @@ -3,7 +3,7 @@ Form ViewHelper Reference ######################### -This reference was automatically generated from code on 2024-06-23 +This reference was automatically generated from code on 2024-06-27 .. _`Form ViewHelper Reference: neos.form:form`: diff --git a/Neos.Neos/Documentation/References/ViewHelpers/Media.rst b/Neos.Neos/Documentation/References/ViewHelpers/Media.rst index 7c5d1a58cd9..4c3150f9369 100644 --- a/Neos.Neos/Documentation/References/ViewHelpers/Media.rst +++ b/Neos.Neos/Documentation/References/ViewHelpers/Media.rst @@ -3,7 +3,7 @@ Media ViewHelper Reference ########################## -This reference was automatically generated from code on 2024-06-23 +This reference was automatically generated from code on 2024-06-27 .. _`Media ViewHelper Reference: neos.media:fileTypeIcon`: diff --git a/Neos.Neos/Documentation/References/ViewHelpers/Neos.rst b/Neos.Neos/Documentation/References/ViewHelpers/Neos.rst index 35b13162e34..1b9da670580 100644 --- a/Neos.Neos/Documentation/References/ViewHelpers/Neos.rst +++ b/Neos.Neos/Documentation/References/ViewHelpers/Neos.rst @@ -3,7 +3,7 @@ Neos ViewHelper Reference ######################### -This reference was automatically generated from code on 2024-06-23 +This reference was automatically generated from code on 2024-06-27 .. _`Neos ViewHelper Reference: neos:backend.authenticationProviderLabel`: diff --git a/Neos.Neos/Documentation/References/ViewHelpers/TYPO3Fluid.rst b/Neos.Neos/Documentation/References/ViewHelpers/TYPO3Fluid.rst index dfb10e15c91..a4ad2bd9b93 100644 --- a/Neos.Neos/Documentation/References/ViewHelpers/TYPO3Fluid.rst +++ b/Neos.Neos/Documentation/References/ViewHelpers/TYPO3Fluid.rst @@ -3,7 +3,7 @@ TYPO3 Fluid ViewHelper Reference ################################ -This reference was automatically generated from code on 2024-06-23 +This reference was automatically generated from code on 2024-06-27 .. _`TYPO3 Fluid ViewHelper Reference: f:alias`: @@ -321,6 +321,56 @@ Will be nothing. +.. _`TYPO3 Fluid ViewHelper Reference: f:constant`: + +f:constant +---------- + +Wrapper for PHPs :php:`constant` function. +See https://www.php.net/manual/function.constant.php. + +Examples +======== + +Get built-in PHP constant +------------------------- + +:: + + {f:constant(value: 'PHP_INT_MAX')} + +Output:: + + 9223372036854775807 + (Depending on CPU architecture). + +Get class constant +------------------ + +:: + + {f:constant(value: '\Vendor\Package\Class::CONSTANT')} + +Get enum value +-------------- + +:: + + {f:constant(value: '\Vendor\Package\Enum::CASE')} + +:Implementation: TYPO3Fluid\\Fluid\\ViewHelpers\\ConstantViewHelper + + + + +Arguments +********* + +* ``name`` (string, *optional*): String representation of a PHP constant or enum + + + + .. _`TYPO3 Fluid ViewHelper Reference: f:count`: f:count