|
1 | 1 | {
|
2 | 2 | "namespace": "http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers",
|
3 | 3 | "viewHelpers": {
|
| 4 | + |
4 | 5 | "split": {
|
5 | 6 | "className": "TYPO3Fluid\\Fluid\\ViewHelpers\\SplitViewHelper",
|
6 | 7 | "namespace": "TYPO3Fluid\\Fluid\\ViewHelpers",
|
7 | 8 | "name": "SplitViewHelper",
|
8 | 9 | "tagName": "split",
|
9 |
| - "documentation": "The SplitViewHelper splits a string by the specified separator, which\nresults in an array. The number of values in the resulting array can\nbe limited with the limit parameter, which results in an array where\nthe last item contains the remaining unsplit string.\nThis ViewHelper mimicks PHP's :php:`explode()` function.\n\nExamples\n========\n\nSplit with a separator\n-----------------------\n\n::\n\n <f:split value=\"1,5,8\" separator=\",\" />\n.. code-block:: text\n {0: '1', 1: '5', 2: '8'}\n\nSplit using tag content as value\n--------------------------------\n\n::\n\n <f:split separator=\"-\">1-5-8</f:split>\n.. code-block:: text\n {0: '1', 1: '5', 2: '8'}\n\nSplit with a limit\n-------------------\n\n::\n\n <f:split value=\"1,5,8\" separator=\",\" limit=\"2\" />\n.. code-block:: text\n {0: '1', 1: '5,8'}", |
10 |
| - "xmlNamespace": "http://typo3.org/ns/TYPO3Fluid/Fluid/ViewHelpers", |
11 |
| - "docTags": {}, |
| 10 | + "documentation": "The SplitViewHelper splits a string by the specified separator, which\nresults in an array. The number of values in the resulting array can\nbe limited with the limit parameter, which results in an array where\nthe last item contains the remaining unsplit string.\n\nThis ViewHelper mimicks PHP's :php:`explode()` function.\n\nThe following examples store the result in a variable because an array cannot\nbe outputted directly in a template.\n\nExamples\n========\n\nSplit with a separator\n-----------------------\n::\n\n <f:variable name=\"result\"><f:split value=\"1,5,8\" separator=\",\" \/><\/f:variable>\n\n.. code-block:: text\n\n {0: '1', 1: '5', 2: '8'}\n\n\nSplit using tag content as value\n--------------------------------\n\n::\n\n <f:variable name=\"result\"><f:split separator=\"-\">1-5-8<\/f:split><\/f:variable>\n\n.. code-block:: text\n\n {0: '1', 1: '5', 2: '8'}\n\n\nSplit with a limit\n-------------------\n\n::\n\n <f:variable name=\"result\"><f:split value=\"1,5,8\" separator=\",\" limit=\"2\" \/><\/f:variable>\n\n.. code-block:: text\n\n {0: '1', 1: '5,8'}", |
| 11 | + "xmlNamespace": "http:\/\/typo3.org\/ns\/TYPO3Fluid\/Fluid\/ViewHelpers", |
| 12 | + "docTags": [], |
12 | 13 | "argumentDefinitions": {
|
13 | 14 | "value": {
|
14 | 15 | "name": "value",
|
15 | 16 | "type": "string",
|
16 | 17 | "description": "The string to explode",
|
17 | 18 | "required": false,
|
18 |
| - "defaultValue": "", |
| 19 | + "defaultValue": null, |
19 | 20 | "escape": null
|
20 | 21 | },
|
21 | 22 | "separator": {
|
22 | 23 | "name": "separator",
|
23 | 24 | "type": "string",
|
24 | 25 | "description": "Separator string to explode with",
|
25 | 26 | "required": true,
|
| 27 | + "defaultValue": null, |
26 | 28 | "escape": null
|
27 | 29 | },
|
28 | 30 | "limit": {
|
29 | 31 | "name": "limit",
|
30 | 32 | "type": "int",
|
31 | 33 | "description": "If limit is positive, a maximum of $limit items will be returned. If limit is negative, all items except for the last $limit items will be returned. 0 will be treated as 1.",
|
32 | 34 | "required": false,
|
33 |
| - "defaultValue": 0, |
| 35 | + "defaultValue": 9223372036854775807, |
34 | 36 | "escape": null
|
35 | 37 | }
|
36 | 38 | },
|
37 |
| - "allowsArbitraryArguments": false |
| 39 | + "allowsArbitraryArguments": false, |
| 40 | + "nameWithoutSuffix": "Split", |
| 41 | + "namespaceWithoutSuffix": "TYPO3Fluid\\Fluid", |
| 42 | + "uri": "Global\/Split" |
38 | 43 | },
|
39 |
| - "link.external":{ |
| 44 | + "link.external": { |
40 | 45 | "className": "TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\ExternalViewHelper",
|
41 | 46 | "namespace": "TYPO3\\CMS\\Fluid\\ViewHelpers",
|
42 | 47 | "name": "Link\\ExternalViewHelper",
|
43 | 48 | "tagName": "link.external",
|
44 |
| - "documentation": "A ViewHelper for creating links to external targets.\n\nExamples\n========\n\nDefault\n-------\n::\n\n <f:link.external uri=\"https://www.typo3.org\" target=\"_blank\">external link</f:link.external>\n\nOutput::\n\n <a href=\"https://www.typo3.org\" target=\"_blank\">external link</a>\n\nCustom default scheme\n---------------------\n\n::\n\n <f:link.external uri=\"typo3.org\" defaultScheme=\"ftp\">external ftp link</f:link.external>\n\nOutput::\n\n <a href=\"ftp://typo3.org\">external ftp link</a>", |
45 |
| - "xmlNamespace": "http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers", |
46 |
| - "docTags": {}, |
| 49 | + "documentation": "ViewHelper for creating links to external targets.\n\n```\n <f:link.external uri=\"https:\/\/www.typo3.org\" target=\"_blank\">external link<\/f:link.external>\n```", |
| 50 | + "xmlNamespace": "http:\/\/typo3.org\/ns\/TYPO3\/CMS\/Fluid\/ViewHelpers", |
| 51 | + "docTags": { |
| 52 | + "@see": "https:\/\/docs.typo3.org\/permalink\/t3viewhelper:typo3-fluid-link-external" |
| 53 | + }, |
47 | 54 | "argumentDefinitions": {
|
| 55 | + "additionalAttributes": { |
| 56 | + "name": "additionalAttributes", |
| 57 | + "type": "array", |
| 58 | + "description": "Additional tag attributes. They will be added directly to the resulting HTML tag.", |
| 59 | + "required": false, |
| 60 | + "defaultValue": null, |
| 61 | + "escape": null |
| 62 | + }, |
| 63 | + "data": { |
| 64 | + "name": "data", |
| 65 | + "type": "array", |
| 66 | + "description": "Additional data-* attributes. They will each be added with a \"data-\" prefix.", |
| 67 | + "required": false, |
| 68 | + "defaultValue": null, |
| 69 | + "escape": null |
| 70 | + }, |
| 71 | + "aria": { |
| 72 | + "name": "aria", |
| 73 | + "type": "array", |
| 74 | + "description": "Additional aria-* attributes. They will each be added with a \"aria-\" prefix.", |
| 75 | + "required": false, |
| 76 | + "defaultValue": null, |
| 77 | + "escape": null |
| 78 | + }, |
48 | 79 | "uri": {
|
49 | 80 | "name": "uri",
|
50 | 81 | "type": "string",
|
51 | 82 | "description": "The URI that will be put in the href attribute of the rendered link tag",
|
52 | 83 | "required": true,
|
53 | 84 | "defaultValue": null,
|
54 | 85 | "escape": null
|
| 86 | + }, |
| 87 | + "defaultScheme": { |
| 88 | + "name": "defaultScheme", |
| 89 | + "type": "string", |
| 90 | + "description": "Scheme the href attribute will be prefixed with if specified $uri does not contain a scheme already", |
| 91 | + "required": false, |
| 92 | + "defaultValue": "https", |
| 93 | + "escape": null |
55 | 94 | }
|
56 | 95 | },
|
57 |
| - "allowsArbitraryArguments": true |
| 96 | + "allowsArbitraryArguments": true, |
| 97 | + "nameWithoutSuffix": "Link\\External", |
| 98 | + "namespaceWithoutSuffix": "TYPO3\\CMS\\Fluid", |
| 99 | + "uri": "Global\/Link\/External" |
58 | 100 | },
|
59 | 101 | "deprecated":{
|
60 | 102 | "className": "TYPO3\\CMS\\Fluid\\ViewHelpers\\DeprecatedViewHelper",
|
|
0 commit comments