Skip to content

Commit b011659

Browse files
authored
Remove the section for the TLO “temp.” as no unset() is executed anymore (#1425)
1 parent 3257818 commit b011659

File tree

2 files changed

+1
-43
lines changed

2 files changed

+1
-43
lines changed

Documentation/TopLevelObjects/Index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ page | ... :ref:`PAGE <page-datatype>`
2727
config :ref:`CONFIG <config-datatype>`
2828
:ref:`plugin`
2929
:ref:`tlo-module`
30-
:ref:`temp <tlo-temp>`
3130
:ref:`styles <tlo-styles>`
3231
:ref:`lib <tlo-lib>`
3332
:ref:`tt_* <tlo-tt>`

Documentation/TopLevelObjects/Other.rst

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,6 @@ Reserved top-level objects
88
.. contents:: List of the reserved top-level objects
99
:depth: 1
1010

11-
.. index:: Top-level objects; temp
12-
13-
.. _top-level-objects-temp:
14-
.. _tlo-temp:
15-
16-
temp
17-
====
18-
19-
.. confval:: temp
20-
:name: tlo-temp
21-
22-
This top-level object name is reserved.
23-
24-
The top-level object :typoscript:`temp` is used to store and copy
25-
TypoScript code during parse time.
26-
27-
:typoscript:`temp` is unset before the template is cached, objects in it
28-
can therefore not be referenced. Use :confval:`tlo-lib` for that purpose.
29-
30-
Example: Use the top-level object `temp` to copy code
31-
-----------------------------------------------------
32-
33-
.. code-block:: typoscript
34-
:caption: EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript
35-
36-
temp.some_content = TEXT
37-
temp.some_content.value = Hello World!
38-
39-
// Output
40-
// <h1>Hello World!</h1><p>Hello World!</p>
41-
page = PAGE
42-
page {
43-
10 < temp.some_content
44-
10.wrap = <h1>|</h1>
45-
46-
20 < temp.some_content
47-
20.wrap = <p>|</p>
48-
}
49-
5011
.. index:: Top-level objects; lib
5112

5213
.. _top-level-objects-lib:
@@ -64,10 +25,8 @@ lib
6425
TypoScript code.
6526

6627
This top-level object is available after the template is cached,
67-
objects in it can therefore be referenced by using the
28+
objects in it can therefore be referenced and copied by using the
6829
:ref:`reference operator <typoscript-syntax-syntax-object-referencing>` :typoscript:`=<`.
69-
Just like with a :confval:`tlo-temp` object copying is
70-
also possible.
7130

7231
.. code-block:: typoscript
7332
:caption: EXT:my_sitepackage/Configuration/TypoScript/setup.typoscript

0 commit comments

Comments
 (0)